bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] gnubg crash on rhel5


From: wayne . lydecker
Subject: Re: [Bug-gnubg] gnubg crash on rhel5
Date: Thu, 29 May 2008 13:18:56 -0700
User-agent: Thunderbird 2.0.0.14 (X11/20080515)

Christian Anthon wrote:
On Wed, May 28, 2008 at 10:24 PM,  <address@hidden> wrote:

I can't get it to run.  First, it wouldn't install because:

error: Failed dependencies:
       libreadline.so.4 is needed by gnubg-0.15-4.i686


That is normally not a good idea, major version differences are not compatible.

Since you already know how to compile your own version of gnubg, that
would probably be easier. If you can reproduce the problem in the
current version please do the following:

a) compile with CFLAGS='-ggdb -O'
b) obtain a backtrace in gdb by writing 'backtrace' after the crash
c) take a screenshot or tell me which appearance settings you use.

Christian.


I guess my system has been "upgraded" too many times.  I can't compile
the latest version, or even the version I was able to compile before.
It's complaining about typedef statements in stddef.h.  I tried googling,
but I could not find a solution to the compile problems.  Here are the
first few lines from "make", if it helps:

if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -ggdb -O -MT neuralnet.lo -MD -MP -MF ".deps/neuralnet.Tpo" -c -o neuralnet.lo neuralnet.c; \ then mv -f ".deps/neuralnet.Tpo" ".deps/neuralnet.Plo"; else rm -f ".deps/neuralnet.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -ggdb -O -MT neuralnet.lo -MD -MP -MF .deps/neuralnet.Tpo -c neuralnet.c -o neuralnet.o
In file included from /usr/include/glib-2.0/glib/gmacros.h:36,
                 from /usr/lib/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from neuralnet.c:24:
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/stddef.h: In function 'x':
/usr/lib/gcc/i386-redhat-linux/4.1.2/include/stddef.h:152: error: storage class specified for parameter 'ptrdiff_t' /usr/lib/gcc/i386-redhat-linux/4.1.2/include/stddef.h:214: error: storage class specified for parameter 'size_t' /usr/lib/gcc/i386-redhat-linux/4.1.2/include/stddef.h:326: error: storage class specified for parameter 'wchar_t'
In file included from /usr/include/glib-2.0/glib/gtypes.h:30,
                 from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from neuralnet.c:24:

Thanks,

-- Wayne.




reply via email to

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