[SIP-users] Fwd: Compiling SIP on Mac
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
From: Ricardo F. <rf...@gm...> - 2005-09-07 14:24:49
|
Hi, The following is some info on compiling SIP on Mac, it deals with your issu= es. Sorry for the long delay in replying, I took a 10 day vacation. ---------- Forwarded message ---------- From: Ricardo Fabbri <rf...@gm...> Date: Jul 4, 2005 6:53 PM Subject: Fwd: Compiling SIP on Mac To: sip...@li... Hi, all, Pierre Mathieu had managed to compile SIP under Macintosh. He said he had to change a linker flag in Makefile.am In the future we must automate this based on results of the configure script. -- Ricardo. ---------- Forwarded message ---------- From: Pierre Mathieu <ma...@i3...> Date: Jun 21, 2005 4:47 AM Subject: Re: Compiling SIP Le 1 juin 05, =E0 07:02, Ricardo Fabbri a =E9crit : > Hi Pierre, > > Did you use the configure script? > if affirmative, send me the file config.log > > > It could be, also, that your system deals differently than linux > regarding shared libraries containing undefined symbols. The SIP > library is made to load into scilab. So there are symbols that are > _not_ defined in SIP but which will be defined when you load the lib > into Scilab. These are exactly the symbols your linker is complaining > about. So what you need is a flag to let undefined symbols exist, > somehow. I don't know how to do this in MacOS. Maybe -no-undefined > flag, I'm not sure. > Thank you for your response. I didn't know the meaning of the "-no-undefined " modifier of the ld command in the Makefile.am . Although the compiler is gcc on the Mac, ld is not the same as on Linux. To let undefined symbols at the link time, the option is then "-undefined warning " which transforms errors in warnings. On 10.3 it can be used "-undefined dynamic_lookup ". In any case it is working very well now. I thank you again for your help and for you great work in SIP. best regards Pierre Mathieu --=20 Ricardo Fabbri PhD Student in Computer Engineering / Computer Vision LEMS - Laboratory for Engineering Man-Machine Systems Brown University, USA |