[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Compiling on Solaris with extra -l
From:       Gordon Sadler <gbsadler1 () lcisp ! com>
Date:       2001-03-26 20:42:19
[Download RAW message or body]

On Mon, Mar 26, 2001 at 04:17:00PM +0200, Adriaan de Groot wrote:
> I'm trying to compile KDE on a Solaris 7 machine; this is just so that I
> can test my own app on solaris as well. Anyway, the build regularly stops
> during a (libtool) link phase when symbols from libm or libstdc++ can't be
> resolved (what?!?). So then I paste in an extra -lm -lstdc++ and it works
> again, but I was hoping to just add those two libs to every link line by
> using configure. Except there doesn't seem to be any configure option to
> add extra-libs to the build process. Anyone have similar problems or know
> of a solution?
> 
> [Extra info: I have used --with-extra-libs to point to the dirs where libz
> &c are stored and I have LD_LIBRARY_PATH set to "/vol/kde/support/lib:"]
> 
Not sure on Solaris, but on a i686-linux you would want to pass LDFLAGS
to configure and/or make...

LDFLAGS='-lm -lstdc++' ./configure .....

Again, if this works, it may very well add you changes to the front of
the link line...

HTH

Gordon Sadler
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic