GNOME Bugzilla – Bug 101006
Can't build gnome-vfs-extras-0.99.8
Last modified: 2004-12-22 21:47:04 UTC
$CC -v Reading specs from /appl/gnu/gcc-3.0.4_sol2.8/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4/specs Configured with: ../gcc-3.0.4/configure --prefix=/appl/gnu/gcc-3.0.4_sol2.8 --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld Thread model: posix gcc version 3.0.4 /appl/gnu/gcc-3.0.4_sol2.8/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -I./samba/include -I. -I./samba -I./samba/ubiqx -I./samba/smbwrapper -I/var/tmp/gnome-2.2/include/rio500 -I/usr/include/rio500 -pthreads -DORBIT2=1 -I/var/tmp/gnome-2.2/include/gnome-vfs-2.0 -I/var/tmp/gnome-2.2/lib/gnome-vfs-2.0/include -I/var/tmp/gnome-2.2/include/bonobo-activation-2.0 -I/var/tmp/gnome-2.2/include/glib-2.0 -I/var/tmp/gnome-2.2/lib/glib-2.0/include -I/var/tmp/gnome-2.2/include/orbit-2.0 -I/var/tmp/gnome-2.2/include/linc-1.0 -I/var/tmp/gnome-2.2/include/gnome-vfs-module-2.0 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DPREFIX=\"/var/tmp/gnome-2.2\" -DGNOMELOCALEDIR=\"/var/tmp/gnome-2.2/share/locale\" -I/usr/include/rio500 -I/usr/local/include/rio500 -Wall -I/var/tmp/gnome-2.2/include -I/usr/openwin/include -L/var/tmp/gnome-2.2/lib -L/usr/openwin/lib -I/home/konjojo/Solaris/include -I/home/konjojo/include -L/home/konjojo/Solaris/lib -O2 -pipe -I/var/tmp/gnome-2.2/include -I/usr/openwin/include -L/var/tmp/gnome-2.2/lib -L/usr/openwin/lib -I/home/konjojo/Solaris/include -I/home/konjojo/include -L/home/konjojo/Solaris/lib -O2 -pipe -I/var/tmp/gnome-2.2/include -I/usr/openwin/include -L/var/tmp/gnome-2.2/lib -L/usr/openwin/lib -I/home/konjojo/Solaris/include -I/home/konjojo/include -L/home/konjojo/Solaris/lib -O2 -pipe -Wall -I/var/tmp/gnome-2.2/include -I/usr/openwin/include -L/var/tmp/gnome-2.2/lib -L/usr/openwin/lib -I/home/konjojo/Solaris/include -I/home/konjojo/include -L/home/konjojo/Solaris/lib -O2 -pipe -I/var/tmp/gnome-2.2/include -I/usr/openwin/include -L/var/tmp/gnome-2.2/lib -L/usr/openwin/lib -I/home/konjojo/Solaris/include -I/home/konjojo/include -L/home/konjojo/Solaris/lib -O2 -pipe -I/var/tmp/gnome-2.2/include -I/usr/openwin/include -L/var/tmp/gnome-2.2/lib -L/usr/openwin/lib -I/home/konjojo/Solaris/include -I/home/konjojo/include -L/home/konjojo/Solaris/lib -O2 -pipe -c smb-method.c -fPIC -DPIC -o smb-method.lo In file included from samba/include/includes.h:325, from smb-method.c:60: /usr/include/rpcsvc/yp_prot.h:315: parse error before "_xdr_yprequest" /usr/include/rpcsvc/yp_prot.h:316: parse error before "_xdr_ypresponse" /usr/include/rpcsvc/yp_prot.h:359: parse error before "xdr_datum" /usr/include/rpcsvc/yp_prot.h:360: parse error before "xdr_ypdomain_wrap_string" /usr/include/rpcsvc/yp_prot.h:361: parse error before "xdr_ypmap_wrap_string" /usr/include/rpcsvc/yp_prot.h:362: parse error before "xdr_ypreq_key" /usr/include/rpcsvc/yp_prot.h:363: parse error before "xdr_ypreq_nokey" /usr/include/rpcsvc/yp_prot.h:364: parse error before "xdr_ypreq_xfr" /usr/include/rpcsvc/yp_prot.h:365: parse error before "xdr_ypreq_newxfr" /usr/include/rpcsvc/yp_prot.h:366: parse error before "xdr_ypresp_val" /usr/include/rpcsvc/yp_prot.h:367: parse error before "xdr_ypresp_key_val" /usr/include/rpcsvc/yp_prot.h:368: parse error before "xdr_ypmap_parms" /usr/include/rpcsvc/yp_prot.h:369: parse error before "xdr_ypowner_wrap_string" /usr/include/rpcsvc/yp_prot.h:370: parse error before "xdr_yppushresp_xfr" /usr/include/rpcsvc/yp_prot.h:371: parse error before "xdr_ypresp_order" /usr/include/rpcsvc/yp_prot.h:372: parse error before "xdr_ypresp_master" /usr/include/rpcsvc/yp_prot.h:373: parse error before "xdr_ypall" /usr/include/rpcsvc/yp_prot.h:374: parse error before "xdr_ypresp_maplist" smb-method.c: In function `do_open': smb-method.c:1231: warning: unused variable `filename' smb-method.c:1234: warning: unused variable `server' smb-method.c:1235: warning: unused variable `path' smb-method.c:1236: warning: unused variable `end' smb-method.c:1237: warning: unused variable `user' smb-method.c:1238: warning: unused variable `password' smb-method.c: In function `do_close': smb-method.c:1305: warning: unused variable `n' smb-method.c: In function `do_write': smb-method.c:1384: warning: unused variable `link_len' smb-method.c: In function `do_create': smb-method.c:1435: warning: unused variable `server' smb-method.c:1436: warning: unused variable `path' smb-method.c: In function `do_get_file_info': smb-method.c:1523: warning: unused variable `filename' smb-method.c: In function `open_dir_helper': smb-method.c:1683: warning: unused variable `passed' smb-method.c: In function `do_unlink': smb-method.c:2046: warning: unused variable `smb_info' smb-method.c: In function `do_move': smb-method.c:2163: warning: unused variable `smb_info' smb-method.c:2164: warning: unused variable `server1' smb-method.c:2165: warning: unused variable `server2' smb-method.c:2166: warning: unused variable `path1' smb-method.c:2167: warning: unused variable `path2' smb-method.c: At top level: smb-method.c:2230: warning: `do_truncate_handle' defined but not used smb-method.c:2243: warning: `do_get_file_info_from_handle' defined but not used smb-method.c:2420: warning: `do_truncate' defined but not used smb-method.c:2434: warning: `do_find_directory' defined but not used smb-method.c:2444: warning: `do_create_symbolic_link' defined but not used gmake[5]: *** [smb-method.lo] Error 1 gmake[5]: Leaving directory `/var/tmp/garnome-0.19.3/gnome/gnome-vfs-extras/work/gnome-vfs-extras-0.99.6.1' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/var/tmp/garnome-0.19.3/gnome/gnome-vfs-extras/work/gnome-vfs-extras-0.99.6.1' gmake[3]: *** [all-recursive-am] Error 2 gmake[3]: Leaving directory `/var/tmp/garnome-0.19.3/gnome/gnome-vfs-extras/work/gnome-vfs-extras-0.99.6.1' gmake[2]: *** [build-work/gnome-vfs-extras-0.99.6.1/Makefile] Error 2 gmake[2]: Leaving directory `/var/tmp/garnome-0.19.3/gnome/gnome-vfs-extras' gmake[1]: *** [dep-../../gnome/gnome-vfs-extras] Error 2
Created attachment 12933 [details] The config log ....
I changed some stuff in samba/include/config.h. I **undefined** HAVE_RPCSVC_YP_PROT_H (put it inside comments) before compiling, and now this beast does at least compile. It did so on my Solaris x86 at home as well, but I still don't know if it will work the way it should ;) ...
See my comment at bug #96008 *** This bug has been marked as a duplicate of 96008 ***
/opt/gnu/gcc-3.2.1/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -I./samba/include -I. -I./samba -I./samba/ubiqx -I./samba/smbwrapper -I/opt/gnome-2.2/include/rio500 -I/usr/include/rio500 -pthreads -DORBIT2=1 -I/opt/gnome-2.2/include/gnome-vfs-2.0 -I/opt/gnome-2.2/lib/gnome-vfs-2.0/include -I/opt/gnome-2.2/include/bonobo-activation-2.0 -I/opt/gnome-2.2/include/glib-2.0 -I/opt/gnome-2.2/lib/glib-2.0/include -I/opt/gnome-2.2/include/orbit-2.0 -I/opt/gnome-2.2/include/linc-1.0 -I/opt/gnome-2.2/include/gnome-vfs-module-2.0 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DPREFIX=\"/opt/gnome-2.2\" -DGNOMELOCALEDIR=\"/opt/gnome-2.2/share/locale\" -I/usr/include/rio500 -I/usr/local/include/rio500 -Wall -g -O2 -mcpu=pentium3 -falign-functions=4 -fomit-frame-pointer -funroll-loops -mfancy-math-387 -D_REENTRANT -I/opt/gnome-2.2/include -L/opt/gnome-2.2/lib -g -I/opt/gnome-2.2/include -L/opt/gnome-2.2/lib -g -I/opt/gnome-2.2/include -L/opt/gnome-2.2/lib -Wall -g -O2 -mcpu=pentium3 -falign-functions=4 -fomit-frame-pointer -funroll-loops -mfancy-math-387 -D_REENTRANT -I/opt/gnome-2.2/include -L/opt/gnome-2.2/lib -g -I/opt/gnome-2.2/include -L/opt/gnome-2.2/lib -g -I/opt/gnome-2.2/include -L/opt/gnome-2.2/lib -c smb-method.c -fPIC -DPIC -o smb-method.lo In file included from samba/include/includes.h:325, from smb-method.c:64: /usr/include/rpcsvc/yp_prot.h:315: parse error before "_xdr_yprequest" /usr/include/rpcsvc/yp_prot.h:316: parse error before "_xdr_ypresponse" /usr/include/rpcsvc/yp_prot.h:359: parse error before "xdr_datum" /usr/include/rpcsvc/yp_prot.h:360: parse error before "xdr_ypdomain_wrap_string" /usr/include/rpcsvc/yp_prot.h:361: parse error before "xdr_ypmap_wrap_string" /usr/include/rpcsvc/yp_prot.h:362: parse error before "xdr_ypreq_key" /usr/include/rpcsvc/yp_prot.h:363: parse error before "xdr_ypreq_nokey" /usr/include/rpcsvc/yp_prot.h:364: parse error before "xdr_ypreq_xfr" /usr/include/rpcsvc/yp_prot.h:365: parse error before "xdr_ypreq_newxfr" /usr/include/rpcsvc/yp_prot.h:366: parse error before "xdr_ypresp_val" /usr/include/rpcsvc/yp_prot.h:367: parse error before "xdr_ypresp_key_val" /usr/include/rpcsvc/yp_prot.h:368: parse error before "xdr_ypmap_parms" /usr/include/rpcsvc/yp_prot.h:369: parse error before "xdr_ypowner_wrap_string" /usr/include/rpcsvc/yp_prot.h:370: parse error before "xdr_yppushresp_xfr" /usr/include/rpcsvc/yp_prot.h:371: parse error before "xdr_ypresp_order" /usr/include/rpcsvc/yp_prot.h:372: parse error before "xdr_ypresp_master" /usr/include/rpcsvc/yp_prot.h:373: parse error before "xdr_ypall" /usr/include/rpcsvc/yp_prot.h:374: parse error before "xdr_ypresp_maplist" gmake[5]: *** [smb-method.lo] Error 1 gmake[5]: Leaving directory `/usr/mntDir/gnome2build/garnome/garnome/gnome/gnome-vfs-extras/work/gnome-vfs-extras-0.99.8' I havn't tried the previous solution yet, it's too late now, gonna try it tomorrow .....
Is it still happening or not ?
Yes. gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I./samba/include -I. -I./samba -I./samba/ubiqx -I./samba/smbwrapper -I/opt/gnome-2.4/include/rio500 -I/usr/include/rio500 -pthreads -DORB IT2=1 -I/opt/gnome-2.4/include/gnome-vfs-2.0 -I/opt/gnome-2.4/lib/gnome-vfs-2.0/include -I/opt/gnome-2.4/include/bonobo-activation-2.0 -I/opt/gnome-2.4/include/glib-2.0 -I/op t/gnome-2.4/lib/glib-2.0/include -I/opt/gnome-2.4/include/orbit-2.0 -I/opt/gnome-2.4/include/linc-1.0 -I/opt/gnome-2.4/include/gnome-vfs-module-2.0 -D_FILE_OFFSET_BITS=64 -D_ GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DPREFIX=\"/opt/gnome-2.4\" -DGNOMELOCALEDIR=\"/opt/gnome-2.4/share/locale\" -I/usr/include/rio500 -I /usr/local/include/rio500 -Wall -g -O2 -pipe -mcpu=pentium3 -falign-functions=4 -fomit-frame-pointer -funroll-loops -mfancy-math-387 -D_REENTRANT -I/opt/gnome-2.4/include -I/ usr/X11R6/include -I/usr/local/include -I/opt/csw/include -I/opt/sfw/include -L/opt/gnome-2.4/lib -L/usr/X11R6/lib -L/usr/local/lib -L/opt/csw/lib -L/opt/sfw/lib -pipe -g -I/ opt/gnome-2.4/include -I/usr/X11R6/include -I/usr/local/include -I/opt/csw/include -I/opt/sfw/include -L/opt/gnome-2.4/lib -L/usr/X11R6/lib -L/usr/local/lib -L/opt/csw/lib -L /opt/sfw/lib -pipe -g -I/opt/gnome-2.4/include -I/usr/X11R6/include -I/usr/local/include -I/opt/csw/include -I/opt/sfw/include -L/opt/gnome-2.4/lib -L/usr/X11R6/lib -L/usr/lo cal/lib -L/opt/csw/lib -L/opt/sfw/lib -pipe -Wall -g -O2 -pipe -mcpu=pentium3 -falign-functions=4 -fomit-frame-pointer -funroll-loops -mfancy-math-387 -D_REENTRANT -I/opt/gno me-2.4/include -I/usr/X11R6/include -I/usr/local/include -I/opt/csw/include -I/opt/sfw/include -L/opt/gnome-2.4/lib -L/usr/X11R6/lib -L/usr/local/lib -L/opt/csw/lib -L/opt/sf w/lib -pipe -g -I/opt/gnome-2.4/include -I/usr/X11R6/include -I/usr/local/include -I/opt/csw/include -I/opt/sfw/include -L/opt/gnome-2.4/lib -L/usr/X11R6/lib -L/usr/local/lib -L/opt/csw/lib -L/opt/sfw/lib -pipe -g -I/opt/gnome-2.4/include -I/usr/X11R6/include -I/usr/local/include -I/opt/csw/include -I/opt/sfw/include -L/opt/gnome-2.4/lib -L/usr/X 11R6/lib -L/usr/local/lib -L/opt/csw/lib -L/opt/sfw/lib -pipe -c smb-method.c -fPIC -DPIC -o smb-method.lo In file included from smb-method.c:54: samba/include/config.h:875:1: warning: "PACKAGE_BUGREPORT" redefined In file included from smb-method.c:29: config.h:128:1: warning: this is the location of the previous definition In file included from smb-method.c:54: samba/include/config.h:878:1: warning: "PACKAGE_NAME" redefined In file included from smb-method.c:29: config.h:131:1: warning: this is the location of the previous definition In file included from smb-method.c:54: samba/include/config.h:881:1: warning: "PACKAGE_STRING" redefined In file included from smb-method.c:29: config.h:134:1: warning: this is the location of the previous definition In file included from smb-method.c:54: samba/include/config.h:884:1: warning: "PACKAGE_TARNAME" redefined In file included from smb-method.c:29: config.h:137:1: warning: this is the location of the previous definition In file included from smb-method.c:54: samba/include/config.h:887:1: warning: "PACKAGE_VERSION" redefined In file included from smb-method.c:29: config.h:140:1: warning: this is the location of the previous definition In file included from samba/include/includes.h:325, from smb-method.c:63: /usr/include/rpcsvc/yp_prot.h:315: parse error before "_xdr_yprequest" /usr/include/rpcsvc/yp_prot.h:316: parse error before "_xdr_ypresponse" /usr/include/rpcsvc/yp_prot.h:359: parse error before "xdr_datum" /usr/include/rpcsvc/yp_prot.h:360: parse error before "xdr_ypdomain_wrap_string" /usr/include/rpcsvc/yp_prot.h:361: parse error before "xdr_ypmap_wrap_string" /usr/include/rpcsvc/yp_prot.h:362: parse error before "xdr_ypreq_key" /usr/include/rpcsvc/yp_prot.h:363: parse error before "xdr_ypreq_nokey" /usr/include/rpcsvc/yp_prot.h:364: parse error before "xdr_ypreq_xfr" /usr/include/rpcsvc/yp_prot.h:365: parse error before "xdr_ypreq_newxfr" /usr/include/rpcsvc/yp_prot.h:366: parse error before "xdr_ypresp_val" /usr/include/rpcsvc/yp_prot.h:367: parse error before "xdr_ypresp_key_val" /usr/include/rpcsvc/yp_prot.h:368: parse error before "xdr_ypmap_parms" /usr/include/rpcsvc/yp_prot.h:369: parse error before "xdr_ypowner_wrap_string" /usr/include/rpcsvc/yp_prot.h:370: parse error before "xdr_yppushresp_xfr" /usr/include/rpcsvc/yp_prot.h:371: parse error before "xdr_ypresp_order" /usr/include/rpcsvc/yp_prot.h:372: parse error before "xdr_ypresp_master" /usr/include/rpcsvc/yp_prot.h:373: parse error before "xdr_ypall" /usr/include/rpcsvc/yp_prot.h:374: parse error before "xdr_ypresp_maplist" gmake[5]: *** [smb-method.lo] Error 1 gmake[5]: Leaving directory `/home/jonas/garnome-0.24.2/gnome/gnome-vfs-extras/work/main.d/gnome-vfs-extras-0.99.10' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/home/jonas/garnome-0.24.2/gnome/gnome-vfs-extras/work/main.d/gnome-vfs-extras-0.99.10' gmake[3]: *** [all-recursive-am] Error 2 gmake[3]: Leaving directory `/home/jonas/garnome-0.24.2/gnome/gnome-vfs-extras/work/main.d/gnome-vfs-extras-0.99.10' gmake[2]: *** [build-work/main.d/gnome-vfs-extras-0.99.10/Makefile] Error 2 gmake[2]: Leaving directory `/home/jonas/garnome-0.24.2/gnome/gnome-vfs-extras' gmake[1]: *** [../../gnome/gnome-vfs-extras/cookies/main.d/install] Error 2 gmake[1]: Leaving directory `/home/jonas/garnome-0.24.2/gnome/nautilus' gmake: *** [../../gnome/nautilus/cookies/main.d/install] Error 2 jonas@brusen:41~/garnome-0.24.2/meta/gnome-desktop> jonas@brusen:34~/src/glibc-2.3.2/posix> gnu-gcc -v Reading specs from /opt/gnu/gnu-gcc-3.2/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/specs Configured with: /mnt/oldExport/Local/src/gcc-3.2.2/configure --prefix=/opt/gnu/gnu-gcc-3.2 --with-ld=/usr/local/bin/ld --with-as=/usr/local/bin/as --enable-threads=posix --program-prefix=gnu- --with-gnu-as --with-gnu-ld --with-libiconv-prefix=/usr/local Thread model: posix gcc version 3.2.2
Could you try with a recent version of samba and version 0.99.11 of gnome-vfs-extras?
Any news on this issue?
0.99.11 *builds* fine on Solaris9 x86. How can I test the functionality?
There hasn't been any activity on your bugs with missing information in the past 3 months. Feel free to reopen the bug if you are able to provide the asked for information.