bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Compile: Solaris 9


From: Jim Segrave
Subject: Re: [Bug-gnubg] Compile: Solaris 9
Date: Sat, 9 Aug 2003 10:18:13 +0200
User-agent: Mutt/1.4.1i

On Fri 08 Aug 2003 (23:56 +0200), Holger wrote:
> At 23:25 08.08.2003 +0200, Jim Segrave wrote:
> >On Fri 08 Aug 2003 (22:54 +0200), Holger wrote:
> >> ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.376
> >> Undefined                       first referenced
> >>  symbol                             in file
> >> XFlush                              gnubg.o  (symbol belongs to implicit
> >> dependency /usr/lib/libX11.so.4)
> >> XEventsQueued                       gnubg.o  (symbol belongs to implicit
> >> dependency /usr/lib/libX11.so.4)
> >> ld: fatal: Symbol referencing errors. No output written to gnubg
> >
> >As you note later, there's no X11 libraries being pulled in, so this
> >isn't surprising. I wonder how configure got through its tests without
> >getting similar errors.
> 
> This and why pkg-config doesn't give -lX11 for gtk2.

I'm being stupid. I just examined my config.log and make.out and
nowhere is -lX11 being passed explicitly, either during any configure
step or when making gnubg. 

But if I do ldd of /usr/lib/libgtk-x11-2.0.so.0, one of the libraries
is:
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4048b000)

so there's no need (with this system) to mention -lX11, it will be
pulled in automatically. I'll bet your libgtk-x11-2.0 doesn't have
this.

...

> Sorry for confusing you. As I wrote I have both tried with gtk-2 and then 
> 1.2 in order to see if this would work. So yes, you are right, that these 
> are different outputs. Please note that I wrote this in different mails.

I just started wondering what was happening, I suspected they might be
from different runs, but if they weren't, something was horribly
wrong.

-- 
Jim Segrave           address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]