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: Joern Thyssen
Subject: Re: [Bug-gnubg] Compile: Solaris 9
Date: Tue, 5 Aug 2003 06:25:48 +0000
User-agent: Mutt/1.4.1i

On Tue, Aug 05, 2003 at 01:56:28AM +0200, Holger wrote
> At 20:18 04.08.2003 +0000, Joern Thyssen wrote:
> >On Mon, Aug 04, 2003 at 10:08:12PM +0200, Holger wrote
> >> 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)
> 
> >I'm just guessing: try adding -lX11 to the link list (COMMON_LIBS in
> >Makefile).
> 
> Yes, that did the trick. However, I guess adding it to gnubg_LDADD in the 
> USE_GTK block is better. I can't commit from here though, due to problems 
> with cvs/ssh. I've copied my key from the Windows machine, but he still 
> asks me for a password. (On Windows it does work without one.) And on 
> Windows I don't have automake installed.
> 
> I'll attach a diff for Makefile.am. Could someone commit please?

I'm not sure it's correct to add it like that. We need some autoconf
magic to detect it. Anyway, for gtk1.2 "gtk-config --libs" returns,
among other libraries, -lX11, but "pkg-config --libs gtk-2.0" doesn't. I
don't know why, but apparently it's not necessary on my box, so now I'm
guessing that "pkg-config --libs gtk-2.0" is broken on Solaris...

> Now it compiles but core dumps (invoked from tty, no X, same with -t):
> 
> Program received signal SIGBUS, Bus error.
> 0xfed1c280 in libiconv (icd=0xffffffff, inbuf=0xffbfe3e4, 
> inbytesleft=0xffbfe3e0, outbuf=0xffbfe3dc, outbytesleft=0xffbfe3d8) at 
> iconv.c:421
> iconv.c:421: No such file or directory.
> (gdb) bt
> #0  0xfed1c280 in libiconv (icd=0xffffffff, inbuf=0xffbfe3e4, 
> inbytesleft=0xffbfe3e0, outbuf=0xffbfe3dc, outbytesleft=0xffbfe3d8)
>     at iconv.c:421
> #1  0x393f4 in Convert (sz=0x9d8790 "", szDestCharset=0xb <Address 0xb out 
> of bounds>,
>     szSourceCharset=0xffffffff <Address 0xffffffff out of bounds>) at 
> gnubg.c:8102
> #2  0x31688 in FormatPromptConvert () at gnubg.c:3130
> #3  0x3819c in real_main (closure=0x1ff400, argc=1, argv=0xffbff234) at 
> gnubg.c:7386
> #4  0x38660 in main (argc=2258944, argv=0x206c00) at gnubg.c:7449

Jim posted a fix in the Convert routine a few days ago. I don't know if
it is committed yet.

Jørn




reply via email to

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