[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange link error
From: |
Fredo |
Subject: |
Strange link error |
Date: |
Sun, 01 Apr 2001 23:47:57 +0200 |
Hello,
I get an unresolved symbol when building static, profiled GNUstep
libraries (Something I
don't with default options) (see below the make output)
The strange thing in this bug is that the GNUstep lib has the symbol
defined.
Is it a bug in ld?
Thanks, Frederic
[fcv@r51m96 GSDict-1.0.0]$ nm
/usr/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu-xgps/libgnustep-gui_ps.a
| grep __objc_class_name_NSBezierPath
000000ec R __objc_class_name_NSBezierPath
[fcv@r51m96 GSDict-1.0.0]$ gcc -rdynamic
-L/usr/GNUstep/System/Libraries/ix86/linux-gnu -pg -o
GSDict.profile/ix86/linux-gnu/gnu-gnu-gnu-xgps/GSDict
static_profile_obj/ix86/linux-gnu/gnu-gnu-gnu-xgps/MemoryPanel.o
static_profile_obj/ix86/linux-gnu/gnu-gnu-gnu-xgps/main.o
static_profile_obj/ix86/linux-gnu/gnu-gnu-gnu-xgps/Document.o
-L/home/fcv/GNUstep/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu-xgps
-L/home/fcv/GNUstep/Libraries/ix86/linux-gnu
-L/usr/GNUstep/Local/Libraries/ix86/linux-gnu/gnu-gnu-gnu-xgps
-L/usr/GNUstep/Network/Libraries/ix86/linux-gnu/gnu-gnu-gnu-xgps
-L/usr/GNUstep/Network/Libraries/ix86/linux- -L/usr/X11R6/lib
-L/home/fcv/GNUstep/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu-xgps
-L/home/fcv/GNUstep/Libraries/ix86/linux-gnu
-L/usr/GNUstep/Local/Libraries/ix86/linux-gnu/gnu-gnu-gnu-xgps
-L/usr/GNUstep/Network/Libraries/ix86/linux-gnu/gnu-gnu-gnu-xgps
-L/usr/GNUstep/Network/Libraries/ix86/linux-gnu
-L/usr/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu-xgps
-L/usr/GNUstep/System/Libraries/ix86/linux-gnu -lgnustep-gui_ps
-lgmodel_ps -lgnustep-xgps_ps -lgnustep-base_ps -lobjc_ps -lwraster
-ltiff -lXpm -lpng -lz -ljpeg -lungif -lXext -lX11 -lm -lcallback
-lavcall -lssl -lcrypto -lgmp -lpthread -ldl -lm
/usr/GNUstep/System/Libraries/ix86/linux-gnu/gnu-gnu-gnu-xgps/libgnustep-xgps_ps.a(XGGState.o)(.rodata+0x138):
undefined reference to `__objc_class_name_NSBezierPath'
- Strange link error,
Fredo <=