[Bug 50659] New: linker cannot find lslang library
Peter Wenig
wenigpr at iis.fhg.de
Wed Nov 13 15:45:06 UTC 2002
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=50659
Summary: linker cannot find lslang library
Product: kdevelop
Version: unspecified
Platform: SuSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-devel at barney.cs.uni-potsdam.de
ReportedBy: wenigpr at iis.fhg.de
Version: (using KDE KDE 3.0.4)
Installed from: SuSE RPMs
Compiler: g++ g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -Wall -fno-exceptions -fno-check-new -o programname -L/usr/X11R6/lib -L/usr/lib/qt3/lib some_o_files.o qt -lpthread -lSDL -lm -lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread -lXext -lX11 -lresolv
OS: Linux
my compiler call looks like the following:
g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -Wall -fno-exceptions -fno-check-new -o program_name -L/usr/X11R6/lib -L/usr/lib/qt3/lib some_o_files.o -lpthread -lSDL -lm -lqt-mt -lpng -lz -lm -lXext -lX11 -lresolv -lSM -lICE -lpthread -lXext -lX11 -lresolv
and results in the following error:
/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lslang
In Project->Options->Linker Options the "Additional Libs" line contents:
-lpthread -lSDL
So nowhere the lslang lib is requested.
!!!!When I copy/paste the above compiler call into a shell and press enter, the compiling is finished correctly without any errors!!!!
More information about the KDevelop-devel
mailing list