[Coldstuff] Running Cold under MacOS X

Peter Bengtson peter.bengtson@musikelit.nu
Wed, 12 Sep 2001 02:28:17 +0200


Thanks, Jon, your comments helped: config.guess and config.sub were
needed for the configure script to identify the system properly, and it
was necessary to add the -traditional-cpp cc flag. Everything compiles
nicely. However the make still terminates with:

> /usr/bin/ld: multiple definitions of symbol _task_info
> execute.o definition of _task_info in section (__TEXT,__text)
> /usr/lib/libm.dylib(taskUser.o) definition of _task_info
> /usr/bin/ld: multiple definitions of symbol _task_resume
> execute.o definition of _task_resume in section (__TEXT,__text)
> /usr/lib/libm.dylib(taskUser.o) definition of _task_resume
> /usr/bin/ld: multiple definitions of symbol _task_suspend
> execute.o definition of _task_suspend in section (__TEXT,__text)
> /usr/lib/libm.dylib(taskUser.o) definition of _task_suspend
> make[1]: *** [coldcc] Error 1
> make: *** [install] Error 2

Any ideas what to do?

	/ Peter Bengtson



Jon Callas wrote:
> 
> I haven't built it under OSX, but here are some hints:
> 
> In /usr/libexec/ there are two config files -- config.guess and config.sub.
> Copy them to your main build directory, replacing the ones that are there.
> These will make ./configure work better, and may make all your problems go
> away.
> 
> You can also try putting in the option to cc of -traditional-cpp and that
> may work.
> 
> If you are having more problems, get
> <http://mirror.tenon.com/XtoolsManual.pdf>. This is the manual for Tenon's
> Xtools, which is their X windows for OSX (which I highly recommend, by the
> bye). Chapter 7 in it is about porting unix applications to OSX and has the
> previous suggestions I gave, along with a lot more and instructions on how
> to get shared libraries working, and on and on and on.
> 
>         Jon
> _______________________________________________
> Cold-Coldstuff mailing list
> Cold-Coldstuff@cold.org
> http://web.cold.org/mailman/listinfo/cold-coldstuff