[semi OT] make and shared libraries

Andrea Riela <[email protected]>
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <[email protected]>
Hi folks,

I know, this forum doesn't support MacOS X, but I've a question about 
shared libraries, and I think someone expert in Unix could help me.

I've tried to compile hpoj-0.91 in my workstation with MacOs X 10.3.4. I 
receive an error:

cc: unrecognized option `-shared'
ld: unknown flag: -soname
make[1]: *** [libhpojip.so.0.1] Error 1
make: *** [just_compile] Error 2

 From Apple dev docs I've seen that "-shared: In GCC 2, generates shared 
liibraries. In GCC 3, this option is not supported, so you should use 
libtool (or use ld directly) instead. Shared libraries in Mac OS X may 
be different from those you are accustomed to on other platforms".

Could you help me?
Thanks for your support, and patience. All advices are welcome :)

Regards
Andrea


-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.