Dear all,

while trying to compile synce's gnomw-vfs (current SVN version and all
depending synce packages are also the most current SVN version; my
compiler version is gcc 4.1.1-r3) I always get the following error:
        
        Making all in script
        make[2]: Entering directory

`/var/tmp/portage/synce-gnomevfs-99.99.99/work/synce-gnomevfs-99.99.99/script'
        make[2]: Nothing to be done for `all'.
        make[2]: Leaving directory

`/var/tmp/portage/synce-gnomevfs-99.99.99/work/synce-gnomevfs-99.99.99/script'
        Making all in src
        make[2]: Entering directory

`/var/tmp/portage/synce-gnomevfs-99.99.99/work/synce-gnomevfs-99.99.99/src'
        /bin/sh ../libtool --tag=CC   --mode=compile
        i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -pthread
        -DORBIT2=1 -I/usr/include/gnome-vfs-2.0
        -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2
        -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
        -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-module-2.0
        -O2 -march=athlon-xp -mtune=athlon-xp -mcpu=athlon-xp
        -mfpmath=sse -mmmx -msse -m3dnow -Wall -pipe
        -fomit-frame-pointer -MT libsyncevfs.lo -MD -MP
        -MF .deps/libsyncevfs.Tpo -c -o libsyncevfs.lo libsyncevfs.c
        i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..    -pthread
        -DORBIT2=1 -I/usr/include/gnome-vfs-2.0
        -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2
        -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
        -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-module-2.0
        -O2 -march=athlon-xp -mtune=athlon-xp -mcpu=athlon-xp
        -mfpmath=sse -mmmx -msse -m3dnow -Wall -pipe
        -fomit-frame-pointer -MT synce-in-computer-folder.o -MD -MP
        -MF .deps/synce-in-computer-folder.Tpo -c -o
        synce-in-computer-folder.o synce-in-computer-folder.c
        mkdir .libs
         i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -pthread
        -DORBIT2=1 -I/usr/include/gnome-vfs-2.0
        -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2
        -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
        -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-module-2.0
        -O2 -march=athlon-xp -mtune=athlon-xp -mcpu=athlon-xp
        -mfpmath=sse -mmmx -msse -m3dnow -Wall -pipe
        -fomit-frame-pointer -MT libsyncevfs.lo -MD -MP
        -MF .deps/libsyncevfs.Tpo -c libsyncevfs.c  -fPIC -DPIC
        -o .libs/libsyncevfs.o
        mv

-f .deps/synce-in-computer-folder.Tpo .deps/synce-in-computer-folder.Po
        /bin/sh ../libtool --tag=CC   --mode=link i686-pc-linux-gnu-gcc
        -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0
        -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2
        -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
        -I/usr/lib/glib-2.0/include -I/usr/include/gnome-vfs-module-2.0
        -O2 -march=athlon-xp -mtune=athlon-xp -mcpu=athlon-xp
        -mfpmath=sse -mmmx -msse -m3dnow -Wall -pipe
        -fomit-frame-pointer -lsynce   -lrapi -lsynce    -o
        synce-in-computer-folder synce-in-computer-folder.o   -pthread
        -lgnomevfs-2 -lgconf-2 -lgobject-2.0 -lORBit-2 -lm -lgmodule-2.0
        -ldl -lgthread-2.0 -lglib-2.0   
        libsyncevfs.c: In function 'synce_seek':
        libsyncevfs.c:543: error: 'FILE_BEGIN' undeclared (first use in
        this function)
        libsyncevfs.c:543: error: (Each undeclared identifier is
        reported only once
        libsyncevfs.c:543: error: for each function it appears in.)
        libsyncevfs.c:546: error: 'FILE_CURRENT' undeclared (first use
        in this function)
        libsyncevfs.c:549: error: 'FILE_END' undeclared (first use in
        this function)
        libsyncevfs.c:559: warning: implicit declaration of function
        'CeSetFilePointer'
        libsyncevfs.c: In function 'synce_tell':
        libsyncevfs.c:602: error: 'FILE_CURRENT' undeclared (first use
        in this function)
        make[2]: *** [libsyncevfs.lo] Error 1
        make[2]: *** Waiting for unfinished jobs....
        i686-pc-linux-gnu-gcc -pthread -DORBIT2=1
        -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
        -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
        -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
        -I/usr/include/gnome-vfs-module-2.0 -O2 -march=athlon-xp
        -mtune=athlon-xp -mcpu=athlon-xp -mfpmath=sse -mmmx -msse
        -m3dnow -Wall -pipe -fomit-frame-pointer -o
        synce-in-computer-folder synce-in-computer-folder.o

-pthread  /usr/lib/librapi.so /usr/lib/libsynce.so /usr/lib/libgnomevfs-2.so 
/usr/lib/libxml2.so -lz /usr/lib/libdbus-glib-1.so /usr/lib/libdbus-1.so -lnsl 
-lssl -lcrypto -lresolv -lutil /usr/lib/libgconf-2.so /usr/lib/libORBit-2.so 
/usr/lib/libgobject-2.0.so -lm /usr/lib/libgmodule-2.0.so -ldl 
/usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -lrt
        make[2]: Leaving directory

`/var/tmp/portage/synce-gnomevfs-99.99.99/work/synce-gnomevfs-99.99.99/src'
        make[1]: *** [all-recursive] Error 1
        make[1]: Leaving directory

`/var/tmp/portage/synce-gnomevfs-99.99.99/work/synce-gnomevfs-99.99.99'
        make: *** [all] Error 2
        
If I understand the error messages correct it seems that the constant
deinitions are missing (I assume the best place would by rapi.h in
librapi):
        /* dwMoveMethod */
        #define FILE_BEGIN   0
        #define FILE_CURRENT 1
        #define FILE_END     2
        
Best regards,
Stefan


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Synce-devel mailing list
Synce-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to