[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] javahl

From: Daniel Rall <dlr_at_finemaltcoding.com>
Date: 2003-09-29 21:41:17 CEST

lamikr_mdk wrote:
>>> Have you had time to test whether converting files to unixmode helped
>>> you to get the compilation done?
>>
>> AFAIK, I haven't run into any trouble with the Windoze EOL characters
>> (I'm seeing unrelated compilation errors). Do note that I have gcc
>> version 3.2.2-5 (stock RH 9 RPM), rather than the 3.3.1 you suggest.
>> There is an RPM for that available from RH RawHide, so I plan on
>> revving my gcc and trying that within the next couple days.
>
> Ok, but the EOL character caused problems are sometimes very hard to
> track, as they seems to point files where are anything visible problems.

The errors I am seeing are quite visible in code which is now checked into the
tip of the trunk, EOL mis-match or not.

> Before upgrading gcc could you try to build the new javahl version from
> the trunk? (I would really be interested in to know whether patch + eol
> changes help javahl to build in your environment)

Certainly! Here is the compilation attempt using a fresh pull from the repository:

dlr@despot:javahl$ rpm -q automake autoconf gcc
automake-1.7.7-1
autoconf-2.57-3
gcc-3.2.2-5
dlr@despot:javahl$ ./autogen.sh
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
Makefile.am: installing `./INSTALL'
native/Makefile.am: installing `./depcomp'
dlr@despot:javahl$ ./configure --with-jdk=$JAVA_HOME
creating config.nice
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output... 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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
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 ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
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... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
../../../../svn-config: line 1: abs_builddir: command not found
../../../../svn-config: line 1: abs_srcdir: command not found
../../../../svn-config: line 1: abs_builddir: command not found
../../../../svn-config: line 1: abs_srcdir: command not found
../../../../svn-config: line 1: abs_builddir: command not found
../../../../svn-config: line 1: abs_srcdir: command not found
../../../../svn-config: line 1: abs_builddir: command not found
../../../../svn-config: line 1: abs_srcdir: command not found
../../../../svn-config: line 1: abs_builddir: command not found
../../../../svn-config: line 1: abs_srcdir: command not found
../../../../svn-config: line 1: abs_builddir: command not found
../../../../svn-config: line 1: abs_srcdir: command not found
checking for JDK... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating native/Makefile
config.status: creating cls/Makefile
config.status: creating doc/Makefile
config.status: executing depfiles commands
dlr@despot:javahl$ make
Making all in src
make[1]: Entering directory
`/home/dlr/src/tigris.org/subversion/trunk/subversion/bindings/java/javahl/src'
CLASSPATH=../cls:./../cls:$CLASSPATH /usr/java/jdk1.3.1_01/bin/javac -d ../cls
-g org/tigris/subversion/javahl/ClientException.java
org/tigris/subversion/javahl/DirEntry.java
org/tigris/subversion/javahl/JNIError.java
org/tigris/subversion/javahl/LogMessage.java
org/tigris/subversion/javahl/NodeKind.java
org/tigris/subversion/javahl/Notify.java
org/tigris/subversion/javahl/PromptUserPassword.java
org/tigris/subversion/javahl/PropertyData.java
org/tigris/subversion/javahl/Revision.java
org/tigris/subversion/javahl/Status.java org/tigris/subversion/javahl/SVNClient.java
echo timestamp > classnoinst.stamp
make[1]: Leaving directory
`/home/dlr/src/tigris.org/subversion/trunk/subversion/bindings/java/javahl/src'
Making all in native
make[1]: Entering directory
`/home/dlr/src/tigris.org/subversion/trunk/subversion/bindings/java/javahl/native'
/usr/java/jdk1.3.1_01/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.SVNClient
[Search path =
/usr/java/jdk1.3.1_01/jre/lib/rt.jar:/usr/java/jdk1.3.1_01/jre/lib/i18n.jar:/usr/java/jdk1.3.1_01/jre/lib/sunrsasign.jar:/usr/java/jdk1.3.1_01/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/SVNClient.class]
[Loaded /usr/java/jdk1.3.1_01/jre/lib/rt.jar(java/lang/Object.class)]
[Loaded ../cls/org/tigris/subversion/javahl/Revision.class]
[Loaded ../cls/org/tigris/subversion/javahl/Status.class]
[Loaded ../cls/org/tigris/subversion/javahl/PromptUserPassword.class]
[Loaded ../cls/org/tigris/subversion/javahl/Notify.class]
[Loaded ../cls/org/tigris/subversion/javahl/PropertyData.class]
[Forcefully writing file org_tigris_subversion_javahl_SVNClient.h]
/usr/java/jdk1.3.1_01/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.SVNClient\$LogLevel
[Search path =
/usr/java/jdk1.3.1_01/jre/lib/rt.jar:/usr/java/jdk1.3.1_01/jre/lib/i18n.jar:/usr/java/jdk1.3.1_01/jre/lib/sunrsasign.jar:/usr/java/jdk1.3.1_01/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/SVNClient$LogLevel.class]
[Loaded /usr/java/jdk1.3.1_01/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_SVNClient_LogLevel.h]
/usr/java/jdk1.3.1_01/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.NodeKind
[Search path =
/usr/java/jdk1.3.1_01/jre/lib/rt.jar:/usr/java/jdk1.3.1_01/jre/lib/i18n.jar:/usr/java/jdk1.3.1_01/jre/lib/sunrsasign.jar:/usr/java/jdk1.3.1_01/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/NodeKind.class]
[Loaded /usr/java/jdk1.3.1_01/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_NodeKind.h]
/usr/java/jdk1.3.1_01/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.Notify\$Action
[Search path =
/usr/java/jdk1.3.1_01/jre/lib/rt.jar:/usr/java/jdk1.3.1_01/jre/lib/i18n.jar:/usr/java/jdk1.3.1_01/jre/lib/sunrsasign.jar:/usr/java/jdk1.3.1_01/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/Notify$Action.class]
[Loaded /usr/java/jdk1.3.1_01/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_Notify_Action.h]
/usr/java/jdk1.3.1_01/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.Notify\$Status
[Search path =
/usr/java/jdk1.3.1_01/jre/lib/rt.jar:/usr/java/jdk1.3.1_01/jre/lib/i18n.jar:/usr/java/jdk1.3.1_01/jre/lib/sunrsasign.jar:/usr/java/jdk1.3.1_01/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/Notify$Status.class]
[Loaded /usr/java/jdk1.3.1_01/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_Notify_Status.h]
/usr/java/jdk1.3.1_01/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.Revision
[Search path =
/usr/java/jdk1.3.1_01/jre/lib/rt.jar:/usr/java/jdk1.3.1_01/jre/lib/i18n.jar:/usr/java/jdk1.3.1_01/jre/lib/sunrsasign.jar:/usr/java/jdk1.3.1_01/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/Revision.class]
[Loaded /usr/java/jdk1.3.1_01/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_Revision.h]
/usr/java/jdk1.3.1_01/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.Revision\$Kind
[Search path =
/usr/java/jdk1.3.1_01/jre/lib/rt.jar:/usr/java/jdk1.3.1_01/jre/lib/i18n.jar:/usr/java/jdk1.3.1_01/jre/lib/sunrsasign.jar:/usr/java/jdk1.3.1_01/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/Revision$Kind.class]
[Loaded /usr/java/jdk1.3.1_01/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_Revision_Kind.h]
/usr/java/jdk1.3.1_01/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.Status\$Kind
[Search path =
/usr/java/jdk1.3.1_01/jre/lib/rt.jar:/usr/java/jdk1.3.1_01/jre/lib/i18n.jar:/usr/java/jdk1.3.1_01/jre/lib/sunrsasign.jar:/usr/java/jdk1.3.1_01/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/Status$Kind.class]
[Loaded /usr/java/jdk1.3.1_01/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_Status_Kind.h]
make all-am
make[2]: Entering directory
`/home/dlr/src/tigris.org/subversion/trunk/subversion/bindings/java/javahl/native'
if /bin/sh ../libtool --mode=compile g++ -DPACKAGE_NAME=\"javahl\"
-DPACKAGE_TARNAME=\"javahl\" -DPACKAGE_VERSION=\"0.24\"
-DPACKAGE_STRING=\"javahl\ 0.24\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"javahl\"
-DVERSION=\"0.24\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.
-I. -g -O2 -g -g -Wall -Wmissing-prototypes
-Wstrict-prototypes -Wmissing-declarations -pthread -DNEON_ZLIB -DSVN_DEBUG
-DAP_DEBUG -Wpointer-arith -Wwrite-strings -Wshadow -std=c89 -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
         -I/home/dlr/src/svn/include -I/neon/src
-I/usr/local/subversion/include/neon -I/usr/local/db-4.0.14/include
-I/usr/local/apache2/include -I/usr/local/apache2/include
-I/usr/local/db-4.0.14/include -I/home/dlr/src/svn/subversion/include
-I/usr/java/jdk1.3.1_01/include -I/usr/java/jdk1.3.1_01/include/linux -MT
SVNClient.lo -MD -MP -MF ".deps/SVNClient.Tpo" \
   -c -o SVNClient.lo `test -f 'SVNClient.cpp' || echo './'`SVNClient.cpp; \
then mv -f ".deps/SVNClient.Tpo" ".deps/SVNClient.Plo"; \
else rm -f ".deps/SVNClient.Tpo"; exit 1; \
fi
mkdir .libs
g++ -DPACKAGE_NAME=\"javahl\" -DPACKAGE_TARNAME=\"javahl\"
-DPACKAGE_VERSION=\"0.24\" "-DPACKAGE_STRING=\"javahl 0.24\""
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"javahl\" -DVERSION=\"0.24\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -g -g -Wall
-Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread
-DNEON_ZLIB -DSVN_DEBUG -DAP_DEBUG -Wpointer-arith -Wwrite-strings -Wshadow
-std=c89 -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -I/home/dlr/src/svn/include -I/neon/src
-I/usr/local/subversion/include/neon -I/usr/local/db-4.0.14/include
-I/usr/local/apache2/include -I/usr/local/apache2/include
-I/usr/local/db-4.0.14/include -I/home/dlr/src/svn/subversion/include
-I/usr/java/jdk1.3.1_01/include -I/usr/java/jdk1.3.1_01/include/linux -MT
SVNClient.lo -MD -MP -MF .deps/SVNClient.Tpo -c SVNClient.cpp -fPIC
-DPIC -o .libs/SVNClient.lo
SVNClient.cpp:18: parse error before `/' token
In file included from SVNClient.cpp:22:
SVNClient.h:27:8: warning: extra tokens at end of #endif directive
In file included from /usr/include/_G_config.h:44,
                  from /usr/include/libio.h:32,
                  from /usr/include/stdio.h:72,
                  from /usr/java/jdk1.3.1_01/include/jni.h:24,
                  from SVNClient.h:28,
                  from SVNClient.cpp:22:
/usr/include/gconv.h:72: type specifier omitted for parameter `size_t'
/usr/include/gconv.h:72: parse error before `*' token
/usr/include/gconv.h:88: type specifier omitted for parameter `size_t'
/usr/include/gconv.h:88: parse error before `*' token
/usr/include/gconv.h:97: type specifier omitted for parameter `size_t'
/usr/include/gconv.h:97: parse error before `*' token
/usr/include/gconv.h:174: 'size_t' is used as a type, but is not defined as a
    type.
In file included from /usr/include/stdio.h:72,
                  from /usr/java/jdk1.3.1_01/include/jni.h:24,
                  from SVNClient.h:28,
                  from SVNClient.cpp:22:
/usr/include/libio.h:350: type specifier omitted for parameter `size_t'
/usr/include/libio.h:350: parse error before `)' token
/usr/include/libio.h:359: type specifier omitted for parameter `size_t'
/usr/include/libio.h:359: parse error before `)' token
/usr/include/libio.h:467: syntax error before `(' token
In file included from /usr/java/jdk1.3.1_01/include/jni.h:24,
                  from SVNClient.h:28,
                  from SVNClient.cpp:22:
/usr/include/stdio.h:263: type specifier omitted for parameter `size_t'
/usr/include/stdio.h:263: parse error before `,' token
/usr/include/stdio.h:269: type specifier omitted for parameter `size_t'
/usr/include/stdio.h:269: parse error before `*' token
/usr/include/stdio.h:281: type specifier omitted for parameter `size_t'
/usr/include/stdio.h:281: parse error before `)' token
/usr/include/stdio.h:288: type specifier omitted for parameter `size_t'
/usr/include/stdio.h:288: parse error before `)' token
/usr/include/stdio.h:319: type specifier omitted for parameter `size_t'
/usr/include/stdio.h:319: parse error before `,' token
/usr/include/stdio.h:323: type specifier omitted for parameter `size_t'
/usr/include/stdio.h:323: parse error before `,' token
/usr/include/stdio.h:464: type specifier omitted for parameter `size_t'
/usr/include/stdio.h:464: parse error before `*' token
/usr/include/stdio.h:467: type specifier omitted for parameter `size_t'
/usr/include/stdio.h:467: parse error before `*' token
/usr/include/stdio.h:472: type specifier omitted for parameter `size_t'
/usr/include/stdio.h:472: parse error before `*' token
/usr/include/stdio.h:491: syntax error before `(' token
/usr/include/stdio.h:494: syntax error before `(' token
/usr/include/stdio.h:506: syntax error before `(' token
/usr/include/stdio.h:508: syntax error before `(' token
In file included from /usr/include/stdio.h:676,
                  from /usr/java/jdk1.3.1_01/include/jni.h:24,
                  from SVNClient.h:28,
                  from SVNClient.cpp:22:
/usr/include/bits/stdio.h:102: type specifier omitted for parameter `size_t'
/usr/include/bits/stdio.h:102: parse error before `*' token
/usr/include/bits/stdio.h: In function `__ssize_t getline(...)':
/usr/include/bits/stdio.h:104: `__lineptr' undeclared (first use this function)
/usr/include/bits/stdio.h:104: (Each undeclared identifier is reported only
    once for each function it appears in.)
/usr/include/bits/stdio.h:104: `__n' undeclared (first use this function)
/usr/include/bits/stdio.h:104: `__stream' undeclared (first use this function)
In file included from SVNClient.h:29,
                  from SVNClient.cpp:22:
Path.h:27:8: warning: extra tokens at end of #endif directive
Path.h:28:18: string: No such file or directory
In file included from SVNClient.h:29,
                  from SVNClient.cpp:22:
Path.h: At global scope:
Path.h:36: syntax error before `:' token
Path.h:52: parse error before `:' token
Path.h:77: parse error before `:' token
Path.h:87:8: warning: extra tokens at end of #endif directive
In file included from /usr/include/sys/types.h:266,
                  from /usr/local/apache2/include/apr.h:151,
                  from /usr/local/apache2/include/apr_tables.h:63,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/bits/pthreadtypes.h:48: 'size_t' is used as a type, but is not
    defined as a type.
/usr/include/bits/pthreadtypes.h:51: 'size_t' is used as a type, but is not
    defined as a type.
In file included from /usr/include/sys/uio.h:29,
                  from /usr/include/sys/socket.h:27,
                  from /usr/local/apache2/include/apr.h:155,
                  from /usr/local/apache2/include/apr_tables.h:63,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/bits/uio.h:45: 'size_t' is used as a type, but is not defined as a
    type.
In file included from /usr/include/sys/socket.h:35,
                  from /usr/local/apache2/include/apr.h:155,
                  from /usr/local/apache2/include/apr_tables.h:63,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/bits/socket.h:221: 'size_t' is used as a type, but is not defined
    as a type.
/usr/include/bits/socket.h:224: 'size_t' is used as a type, but is not defined
    as a type.
/usr/include/bits/socket.h:232: 'size_t' is used as a type, but is not defined
    as a type.
/usr/include/bits/socket.h: In function `cmsghdr* __cmsg_nxthdr(msghdr*,
    cmsghdr*)':
/usr/include/bits/socket.h:266: `size_t' undeclared (first use this function)
/usr/include/bits/socket.h:266: parse error before `->' token
/usr/include/bits/socket.h:271: `struct cmsghdr' has no member named `cmsg_len'
/usr/include/bits/socket.h:271: parse error before `~' token
/usr/include/bits/socket.h:271: parse error before `)' token
/usr/include/bits/socket.h:273: `struct msghdr' has no member named `
    msg_controllen'
/usr/include/bits/socket.h:274: `struct cmsghdr' has no member named `cmsg_len'
/usr/include/bits/socket.h:274: parse error before `~' token
/usr/include/bits/socket.h:275: parse error before `>' token
In file included from /usr/local/apache2/include/apr.h:155,
                  from /usr/local/apache2/include/apr_tables.h:63,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/sys/socket.h: At global scope:
/usr/include/sys/socket.h:111: non-local function `int bind(int, <anonymous
    union>, unsigned int)' uses anonymous type
/usr/include/sys/socket.h:115: non-local function `int getsockname(int,
    <anonymous union>, socklen_t*)' uses anonymous type
/usr/include/sys/socket.h:122: non-local function `int connect(int, <anonymous
    union>, unsigned int)' uses anonymous type
/usr/include/sys/socket.h:127: non-local function `int getpeername(int,
    <anonymous union>, socklen_t*)' uses anonymous type
/usr/include/sys/socket.h:131: type specifier omitted for parameter `size_t'
/usr/include/sys/socket.h:131: parse error before `,' token
/usr/include/sys/socket.h:136: type specifier omitted for parameter `size_t'
/usr/include/sys/socket.h:136: parse error before `,' token
/usr/include/sys/socket.h:141: type specifier omitted for parameter `size_t'
/usr/include/sys/socket.h:141: parse error before `,' token
/usr/include/sys/socket.h:149: type specifier omitted for parameter `size_t'
/usr/include/sys/socket.h:149: parse error before `,' token
/usr/include/sys/socket.h:191: non-local function `int accept(int, <anonymous
    union>, socklen_t*)' uses anonymous type
In file included from /usr/include/signal.h:328,
                  from /usr/include/sys/wait.h:30,
                  from /usr/local/apache2/include/apr.h:163,
                  from /usr/local/apache2/include/apr_tables.h:63,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/bits/sigstack.h:54: 'size_t' is used as a type, but is not defined
    as a type.
In file included from /usr/local/apache2/include/apr.h:163,
                  from /usr/local/apache2/include/apr_tables.h:63,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/sys/wait.h:109: non-local function `__pid_t wait(<anonymous
    union>)' uses anonymous type
In file included from /usr/local/apache2/include/apr.h:163,
                  from /usr/local/apache2/include/apr_tables.h:63,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/sys/wait.h:157: non-local function `__pid_t wait3(<anonymous
    union>, int, rusage*)' uses anonymous type
/usr/include/sys/wait.h:167: non-local function `__pid_t wait4(int, <anonymous
    union>, int, rusage*)' uses anonymous type
In file included from /usr/local/apache2/include/apr_tables.h:63,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/local/apache2/include/apr.h:305: syntax error before `;' token
In file included from /usr/local/apache2/include/apr_pools.h:76,
                  from /usr/local/apache2/include/apr_tables.h:64,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/local/apache2/include/apr_errno.h:91: type specifier omitted for parameter
    `apr_size_t'
/usr/local/apache2/include/apr_errno.h:91: parse error before `)' token
In file included from /usr/local/apache2/include/apr_want.h:101,
                  from /usr/local/apache2/include/apr_pools.h:79,
                  from /usr/local/apache2/include/apr_tables.h:64,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/string.h:39: type specifier omitted for parameter `size_t'
/usr/include/string.h:39: parse error before `)' token
/usr/include/string.h:42: type specifier omitted for parameter `size_t'
/usr/include/string.h:42: parse error before `)' token
/usr/include/string.h:51: type specifier omitted for parameter `size_t'
/usr/include/string.h:51: parse error before `)' token
/usr/include/string.h:58: type specifier omitted for parameter `size_t'
/usr/include/string.h:58: parse error before `)' token
/usr/include/string.h:61: type specifier omitted for parameter `size_t'
/usr/include/string.h:61: parse error before `)' token
/usr/include/string.h:65: type specifier omitted for parameter `size_t'
/usr/include/string.h:65: parse error before `)' token
/usr/include/string.h:75: type specifier omitted for parameter `size_t'
/usr/include/string.h:75: parse error before `)' token
/usr/include/string.h:86: type specifier omitted for parameter `size_t'
/usr/include/string.h:86: parse error before `)' token
/usr/include/string.h:93: type specifier omitted for parameter `size_t'
/usr/include/string.h:93: parse error before `)' token
/usr/include/string.h:99: type specifier omitted for parameter `size_t'
/usr/include/string.h:99: parse error before `)' token
/usr/include/string.h:106: syntax error before `(' token
In file included from /usr/local/apache2/include/apr_want.h:101,
                  from /usr/local/apache2/include/apr_pools.h:79,
                  from /usr/local/apache2/include/apr_tables.h:64,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/string.h:120: syntax error before `(' token
/usr/include/string.h:133: type specifier omitted for parameter `size_t'
/usr/include/string.h:133: parse error before `)' token
/usr/include/string.h:176: syntax error before `(' token
/usr/include/string.h:180: syntax error before `(' token
/usr/include/string.h:215: type specifier omitted for parameter `size_t'
/usr/include/string.h:215: parse error before `,' token
/usr/include/string.h:222: type specifier omitted for parameter `size_t'
/usr/include/string.h:222: parse error before `)' token
/usr/include/string.h:224: type specifier omitted for parameter `size_t'
/usr/include/string.h:224: parse error before `)' token
/usr/include/string.h:230: syntax error before `(' token
/usr/include/string.h:236: syntax error before `(' token
/usr/include/string.h:248: type specifier omitted for parameter `size_t'
/usr/include/string.h:248: parse error before `)' token
/usr/include/string.h:253: type specifier omitted for parameter `size_t'
/usr/include/string.h:253: parse error before `)' token
/usr/include/string.h:257: type specifier omitted for parameter `size_t'
/usr/include/string.h:257: parse error before `)' token
/usr/include/string.h:260: type specifier omitted for parameter `size_t'
/usr/include/string.h:260: parse error before `)' token
/usr/include/string.h:263: type specifier omitted for parameter `size_t'
/usr/include/string.h:263: parse error before `)' token
/usr/include/string.h:291: type specifier omitted for parameter `size_t'
/usr/include/string.h:291: parse error before `)' token
/usr/include/string.h:302: type specifier omitted for parameter `size_t'
/usr/include/string.h:302: parse error before `,' token
/usr/include/string.h:330: type specifier omitted for parameter `size_t'
/usr/include/string.h:330: parse error before `)' token
/usr/include/string.h:332: type specifier omitted for parameter `size_t'
/usr/include/string.h:332: parse error before `)' token
/usr/include/string.h:338: type specifier omitted for parameter `size_t'
/usr/include/string.h:338: parse error before `)' token
In file included from /usr/include/string.h:375,
                  from /usr/local/apache2/include/apr_want.h:101,
                  from /usr/local/apache2/include/apr_pools.h:79,
                  from /usr/local/apache2/include/apr_tables.h:64,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/bits/string2.h:919: syntax error before `(' token
/usr/include/bits/string2.h:921: syntax error before `(' token
/usr/include/bits/string2.h:929: syntax error before `(' token
/usr/include/bits/string2.h:932: syntax error before `(' token
/usr/include/bits/string2.h:941: syntax error before `(' token
/usr/include/bits/string2.h:944: syntax error before `(' token
/usr/include/bits/string2.h:976: syntax error before `(' token
/usr/include/bits/string2.h:978: syntax error before `(' token
/usr/include/bits/string2.h:987: syntax error before `(' token
/usr/include/bits/string2.h:990: syntax error before `(' token
/usr/include/bits/string2.h:999: syntax error before `(' token
/usr/include/bits/string2.h:1002: syntax error before `(' token
/usr/include/bits/string2.h: In function `char* __strpbrk_c2(const char*, int,
    int)':
/usr/include/bits/string2.h:1041: parse error before `;' token
/usr/include/bits/string2.h: In function `char* __strpbrk_c3(const char*, int,
    int, int)':
/usr/include/bits/string2.h:1054: parse error before `;' token
In file included from /usr/include/bits/string2.h:1211,
                  from /usr/include/string.h:375,
                  from /usr/local/apache2/include/apr_want.h:101,
                  from /usr/local/apache2/include/apr_pools.h:79,
                  from /usr/local/apache2/include/apr_tables.h:64,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/stdlib.h: At global scope:
/usr/include/stdlib.h:556: `size_t' was not declared in this scope
/usr/include/stdlib.h:556: parse error before `)' token
/usr/include/stdlib.h:558: `size_t' was not declared in this scope
/usr/include/stdlib.h:558: parse error before `,' token
In file included from /usr/include/string.h:375,
                  from /usr/local/apache2/include/apr_want.h:101,
                  from /usr/local/apache2/include/apr_pools.h:79,
                  from /usr/local/apache2/include/apr_tables.h:64,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/bits/string2.h:1235: type specifier omitted for parameter `size_t'
/usr/include/bits/string2.h:1235: parse error before `)' token
In file included from /usr/local/apache2/include/apr_pools.h:210,
                  from /usr/local/apache2/include/apr_tables.h:64,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/local/apache2/include/apr_allocator.h:121: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_allocator.h:121: parse error before `)' token
/usr/local/apache2/include/apr_allocator.h:168: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_allocator.h:168: parse error before `)' token
/usr/local/apache2/include/apr_allocator.h:172: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_allocator.h:172: parse error before `)' token
In file included from /usr/local/apache2/include/apr_tables.h:64,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:35,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/local/apache2/include/apr_pools.h:366: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_pools.h:366: parse error before `)' token
/usr/local/apache2/include/apr_pools.h:376: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_pools.h:376: parse error before `,' token
/usr/local/apache2/include/apr_pools.h:404: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_pools.h:404: parse error before `,' token
In file included from /home/dlr/src/svn/subversion/include/svn_types.h:26,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:37,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/stdlib.h:137: syntax error before `(' token
/usr/include/stdlib.h:433: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:433: parse error before `)' token
/usr/include/stdlib.h:462: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:462: parse error before `,' token
/usr/include/stdlib.h:567: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:567: parse error before `)' token
In file included from /usr/include/stdlib.h:578,
                  from /home/dlr/src/svn/subversion/include/svn_types.h:26,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:37,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/alloca.h:33: `size_t' was not declared in this scope
/usr/include/alloca.h:33: parse error before `)' token
In file included from /home/dlr/src/svn/subversion/include/svn_types.h:26,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:37,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/include/stdlib.h:583: `size_t' was not declared in this scope
/usr/include/stdlib.h:583: parse error before `)' token
/usr/include/stdlib.h:588: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:588: parse error before `,' token
/usr/include/stdlib.h:733: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:733: parse error before `,' token
/usr/include/stdlib.h:737: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:737: parse error before `,' token
/usr/include/stdlib.h:806: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:806: parse error before `)' token
/usr/include/stdlib.h:809: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:809: parse error before `)' token
/usr/include/stdlib.h:813: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:813: parse error before `)' token
/usr/include/stdlib.h:816: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:816: parse error before `)' token
/usr/include/stdlib.h:824: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:824: parse error before `)' token
/usr/include/stdlib.h:828: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:828: parse error before `)' token
/usr/include/stdlib.h:835: syntax error before `(' token
/usr/include/stdlib.h:838: syntax error before `(' token
/usr/include/stdlib.h:900: type specifier omitted for parameter `size_t'
/usr/include/stdlib.h:900: parse error before `)' token
In file included from /home/dlr/src/svn/subversion/include/svn_types.h:32,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:37,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/local/apache2/include/apr_time.h:265: type specifier omitted for parameter
    `apr_size_t'
/usr/local/apache2/include/apr_time.h:265: parse error before `*' token
In file included from /home/dlr/src/svn/subversion/include/svn_string.h:71,
                  from /home/dlr/src/svn/subversion/include/svn_wc.h:42,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:38,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/local/apache2/include/apr_strings.h:147: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_strings.h:147: parse error before `)' token
/usr/local/apache2/include/apr_strings.h:157: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_strings.h:157: parse error before `)' token
/usr/local/apache2/include/apr_strings.h:167: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_strings.h:167: parse error before `)' token
/usr/local/apache2/include/apr_strings.h:186: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_strings.h:186: parse error before `,' token
/usr/local/apache2/include/apr_strings.h:229: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_strings.h:229: parse error before `)' token
/usr/local/apache2/include/apr_strings.h:293: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_strings.h:293: parse error before `,' token
/usr/local/apache2/include/apr_strings.h:305: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_strings.h:305: parse error before `,' token
In file included from /home/dlr/src/svn/subversion/include/svn_wc.h:42,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:38,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/home/dlr/src/svn/subversion/include/svn_string.h:86: 'apr_size_t' is used as a
    type, but is not defined as a type.
/home/dlr/src/svn/subversion/include/svn_string.h:103: 'apr_size_t' is used as
    a type, but is not defined as a type.
/home/dlr/src/svn/subversion/include/svn_string.h:106: 'apr_size_t' is used as
    a type, but is not defined as a type.
/home/dlr/src/svn/subversion/include/svn_string.h:123: parse error before `,'
    token
/home/dlr/src/svn/subversion/include/svn_string.h:160: parse error before `*'
    token
/home/dlr/src/svn/subversion/include/svn_string.h:168: parse error before `*'
    token
/home/dlr/src/svn/subversion/include/svn_string.h:186: parse error before `,'
    token
/home/dlr/src/svn/subversion/include/svn_string.h:215: type specifier omitted
    for parameter `apr_size_t'
/home/dlr/src/svn/subversion/include/svn_string.h:215: parse error before `)'
    token
/home/dlr/src/svn/subversion/include/svn_string.h:227: type specifier omitted
    for parameter `apr_size_t'
/home/dlr/src/svn/subversion/include/svn_string.h:227: parse error before `)'
    token
/home/dlr/src/svn/subversion/include/svn_string.h:238: parse error before `)'
    token
/home/dlr/src/svn/subversion/include/svn_string.h:266: parse error before `*'
    token
/home/dlr/src/svn/subversion/include/svn_string.h:274: parse error before `*'
    token
In file included from /home/dlr/src/svn/subversion/include/svn_delta.h:34,
                  from /home/dlr/src/svn/subversion/include/svn_wc.h:43,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:38,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/home/dlr/src/svn/subversion/include/svn_error.h:57: type specifier omitted for
    parameter `apr_size_t'
/home/dlr/src/svn/subversion/include/svn_error.h:57: parse error before `)'
    token
In file included from /home/dlr/src/svn/subversion/include/svn_io.h:30,
                  from /home/dlr/src/svn/subversion/include/svn_delta.h:35,
                  from /home/dlr/src/svn/subversion/include/svn_wc.h:43,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:38,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/usr/local/apache2/include/apr_file_io.h:344: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_file_io.h:344: parse error before `*' token
/usr/local/apache2/include/apr_file_io.h:362: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_file_io.h:362: parse error before `*' token
/usr/local/apache2/include/apr_file_io.h:381: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_file_io.h:381: parse error before `,' token
/usr/local/apache2/include/apr_file_io.h:403: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_file_io.h:403: parse error before `,' token
/usr/local/apache2/include/apr_file_io.h:425: type specifier omitted for
    parameter `apr_size_t'
/usr/local/apache2/include/apr_file_io.h:425: parse error before `,' token
In file included from /home/dlr/src/svn/subversion/include/svn_delta.h:35,
                  from /home/dlr/src/svn/subversion/include/svn_wc.h:43,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:38,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/home/dlr/src/svn/subversion/include/svn_io.h:238: type specifier omitted for
    parameter `apr_size_t'
/home/dlr/src/svn/subversion/include/svn_io.h:238: parse error before `*' token
/home/dlr/src/svn/subversion/include/svn_io.h:334: type specifier omitted for
    parameter `apr_size_t'
/home/dlr/src/svn/subversion/include/svn_io.h:334: parse error before `*' token
/home/dlr/src/svn/subversion/include/svn_io.h:339: type specifier omitted for
    parameter `apr_size_t'
/home/dlr/src/svn/subversion/include/svn_io.h:339: parse error before `*' token
/home/dlr/src/svn/subversion/include/svn_io.h:398: type specifier omitted for
    parameter `apr_size_t'
/home/dlr/src/svn/subversion/include/svn_io.h:398: parse error before `*' token
/home/dlr/src/svn/subversion/include/svn_io.h:402: type specifier omitted for
    parameter `apr_size_t'
/home/dlr/src/svn/subversion/include/svn_io.h:402: parse error before `*' token
In file included from /home/dlr/src/svn/subversion/include/svn_wc.h:43,
                  from /home/dlr/src/svn/subversion/include/svn_client.h:38,
                  from SVNClient.h:36,
                  from SVNClient.cpp:22:
/home/dlr/src/svn/subversion/include/svn_delta.h:115: 'apr_size_t' is used as a
    type, but is not defined as a type.
/home/dlr/src/svn/subversion/include/svn_delta.h:116: 'apr_size_t' is used as a
    type, but is not defined as a type.
/home/dlr/src/svn/subversion/include/svn_delta.h:144: 'apr_size_t' is used as a
    type, but is not defined as a type.
/home/dlr/src/svn/subversion/include/svn_delta.h:148: 'apr_size_t' is used as a
    type, but is not defined as a type.
In file included from SVNClient.cpp:22:
SVNClient.h:94: syntax error before `:' token
SVNClient.h:95: syntax error before `:' token
In file included from SVNClient.cpp:22:
SVNClient.h:104:8: warning: extra tokens at end of #endif directive
In file included from SVNClient.cpp:23:
JNIUtil.h:27:8: warning: extra tokens at end of #endif directive
JNIUtil.h:28:16: list: No such file or directory
JNIUtil.h:35:19: fstream: No such file or directory
JNIUtil.h:37:18: string: No such file or directory
In file included from SVNClient.cpp:23:
JNIUtil.h:66: type specifier omitted for parameter `std'
JNIUtil.h:66: possibly missing ')' before `:' token
JNIUtil.h:66: function body for constructor missing
JNIUtil.h:71: syntax error before `:' token
JNIUtil.h:78: syntax error before `:' token
JNIUtil.h: In static member function `static void
    JNIUtil::assembleErrorMessage(svn_error*, int, int)':
JNIUtil.h:66: parse error before `;' token
JNIUtil.h:66: only constructors take base initializers
JNIUtil.h:66: confused by earlier errors, bailing out
make[2]: *** [SVNClient.lo] Error 1
make[2]: Leaving directory
`/home/dlr/src/tigris.org/subversion/trunk/subversion/bindings/java/javahl/native'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/dlr/src/tigris.org/subversion/trunk/subversion/bindings/java/javahl/native'
make: *** [all-recursive] Error 1

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 29 21:42:22 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.