Re: fltk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19/12/12 15:12, Adrian wrote:
> -Wl,-z,relro -lfltk

Which is pretty close to what you get on current Ubuntu:

root@u1210-vm1:~# grep PRETTY /etc/os-release
PRETTY_NAME="Ubuntu quantal (12.10)"

root@u1210-vm1:~# dpkg -s libfltk1.1 | head -2
Package: libfltk1.1
Status: install ok installed

root@u1210-vm1:~# fltk-config --ldflags
-L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -lfltk

> should be (built from source)

That might be what you get building from source but it's not what you'd
get on a current Ubuntu system with their flkt packages so it seems this
is not the cause of the problem you're seeing.

On Fedora the following command fails:

g++ -I/usr/include/freetype2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_THREAD_SAFE -D_REENTRANT -pipe -Wall -fexceptions -O2 -ffast-math
-finline-functions -fomit-frame-pointer   -DNDEBUG -g -O2   -o flrig
[...] -Wl,-Bsymbolic-functions -lfltk_images -lfltk  -ldl  -lrt  -lpthread

While on Ubuntu it works (run in a similarly prep'ed source tree);
something appears to be "magically" adding -lX11 during the link step on
Ubuntu but it doesn't appear to have anything to do with the output
produced by fltk-config (which is identical in terms of library link
requests).

Regards,
Bryn.

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux