Re: [SIP-devel] build trouble, MacOS 10.3
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
From: Ricardo F. <rf...@if...> - 2004-02-17 23:38:34
|
On Mon, 16 Feb 2004, Scott Dexter wrote: > ld: Undefined symbols: > _com_ > _sci_gateway > _Scierror > _checklhs_ > _checkrhs_ > _createvarfromptr_ > (..) Hi, I can't see how to solve the problem for you, but here's some information: SIP generates a dynamic library called libsip.so, and this library has some undefined symbols ON PURPOSE, since these symbols are to be defined by Scilab when SIP is loaded into it. Your problem is very similar to what I find on Windows: I don't know how to build shared libraries with undefined symbols under MacOSX or Windows. This is, most certainly, a libtool issue. The flag '-no-undefined' is used to do exactly this: tell the system that *all* symbols will be defined at link time (that is, when scilab loads the library). My guess is that -no-undefined is not working under MacOSX for some reason I don't understand. My second guess is that libtool is working fine but I don't know enough about it. Unfortunately, I really don't have much experience/knowledge about shared libraries nor MacOSX to be able to help you further, but I am really interested in your problem. best, Ricardo. -- Ricardo Fabbri, Cybernetic Vision Research Group, USP, Brazil. WEB: cyvision.if.sc.usp.br/~rfabbri ICQ: 208974212 "With pain and suddeness is how Real Offsprings are born. But they must result from intense pleasure and a long period of development." |