Ph. Marek wrote, On 31/01/07 01:31:
cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
-idirafter /usr/local/include  -idirafter /usr/include  -idirafter
/openpkg/include  -idirafter /usr/local/include/apr-0  -idirafter
/usr/include/apr-0 -Os -DFSVS_VERSION='"fsvs-1.0.15:584"'  -c -o
actions.o actions.c
In file included from actions.c:15:
checksum.h:25: error: syntax error before "no"
checksum.h:25: warning: no semicolon at end of struct or union
checksum.h:32: error: syntax error before '*' token
checksum.h:32: warning: type defaults to `int' in declaration of `index'
checksum.h:32: error: 'index' redeclared as different kind of symbol
checksum.h:32: error: 'index' redeclared as different kind of symbol
checksum.h:32: warning: data definition has no type or storage class
checksum.h:33: error: syntax error before '}' token
make: *** [actions.o] Error 1
I think in the generated config.h you'll find something like
    #define AC_CV_C_UINT32_T  no
which means that there's no 32bit unsigned int type found by configure.
If you know your sizes :-) you could try changing that line - eg. to
    #define AC_CV_C_UINT32_T  unsigned int
Here what is included in config.h

/** Unsigned 32bit type.
* The value of \c AC_CV_C_UINT32_T changed between autoconf 2.59e and 2.60.
* Since 2.60 we get \c yes instead of the type.
* And there's no \c HAVE_UINT32_T ...
* I don't seem to get that to work properly.
* So I changed configure.in to substitute \c yes to \c uint32_t. */
/* #undef HAVE_UINT32_T */
/* #if HAVE_UINT32_T
 #include <stdint.h>
 #include <inttypes.h>
#endif
*/
#define AC_CV_C_UINT32_T no


Using #define AC_CV_C_UINT32_T unsigned int fixes the previous error... Now the next one:

<snip>

include -idirafter /usr/local/include/apr-0 -idirafter /usr/include/apr-0 -Os -DFSVS_VERSION='"fsvs-1.0.15:584"' -c -o sync.o sync.c
In file included from global.h:12,
                from sync.c:35:
config.h:78:1: warning: "O_DIRECTORY" redefined
In file included from /usr/include/fcntl.h:33,
                from sync.c:32:
/usr/include/bits/fcntl.h:47:1: warning: this is the location of the previous definition cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/local/include/apr-0 -idirafter /usr/include/apr-0 -Os -DFSVS_VERSION='"fsvs-1.0.15:584"' -c -o update.o update.c
In file included from global.h:12,
                from update.c:32:
config.h:78:1: warning: "O_DIRECTORY" redefined
In file included from /usr/include/fcntl.h:33,
                from update.c:29:
/usr/include/bits/fcntl.h:47:1: warning: this is the location of the previous definition cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/local/include/apr-0 -idirafter /usr/include/apr-0 -Os -DFSVS_VERSION='"fsvs-1.0.15:584"' -c -o waa.o waa.c
In file included from global.h:12,
                from waa.h:12,
                from waa.c:21:
config.h:78:1: warning: "O_DIRECTORY" redefined
In file included from /usr/include/fcntl.h:33,
                from waa.c:9:
/usr/include/bits/fcntl.h:47:1: warning: this is the location of the previous definition cc -Wall -funsigned-char -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64 -idirafter /usr/local/include -idirafter /usr/include -idirafter /openpkg/include -idirafter /usr/local/include/apr-0 -idirafter /usr/include/apr-0 -Os -DFSVS_VERSION='"fsvs-1.0.15:584"' -c -o warnings.o warnings.c
In file included from global.h:12,
                from warnings.c:16:
config.h:78:1: warning: "O_DIRECTORY" redefined
In file included from /usr/include/fcntl.h:33,
                from warnings.c:10:
/usr/include/bits/fcntl.h:47:1: warning: this is the location of the previous definition cc -L/usr/local/lib -L/openpkg/lib -lsvn_subr-1 -lsvn_ra-1 -lsvn_client-1 -lpcre -o fsvs ac_list.o actions.o add_unvers.o build.o checksum.o commit.o diff.o direnum.o est_ops.o export.o fsvs.o helper.o ignore.o info.o init.o pwcache.o racallback.o remote.o revert.o status.o sync.o update.o waa.o warnings.o /usr/local/subversion-1.4.2/lib/libsvn_ra_dav-1.so.0: undefined reference to `gss_import_name' /usr/local/subversion-1.4.2/lib/libsvn_ra_dav-1.so.0: undefined reference to `gss_release_name' /usr/local/subversion-1.4.2/lib/libsvn_ra_dav-1.so.0: undefined reference to `gss_delete_sec_context' /usr/local/subversion-1.4.2/lib/libsvn_ra_dav-1.so.0: undefined reference to `gss_display_status' /usr/local/subversion-1.4.2/lib/libsvn_ra_dav-1.so.0: undefined reference to `gss_release_buffer' /usr/local/subversion-1.4.2/lib/libsvn_ra_dav-1.so.0: undefined reference to `gss_init_sec_context' /usr/local/subversion-1.4.2/lib/libsvn_ra_dav-1.so.0: undefined reference to `GSS_C_NT_HOSTBASED_SERVICE'
collect2: ld returned 1 exit status
make: *** [fsvs] Error 1

<snip>

This is all on CentOS, isn't it? Hmmm .. is such a system available
anywhere? SF has none (http://sourceforge.net/docs/compile_farm#hosts).
CentOS 4.4 is in fact Red Hat Enterprise Linux 4. SF seems to have some Red Hat Enterprise Linux <http://www.redhat.com/software/rhel/> AS 3 (http://sourceforge.net/docs/compile_farm#devel_tools)
One of the main problems seems to be that you get newlines in the INCDIR
variable.
Could you please take a look into configure.in and change the part
     ... then echo $d ...
into
     ... then printf "%s " $d ...
and do an autoconf/configure/make run?
Exact. You nailed it!

Ben.

Reply via email to