fltk

Bryn M. Reeves bmr at redhat.com
Wed Dec 19 18:01:40 UTC 2012


On 19/12/12 17:30, Miloslav Trmač wrote:
> On Wed, Dec 19, 2012 at 6:27 PM, Bryn M. Reeves <bmr at redhat.com> wrote:
>> 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
> Probably http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking
>    Mirek
> 

So it seems to be down to the fact that flrig includes <FL/x.H>:

$ fgrep 'FL/x.H' rig.cxx
#include <FL/x.H>
#include <FL/x.H>



More information about the devel mailing list