[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: linking problems on sparc-solaris2.7
From: |
Adam Fedor |
Subject: |
RE: linking problems on sparc-solaris2.7 |
Date: |
Wed, 16 May 2001 10:58:59 -0400 |
Well fake-main is required on Solaris, so that's not an option. My guess is
he linked with the gnustep-base library, but failed to
#include <Foundation/NSObject.h>
in the main file (which redefines main). So either include the above header
or if you don't need gnustep-base, don't link it in. The other option is to
use ./configure --enable-pass-arguments, then you're required to add this
line in main()
[NSProcessInfo initializeWithArguments: argv ...]
-----Original Message-----
From: Michael Scheibler [mailto:michael.scheibler@onevision.de]
Sent: Wednesday, May 16, 2001 10:04 AM
To: discuss-gnustep@gnu.org
Subject: linking problems on sparc-solaris2.7
What's this? Is this fake-main? Is it enough to run
./configure --disable-fake-main?
From: Reiner Knoebl
To: Michael Scheibler
Sent: Wednesday, May 16, 2001 3:43 PM
>
>When trying to link a simple ObjC program that have a main(...) I get the
following error message:
>
>--> linking binary OVSystem_Test
>Undefined first referenced
>symbol in file
>gnustep_base_user_main
/usr/GNUstep/Libraries/libgnustep-base_d.so
>ld: fatal: Symbol referencing errors. No output written >to
/usr/home/rknoebl/local/generated/solaris->sparc/_obj_debug/de/onevision/sys
/OVSystem_Test
>collect2: ld returned 1 exit status
_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://mail.gnu.org/mailman/listinfo/discuss-gnustep