error trying to compile gnome-vfs-2.14.2 in solaris2.7



Hi, 

I having some trouble trying to compile gnome-vfs-2.14.2 in solaris-2.7
(uname -a says SunOS newton 5.7 Generic_106541-23 sun4u sparc 
SUNW,Ultra-5_10).

I have gcc-3.4.2 (and a lot else from sunfreeware) installed and (I guess)
all the required packages from gnome (and gnu) to give it a try to gnome-vfs.

I already had to add    

#ifndef INADDR_NONE
#define INADDR_NONE ((unsigned long int) 0xffffffff)
#endif

to libgnomevfs/gnome-vfs-address.c

and 

#include <signal.h>

to libgnomevfs/gnome-vfs-volume-ops.c

to have it going but I can't get passed libgnomevfs/gnome-vfs-unix-mounts.c 
because of:

if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I.. -I.. -I.. -pthreads -DORBIT2=1 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/gconf/2 
-I/usr/local/include/orbit-2.0 -I/usr/local/include/bonobo-activation-2.0 
-I/usr/local/include/libbonobo-2.0 -I/usr/local/include/libxml2   
-I/usr/local/ssl/include    -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include    -DORBIT2=1 -pthreads 
-I/usr/local/include/libbonobo-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0 
-I/usr/local/include/bonobo-activation-2.0    -DXDG_PREFIX=_gnome_vfs_xdg 
-D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED 
-DGNOME_VFS_PREFIX=\"/usr/local\" -DGNOME_VFS_BINDIR=\"/usr/local/bin\" 
-DGNOME_VFS_DATADIR=\"/usr/local/share\" 
-DGNOME_VFS_LIBDIR=\"/usr/local/lib\" 
-DGNOME_VFS_LOCALEDIR=\"/usr/local/share/locale\" 
-DGNOME_VFS_SYSCONFDIR=\"/usr/local/etc\" -DG_LOG_DOMAIN=\"libgnomevfs\"     
-mcpu=v9 -MT gnome-vfs-unix-mounts.lo -MD -MP -MF 
".deps/gnome-vfs-unix-mounts.Tpo" -c -o gnome-vfs-unix-mounts.lo 
gnome-vfs-unix-mounts.c; \
then mv -f ".deps/gnome-vfs-unix-mounts.Tpo" 
".deps/gnome-vfs-unix-mounts.Plo"; else rm -f 
".deps/gnome-vfs-unix-mounts.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -pthreads -DORBIT2=1 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/gconf/2 -I/usr/local/include/orbit-2.0 
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libbonobo-2.0 
-I/usr/local/include/libxml2 -I/usr/local/ssl/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DORBIT2=1 
-pthreads -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/glib-2.0 
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/orbit-2.0 
-I/usr/local/include/bonobo-activation-2.0 -DXDG_PREFIX=_gnome_vfs_xdg 
-D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE 
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED 
-DGNOME_VFS_PREFIX=\"/usr/local\" -DGNOME_VFS_BINDIR=\"/usr/local/bin\" 
-DGNOME_VFS_DATADIR=\"/usr/local/share\" 
-DGNOME_VFS_LIBDIR=\"/usr/local/lib\" 
-DGNOME_VFS_LOCALEDIR=\"/usr/local/share/locale\" 
-DGNOME_VFS_SYSCONFDIR=\"/usr/local/etc\" -DG_LOG_DOMAIN=\"libgnomevfs\" 
-mcpu=v9 -MT gnome-vfs-unix-mounts.lo -MD -MP 
-MF .deps/gnome-vfs-unix-mounts.Tpo -c gnome-vfs-unix-mounts.c  -fPIC -DPIC 
-o .libs/gnome-vfs-unix-mounts.o
gnome-vfs-unix-mounts.c: In function `_gnome_vfs_get_current_unix_mounts':
gnome-vfs-unix-mounts.c:272: warning: assignment makes pointer from integer 
without a cast
gnome-vfs-unix-mounts.c:283: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:284: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:285: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:291: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:292: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:293: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:300: warning: comparison between pointer and integer
gnome-vfs-unix-mounts.c: In function `_gnome_vfs_get_unix_mount_table':
gnome-vfs-unix-mounts.c:567: warning: assignment makes pointer from integer 
without a cast
gnome-vfs-unix-mounts.c:568: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:569: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:575: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:576: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:577: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:580: warning: comparison between pointer and integer
gnome-vfs-unix-mounts.c:583: warning: comparison between pointer and integer
gnome-vfs-unix-mounts.c:586: warning: assignment makes pointer from integer 
without a cast
gnome-vfs-unix-mounts.c:597: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:597: error: dereferencing pointer to incomplete type
gnome-vfs-unix-mounts.c:600: warning: comparison between pointer and integer
gnome-vfs-unix-mounts.c:602: warning: comparison between pointer and integer
gnome-vfs-unix-mounts.c:603: warning: comparison between pointer and integer
gnome-vfs-unix-mounts.c:605: warning: comparison between pointer and integer
make[3]: *** [gnome-vfs-unix-mounts.lo] Error 1
make[3]: Leaving directory `/usr/local/gnome/gnome-vfs-2.14.2/libgnomevfs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/gnome/gnome-vfs-2.14.2/libgnomevfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/gnome/gnome-vfs-2.14.2'
make: *** [all] Error 2


Any ideas?

Thanks in advance,

Alex A. Schmidt

PS. The output of "./configure --with-openssl-includes=/usr/local/ssl/include 
--with-openssl-libs=/usr/local/ssl/lib" follows:

checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) nawk
checking build system type... sparc-sun-solaris2.7
checking host system type... sparc-sun-solaris2.7
checking for a sed that does not truncate output... /usr/xpg4/bin/sed
checking for egrep... egrep
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/local/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2.7 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... solaris2.7 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... solaris2.7 ld.so
checking how to hardcode library paths into programs... immediate
checking for intltool >= 0.29... 0.35.0 found
checking for perl... /usr/local/bin/perl
checking for XML::Parser... ok
checking for iconv... /bin/iconv
checking for msgfmt... /bin/msgfmt
checking for msgmerge... /usr/local/bin/msgmerge
checking for xgettext... /bin/xgettext
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MODULES_XML... yes
checking for MODULES... yes
checking for MODULES_FILE... yes
checking for MODULES_GCONF... yes
checking for MODULES_XML_GCONF... yes
checking for MONIKERS... yes
checking for TEST... yes
checking what warning flags to pass to the C compiler... -Wall 
-Wmissing-prototypes
checking what language compliance flags to pass to the C compiler...
checking for library containing sem_wait... -lrt
checking for library containing sem_wait... (cached) -lrt
checking size_t in <sys/types.h>... yes
checking off_t in <sys/types.h>... yes
checking for off64_t... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... no
checking for bindtextdomain in -lintl... yes
checking for ngettext in -lintl... yes
checking for dgettext in -lintl... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /bin/msgfmt
checking for xgettext... /bin/xgettext
found xgettext program is not GNU xgettext; ignore it
checking for catalogs to be installed...  af am ar az be bg bn bs ca cs cy da 
de el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi
hr hu id is it ja ka ko li lt lv mk ml mn mr ms nb ne nl nn nso or pa pl pt 
pt_BR ro ru rw sk sl sq sr sr ije sr Latn sv ta th tr
uk vi wa xh yi zh_CN zh_HK zh_TW zu
checking for ngettext... no
checking for ngettext in -lintl... (cached) yes
checking for library containing gethostent... -lnsl
checking for library containing setsockopt... -lsocket
checking for library containing login_tty... no
checking for working alloca.h... yes
checking for alloca... yes
checking for getdtablesize... yes
checking for open64... yes
checking for lseek64... yes
checking for statfs... yes
checking for statvfs... yes
checking for seteuid... yes
checking for setegid... yes
checking for setresuid... no
checking for setresgid... no
checking for readdir_r... yes
checking for mbrtowc... yes
checking for inet_pton... no
checking for getdelim... no
checking for sysctlbyname... no
checking for poll... yes
checking for posix_fadvise... no
checking for fchmod... yes
checking for atoll... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blocks... yes
checking for setmntent... no
checking for endmntent... no
checking for hasmntopt... yes
checking for getmntinfo... no
checking mntent.h usability... yes
checking mntent.h presence... yes
checking for mntent.h... yes
checking sys/mnttab.h usability... yes
checking sys/mnttab.h presence... yes
checking for sys/mnttab.h... yes
checking sys/vfstab.h usability... yes
checking sys/vfstab.h presence... yes
checking for sys/vfstab.h... yes
checking sys/cdio.h usability... yes
checking sys/cdio.h presence... yes
checking for sys/cdio.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/mntctl.h usability... no
checking sys/mntctl.h presence... no
checking for sys/mntctl.h... no
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/vmount.h usability... no
checking sys/vmount.h presence... no
checking for sys/vmount.h... no
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking fstab.h usability... no
checking fstab.h presence... no
checking for fstab.h... no
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking for gconftool-2... /usr/local/bin/gconftool-2
Using config source xml:merged:/usr/local/etc/gconf/gconf.xml.defaults for 
schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/vfs.h... (cached) yes
checking for sys/mount.h... (cached) yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for sys/param.h... (cached) yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for struct statfs.f_type... no
checking for struct statfs.f_fstyp... yes
checking number of arguments to statfs()... 4
checking for mbstate_t... yes
checking for dirname... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for socket... yes
checking for inet_ntop... no
checking for bzCompressInit in -lbz2... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking struct linger is available... yes
checking for krb5-config... none
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for Darwin... no
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for gcc -Wformat -Werror sanity... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for size_t... (cached) yes
checking size of size_t... 4
checking how to print size_t... u
checking for off_t... (cached) yes
checking size of off_t... 4
checking how to print off_t... ld
checking for ssize_t... yes
checking size of ssize_t... 4
checking how to print ssize_t... d
checking whether byte ordering is bigendian... yes
checking whether strerror_r is declared... no
checking for strerror_r... no
checking whether strerror_r returns char *... no
configure: using bundled neon (0.25.4)
checking for strings.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for strcasecmp... yes
checking for signal... yes
checking for setvbuf... yes
checking for setsockopt... yes
checking for stpcpy... no
checking for struct tm.tm_gmtoff... no
configure: WARNING: no timezone handling in date parsing on this platform
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
checking whether to enable ACL support in neon... yes
checking for LIBXML... yes
checking for Solaris platform... yes
before test, samba_includes:
checking libsmbclient.h usability... no
checking libsmbclient.h presence... no
checking for libsmbclient.h... no
have_samba_includes: no
checking for Samba 3.0 libraries... no
checking for OPENSSL... sh: gnome-config: not found
checking for OpenSSL includes... ""
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/x509.h usability... yes
checking openssl/x509.h presence... yes
checking for openssl/x509.h... yes
checking for OpenSSL libraries... yes
checking for AVAHI... sh: gnome-config: not found
checking for HOWL... sh: gnome-config: not found
checking for HAL... sh: gnome-config: not found
checking for res_search... no
checking for res_search in -lresolv... no
checking for res_ninit()... no
checking for res_ninit in -lbind... no
checking for getaddrinfo... no
checking for getaddrinfo in -lbsd... no
checking for getaddrinfo in -lsocket... no
checking for getaddrinfo in -linet... no
checking for gethostbyname_r... yes
checking for glibc gethostbyname_r... no
checking for Solaris/Irix gethostbyname_r... yes
checking whether to enable ipv6... no
checking for LIBGNOMEVFS... yes
checking for LIBGNOMEVFSDAEMON... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking for getpt... no
checking for posix_openpt... no
checking for grantpt... yes
checking for unlockpt... yes
checking for ptsname... yes
checking for ptsname_r... no
checking for socketpair... yes
checking linux/inotify.h usability... no
checking linux/inotify.h presence... no
checking for linux/inotify.h... no
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
checking for FAMOpen in -lfam... yes
checking fam.h usability... yes
checking fam.h presence... yes
checking for fam.h... yes
checking how to get filesystem type... SVR4
checking for poptGetArg in -lpopt... yes
checking for perl5... no
checking for perl... perl
checking for ssh... /usr/local/bin/ssh
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gnome-vfs.spec
config.status: creating gnome-vfs-zip
config.status: creating libgnomevfs/gnome-vfs-file-size.h
config.status: creating libgnomevfs/Makefile
config.status: creating imported/Makefile
config.status: creating imported/fnmatch/Makefile
config.status: creating imported/neon/Makefile
config.status: creating modules/Makefile
config.status: creating daemon/Makefile
config.status: creating monikers/Makefile
config.status: creating schemas/Makefile
config.status: creating devel-docs/Makefile
config.status: creating devel-docs/gnome-vfs-tutorial/Makefile
config.status: creating po/Makefile.in
config.status: creating programs/Makefile
config.status: creating test/Makefile
config.status: creating test/vfs-run
config.status: creating doc/Makefile
config.status: creating doc/version.xml
config.status: creating gnome-vfs-2.0.pc
config.status: creating gnome-vfs-module-2.0.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands

Gnome VFS configuration summary:

        IPv6 support:                no
        SSL support:                 yes
        Avahi support:               no
        Howl support:                no
        HAL  support:                no
        Gtk Doc:                     no
        FS monitor backends:         fam
        Samba method:                no
        CDDA method:                 no
        Enable profiler:             no





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