Cédric Chabanois wrote:
> Hi all,
>
> In this patch :
> - all that was in the previous patch I sent here (not yet committed)
> - modifications so that it compiles with subversion 0.29.0
> - new available function : diff
>
> Patrick does not seem to have the time to commit my changes and make
> javahl up to date.
> I think it would be great if I were a commiter too on javahl. Do you
> agree Patrick ?
> That way, I would be able to add new functions if necessary and make
> sure it is updated when a new version of subversion is released.
>
> I have also updated
> http://subversion.tigris.org/issues/show_bug.cgi?id=1501
Hi Cédric. I incorporated the changes suggested by Mika and updated your
updated patch. It still doesn't compile for me, but I do applaud your
efforts. I was looking at the library loading code the other day when working
on the SWIG-based bindings (which are far behind the javahl implementation),
and noticed that the existing javahl implementation is woefully out of date.
I've attached the build errors I'm seeing which at first glance appear to show
something wrong with the included headers. If you help me work through these,
I can commit your patch.
- Dan
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'
source='SVNClient.cpp' object='SVNClient.lo' libtool=yes \
depfile='.deps/SVNClient.Plo' tmpdepfile='.deps/SVNClient.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/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 -c -o SVNClient.lo `test -f 'SVNClient.cpp' || echo './'`SVNClient.cpp
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 -c SVNClient.cpp -MT SVNClient.lo -MD -MP -MF .deps/SVNClient.TPlo -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 Thu Sep 25 10:08:19 2003