Bug 50661 - linker searches for "lslang" library
Summary: linker searches for "lslang" library
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
: 50659 50660 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-13 15:53 UTC by Peter Wenig
Modified: 2002-11-13 16:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Wenig 2002-11-13 15:53:20 UTC
Version:            (using KDE KDE 3.0.4)
Installed from:    SuSE RPMs
Compiler:          g++ 
OS:          Linux

my compiler call generated by KDevelop looks like:
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" field contents:
-lpthread -lSDL

so the lslang lib isn't required anywhere!


!!!!
when I copy/paste the above g++ comandline into a shell and execute it, the compiling is finished correctly without any errors and with no need for the "lslang" lib.
!!!!
Comment 1 Peter Wenig 2002-11-13 15:55:55 UTC
Kdevelop Version 2.1.3 
Comment 2 Simon Hausmann 2002-11-13 15:57:03 UTC
*** Bug 50660 has been marked as a duplicate of this bug. ***
Comment 3 Simon Hausmann 2002-11-13 15:58:09 UTC
*** Bug 50659 has been marked as a duplicate of this bug. ***
Comment 4 Harald Fernengel 2002-11-13 16:36:56 UTC
Not a KDevelop bug.

KDevelop uses libtool to build projects to satisfy all external dependencies. It
looks like your SDL installation is broken, check whether libSDL.la contains
"slang" and fix it there.