gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNUmakefile and a strange case


From: José Pablo Fernández
Subject: GNUmakefile and a strange case
Date: Mon, 18 Dec 2006 19:49:51 -0300
User-agent: KMail/1.9.5

Hello,
I have a strange situation here, it used to be a C library compiled with 
SCons, but now I am using ObjC and GNUstep and I was recommended to use 
GNUmakefiles because of the added goodies.
Now, I need to create a library, the library should be called account.so 
(note, not libaccount.so, account.so) and it should be installed 
on /usr/lib/account/modules/ not on /whatever/Library/whatever. How can I do 
this ?
Now, this library is dlopened, when I compile it with SCons it is loaded 
succesfully, when I compile it with GNUmakefile (and copy the file by hand 
renaming it in the process) I get this error:

Error loading module 'account.so': /usr/lib/asterisk/modules/account.so: 
undefined symbol: __objc_class_name_NSString

Evidently there's something different in how it was linked with the gnustep 
libraries.

And as a last detail, I get this warnings, what do they mean:

User.m:108: warning: ‘_OBJC_INSTANCE_0’ defined but not used
User.m:185: warning: ‘_OBJC_INSTANCE_1’ defined but not used
User.m:194: warning: ‘_OBJC_INSTANCE_2’ defined but not used

?

Any help in any of these problems is appreciated.

Thank you.
-- 
José Pablo Fernández
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]