guile-user
[Top][All Lists]
Advanced

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

Re: [Fwd: problem compiling guile-gtk-1.2-0.31]


From: Stanislas Pinte
Subject: Re: [Fwd: problem compiling guile-gtk-1.2-0.31]
Date: Fri, 04 Oct 2002 07:38:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3

Would there be a problem with my environment?

what are the exact requirements to have guile-gtk-1.2-0.31 compile properly?

Any other things than guile-1.6 and gtk-1.2 ?


thanks a lot for your patient help,

Stan.

I include below the head of my compile output, hoping that it might give you a clue,


address@hidden:/usr/local/src/guile/guile-gtk-1.2-0.31 2 $ make
guile -l ./gtk-1.2/config.scm -s ./build-guile-gtk-1.2 -I . glue gdk-1.2.defs >tmpd && mv tmpd gdk-glue.c
(reading "gdk-1.2.defs")
guile -l ./gtk-1.2/config.scm -s ./build-guile-gtk-1.2 -I . glue gtk-1.2.defs >tmpt && mv tmpt gtk-glue.c
(reading "gtk-1.2.defs")
(reading "gdk-1.2.defs")
guile-snarf -o guile-gtk.x guile-gtk.c -DHAVE_CONFIG_H -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -g -O2

guile-snarf -o gtk-support.x gtk-support.c -DHAVE_CONFIG_H -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -g -O2

make  all-recursive
make[1]: Entering directory `/usr/local/src/guile/guile-gtk-1.2-0.31'
Making all in gtk
make[2]: Entering directory `/usr/local/src/guile/guile-gtk-1.2-0.31/gtk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/guile/guile-gtk-1.2-0.31/gtk'
Making all in gtk-1.2
make[2]: Entering directory `/usr/local/src/guile/guile-gtk-1.2-0.31/gtk-1.2'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/guile/guile-gtk-1.2-0.31/gtk-1.2'
Making all in examples
make[2]: Entering directory `/usr/local/src/guile/guile-gtk-1.2-0.31/examples'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/guile/guile-gtk-1.2-0.31/examples'
make[2]: Entering directory `/usr/local/src/guile/guile-gtk-1.2-0.31'
source='guile-gtk.c' object='guile-gtk.lo' libtool=yes \
depfile='.deps/guile-gtk.Plo' tmpdepfile='.deps/guile-gtk.TPlo' \
depmode=gcc /bin/sh ./depcomp \
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -g -O2 -c -o guile-gtk.lo `test -f 'guile-gtk.c' || echo './'`guile-gtk.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -I/usr/local/include -I/usr/local/include -g -O2 -c guile-gtk.c -Wp,-MD,.deps/guile-gtk.TPlo -fPIC -DPIC -o .libs/guile-gtk.lo
In file included from /usr/include/stdio.h:33,
                 from guile-gtk.c:18,
                 from guile-gtk.c:2621:
/usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h: In function `sgtk_init_substrate': /usr/lib/gcc-lib/i486-suse-linux/2.95.3/include/stddef.h:170: parse error before `typedef'
In file included from /usr/include/stdio.h:35,
                 from guile-gtk.c:18,
                 from guile-gtk.c:2621:
/usr/include/bits/types.h: At top level:
/usr/include/bits/types.h:78: warning: empty declaration
/usr/include/bits/types.h:81: warning: redefinition of `__daddr_t'
/usr/include/bits/types.h:81: warning: `__daddr_t' previously declared here
/usr/include/bits/types.h:82: warning: redefinition of `__caddr_t'
/usr/include/bits/types.h:82: warning: `__caddr_t' previously declared here
/usr/include/bits/types.h:83: warning: redefinition of `__time_t'
/usr/include/bits/types.h:83: warning: `__time_t' previously declared here
/usr/include/bits/types.h:84: warning: redefinition of `__useconds_t'
/usr/include/bits/types.h:84: warning: `__useconds_t' previously declared here
/usr/include/bits/types.h:85: warning: redefinition of `__suseconds_t'
/usr/include/bits/types.h:85: warning: `__suseconds_t' previously declared here
/usr/include/bits/types.h:86: warning: redefinition of `__swblk_t'
/usr/include/bits/types.h:86: warning: `__swblk_t' previously declared here
/usr/include/bits/types.h:88: warning: redefinition of `__clock_t'
/usr/include/bits/types.h:88: warning: `__clock_t' previously declared here
/usr/include/bits/types.h:91: warning: redefinition of `__clockid_t'
/usr/include/bits/types.h:91: warning: `__clockid_t' previously declared here
/usr/include/bits/types.h:94: warning: redefinition of `__timer_t'
/usr/include/bits/types.h:94: warning: `__timer_t' previously declared here
/usr/include/bits/types.h:101: warning: redefinition of `__key_t'
/usr/include/bits/types.h:101: warning: `__key_t' previously declared here
/usr/include/bits/types.h:104: warning: redefinition of `__ipc_pid_t'
/usr/include/bits/types.h:104: warning: `__ipc_pid_t' previously declared here
/usr/include/bits/types.h:108: warning: redefinition of `__blksize_t'
/usr/include/bits/types.h:108: warning: `__blksize_t' previously declared here
/usr/include/bits/types.h:113: warning: redefinition of `__blkcnt_t'
/usr/include/bits/types.h:113: warning: `__blkcnt_t' previously declared here
/usr/include/bits/types.h:114: warning: redefinition of `__blkcnt64_t'
/usr/include/bits/types.h:114: warning: `__blkcnt64_t' previously declared here
/usr/include/bits/types.h:117: warning: redefinition of `__fsblkcnt_t'
/usr/include/bits/types.h:117: warning: `__fsblkcnt_t' previously declared here
/usr/include/bits/types.h:118: warning: redefinition of `__fsblkcnt64_t'
/usr/include/bits/types.h:118: warning: `__fsblkcnt64_t' previously declared here
/usr/include/bits/types.h:121: warning: redefinition of `__fsfilcnt_t'
/usr/include/bits/types.h:121: warning: `__fsfilcnt_t' previously declared here
/usr/include/bits/types.h:122: warning: redefinition of `__fsfilcnt64_t'
/usr/include/bits/types.h:122: warning: `__fsfilcnt64_t' previously declared here
/usr/include/bits/types.h:125: warning: redefinition of `__ino64_t'
/usr/include/bits/types.h:125: warning: `__ino64_t' previously declared here
/usr/include/bits/types.h:128: warning: redefinition of `__off64_t'
/usr/include/bits/types.h:128: warning: `__off64_t' previously declared here
/usr/include/bits/types.h:131: warning: redefinition of `__t_scalar_t'
/usr/include/bits/types.h:131: warning: `__t_scalar_t' previously declared here
/usr/include/bits/types.h:132: warning: redefinition of `__t_uscalar_t'
/usr/include/bits/types.h:132: warning: `__t_uscalar_t' previously declared here
/usr/include/bits/types.h:135: warning: redefinition of `__intptr_t'
/usr/include/bits/types.h:135: warning: `__intptr_t' previously declared here
/usr/include/bits/types.h:138: warning: redefinition of `__socklen_t'
/usr/include/bits/types.h:138: warning: `__socklen_t' previously declared here
In file included from /usr/include/bits/pthreadtypes.h:23,
                 from /usr/include/bits/types.h:143,
                 from /usr/include/stdio.h:35,
                 from guile-gtk.c:18,
                 from guile-gtk.c:2621:
/usr/include/bits/sched.h:69: redefinition of `struct __sched_param'
In file included from /usr/include/bits/types.h:143,
                 from /usr/include/stdio.h:35,
                 from guile-gtk.c:18,
                 from guile-gtk.c:2621:
/usr/include/bits/pthreadtypes.h:27: redefinition of `struct _pthread_fastlock' /usr/include/bits/pthreadtypes.h:35: warning: redefinition of `_pthread_descr' /usr/include/bits/pthreadtypes.h:35: warning: `_pthread_descr' previously declared here /usr/include/bits/pthreadtypes.h:42: redefinition of `struct __pthread_attr_s' /usr/include/bits/pthreadtypes.h:52: warning: redefinition of `pthread_attr_t' /usr/include/bits/pthreadtypes.h:52: warning: `pthread_attr_t' previously declared here
/usr/include/bits/pthreadtypes.h:60: conflicting types for `pthread_cond_t'
/usr/include/bits/pthreadtypes.h:60: previous declaration of `pthread_cond_t' /usr/include/bits/pthreadtypes.h:67: conflicting types for `pthread_condattr_t' /usr/include/bits/pthreadtypes.h:67: previous declaration of `pthread_condattr_t' /usr/include/bits/pthreadtypes.h:70: warning: redefinition of `pthread_key_t' /usr/include/bits/pthreadtypes.h:70: warning: `pthread_key_t' previously declared here


Marius Vollmer wrote:

(Please don't sent such large mails without asking first.)

Stanislas Pinte <address@hidden> writes:


If my guile-gtk.x can help you...


Yes, it does help.  It seems to contain the complete output of the
preprocessor, which is wrong.  It should contain only the lines
starting with "^^".

I can't say why this has happened.  Please run

    $ rm guile-gtk.x
    $ make guile-gtk.x

and show the output.  Is guile-gtk.x still incorrect?








reply via email to

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