Re: Can no longer compile gome-core 1.0.5X



I take it you are using packages of glib/gtk+, etc.  The packages you are
using were probably compiled with a different compiler to what you are
using (gcc-2.7/2.8 vs egcs/gcc-2.95).

Either use different packages, compile glib, etc for yourself or change
compiler.  This is the most common cause of the va_copy problem you are
seeing.

James.

--
Email: james@daa.com.au
WWW:   http://www.daa.com.au/~james/


On Sun, 10 Oct 1999, Greg Schafer wrote:

> G'day
> 
> 	Could some kind soul please tell me whats going on here.
> I keep on getting:
> 
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/gnome/include -I/opt/gnome/include -DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/include -I/usr/X11R6/include       -I../intl -I../intl             -DGNOMELOCALEDIR=\""/opt/gnome/share/locale\""  -DDEFAULTDIR="\"/opt/gnome/share/gnome\""  -I/usr/X11R6/include -I/usr/lib/glib/include  -g -O2 -Wall -Wno-unused  -c gsm-protocol.c
> gsm-protocol.c: In function `commandv':
> gsm-protocol.c:693: warning: implicit declaration of function `__va_copy'
> gsm-protocol.c:691: warning: `args2' might be used uninitialized in this function
> gsm-protocol.c: In function `gsm_args_to_propv':
> gsm-protocol.c:986: warning: `args2' might be used uninitialized in this function
> /bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -Wno-unused   -o save-session  save-session.o gsm-protocol.o -rdynamic -L/opt/gnome/lib -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl  
> gcc -g -O2 -Wall -Wno-unused -o save-session save-session.o gsm-protocol.o -rdynamic -L/opt/gnome/lib -L/usr/lib -L/usr/X11R6/lib -rdynamic -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl
> gsm-protocol.o: In function `commandv':
> /home/gws/src/gnome/gnome-core-1.0.51/gsm/gsm-protocol.c:693: undefined reference to `__va_copy'
> gsm-protocol.o: In function `gsm_args_to_propv':
> /home/gws/src/gnome/gnome-core-1.0.51/gsm/gsm-protocol.c:988: undefined reference to `__va_copy'
> make[2]: *** [save-session] Error 1
> make[2]: Leaving directory `/home/gws/src/gnome/gnome-core-1.0.51/gsm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gws/src/gnome/gnome-core-1.0.51'
> make: *** [all-recursive-am] Error 2
> 
> 
> This is an up-to-date Debian potato system. I have the debian installed debs
> of glib, gtk+, imlib, ORBit etc. I don't see anyone else complaining about this
> so it must be specific to my system. AFAICT, '__va_copy' is defined in glibconfig.h
> which is properly installed here.
> 
> Any ideas?
> 
> 
> Greg
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 



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