[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: lamikr_mdk <lamikr_mdk_at_aragorn.kortex.jyu.fi>
Date: 2003-09-29 23:58:39 CEST

Ok. But I will also get same compile time error than you get if I have
not build first the subversion... If I buid subversion first and only
after that run aclocal, autoconf, libtoolize, automake, configure and
make for the javahl everything will go fine. (The fact that you have
symbolic link

Here is my error log. (which can be fixed by building subversion first)

/apps/java/jdk/jdk1.4.2/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.Notify\$Action
[Search path =
/apps/java/jdk/jdk1.4.2/jre/lib/rt.jar:/apps/java/jdk/jdk1.4.2/jre/lib/i18n.jar:/apps/java/jdk/jdk1.4.2/jre/lib/sunrsasign.jar:/apps/java/jdk/jdk1.4.2/jre/lib/jsse.jar:/apps/java/jdk/jdk1.4.2/jre/lib/jce.jar:/apps/java/jdk/jdk1.4.2/jre/lib/charsets.jar:/apps/java/jdk/jdk1.4.2/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/Notify$Action.class]
[Loaded /apps/java/jdk/jdk1.4.2/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_Notify_Action.h]
/apps/java/jdk/jdk1.4.2/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.Notify\$Status
[Search path =
/apps/java/jdk/jdk1.4.2/jre/lib/rt.jar:/apps/java/jdk/jdk1.4.2/jre/lib/i18n.jar:/apps/java/jdk/jdk1.4.2/jre/lib/sunrsasign.jar:/apps/java/jdk/jdk1.4.2/jre/lib/jsse.jar:/apps/java/jdk/jdk1.4.2/jre/lib/jce.jar:/apps/java/jdk/jdk1.4.2/jre/lib/charsets.jar:/apps/java/jdk/jdk1.4.2/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/Notify$Status.class]
[Loaded /apps/java/jdk/jdk1.4.2/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_Notify_Status.h]
/apps/java/jdk/jdk1.4.2/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.Revision
[Search path =
/apps/java/jdk/jdk1.4.2/jre/lib/rt.jar:/apps/java/jdk/jdk1.4.2/jre/lib/i18n.jar:/apps/java/jdk/jdk1.4.2/jre/lib/sunrsasign.jar:/apps/java/jdk/jdk1.4.2/jre/lib/jsse.jar:/apps/java/jdk/jdk1.4.2/jre/lib/jce.jar:/apps/java/jdk/jdk1.4.2/jre/lib/charsets.jar:/apps/java/jdk/jdk1.4.2/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/Revision.class]
[Loaded /apps/java/jdk/jdk1.4.2/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_Revision.h]
/apps/java/jdk/jdk1.4.2/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.Revision\$Kind
[Search path =
/apps/java/jdk/jdk1.4.2/jre/lib/rt.jar:/apps/java/jdk/jdk1.4.2/jre/lib/i18n.jar:/apps/java/jdk/jdk1.4.2/jre/lib/sunrsasign.jar:/apps/java/jdk/jdk1.4.2/jre/lib/jsse.jar:/apps/java/jdk/jdk1.4.2/jre/lib/jce.jar:/apps/java/jdk/jdk1.4.2/jre/lib/charsets.jar:/apps/java/jdk/jdk1.4.2/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/Revision$Kind.class]
[Loaded /apps/java/jdk/jdk1.4.2/jre/lib/rt.jar(java/lang/Object.class)]
[Forcefully writing file org_tigris_subversion_javahl_Revision_Kind.h]
/apps/java/jdk/jdk1.4.2/bin/javah -force -verbose -classpath ../cls
org.tigris.subversion.javahl.Status\$Kind
[Search path =
/apps/java/jdk/jdk1.4.2/jre/lib/rt.jar:/apps/java/jdk/jdk1.4.2/jre/lib/i18n.jar:/apps/java/jdk/jdk1.4.2/jre/lib/sunrsasign.jar:/apps/java/jdk/jdk1.4.2/jre/lib/jsse.jar:/apps/java/jdk/jdk1.4.2/jre/lib/jce.jar:/apps/java/jdk/jdk1.4.2/jre/lib/charsets.jar:/apps/java/jdk/jdk1.4.2/jre/classes:../cls]
[Loaded ../cls/org/tigris/subversion/javahl/Status$Kind.class]
[Loaded /apps/java/jdk/jdk1.4.2/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/lamikr/downloads/subversion/subversion/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 -I/subversion/include
-I/apps/java/jdk/jdk1.4.2/include
-I/apps/java/jdk/jdk1.4.2/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 -I/subversion/include -I/apps/java/jdk/jdk1.4.2/include
-I/apps/java/jdk/jdk1.4.2/include/linux -MT SVNClient.lo -MD -MP -MF
.deps/SVNClient.Tpo -c SVNClient.cpp -fPIC -DPIC -o .libs/SVNClient.lo
In file included from SVNClient.cpp:22:
SVNClient.h:36:24: svn_client.h: No such file or directory
In file included from SVNClient.cpp:22:
SVNClient.h:83: error: type specifier omitted for parameter `svn_string_t'
SVNClient.h:83: error: syntax error before `*' token
SVNClient.h:84: error: type specifier omitted for parameter `svn_string_t'
SVNClient.h:84: error: syntax error before `*' token
SVNClient.h:85: error: type specifier omitted for parameter `svn_dirent_t'
SVNClient.h:85: error: syntax error before `*' token
SVNClient.h:86: error: syntax error before `*' token
SVNClient.h:90: error: ISO C++ forbids declaration of `svn_error_t' with
no typeSVNClient.h:90: error: syntax error before `*' token
SVNClient.h:96: error: type specifier omitted for parameter
`svn_wc_status_t'
SVNClient.h:96: error: syntax error before `*' token
SVNClient.h:98: error: ISO C++ forbids declaration of `svn_error_t' with
no typeSVNClient.h:98: error: declaration of `int SVNClient::svn_error_t'
SVNClient.h:90: error: conflicts with previous declaration `int
SVNClient::svn_error_t'
SVNClient.h:98: error: syntax error before `*' token
SVNClient.h:101: error: type specifier omitted for parameter
`svn_wc_status_t'
SVNClient.h:101: error: syntax error before `*' token
In file included from SVNClient.cpp:23:
JNIUtil.h:36:22: apr_time.h: No such file or directory
In file included from SVNClient.cpp:23:
JNIUtil.h:47: error: syntax error before `)' token
JNIUtil.h:66: error: type specifier omitted for parameter `apr_status_t'
JNIUtil.h:66: error: syntax error before `,' token
In file included from SVNClient.cpp:24:
Notify.h:29:20: svn_wc.h: No such file or directory
In file included from SVNClient.cpp:24:
Notify.h:37: error: `svn_wc_notify_state_t' was not declared in this scope
Notify.h:37: error: invalid data member initialization
Notify.h:37: error: (use `=' to initialize static data members)
Notify.h:54: error: type specifier omitted for parameter
`svn_wc_notify_action_t'
Notify.h:54: error: syntax error before `,' token
Notify.h:73: error: type specifier omitted for parameter
`svn_wc_notify_action_t'
Notify.h:73: error: syntax error before `,' token
In file included from SVNClient.cpp:25:
Prompter.h:30:22: svn_auth.h: No such file or directory
In file included from SVNClient.cpp:25:
Prompter.h:42: error: ISO C++ forbids declaration of `svn_error_t' with
no type
Prompter.h:42: error: syntax error before `*' token
Prompter.h:44: error: ISO C++ forbids declaration of `svn_error_t' with
no type
Prompter.h:44: error: declaration of `int Prompter::svn_error_t'
Prompter.h:42: error: conflicts with previous declaration `int
Prompter::svn_error_t'
Prompter.h:44: error: syntax error before `*' token
Prompter.h:46: error: ISO C++ forbids declaration of `svn_error_t' with
no type
Prompter.h:46: error: declaration of `int Prompter::svn_error_t'
Prompter.h:42: error: conflicts with previous declaration `int
Prompter::svn_error_t'
Prompter.h:46: error: syntax error before `*' token
Prompter.h:48: error: ISO C++ forbids declaration of `svn_error_t' with
no type
Prompter.h:48: error: declaration of `int Prompter::svn_error_t'
Prompter.h:42: error: conflicts with previous declaration `int
Prompter::svn_error_t'
Prompter.h:48: error: syntax error before `*' token
Prompter.h:50: error: ISO C++ forbids declaration of `svn_error_t' with
no type
Prompter.h:50: error: declaration of `int Prompter::svn_error_t'
Prompter.h:42: error: conflicts with previous declaration `int
Prompter::svn_error_t'
Prompter.h:50: error: syntax error before `*' token
Prompter.h:60: error: ISO C++ forbids declaration of
`svn_auth_provider_object_t' with no type
Prompter.h:60: error: syntax error before `*' token
Prompter.h:61: error: ISO C++ forbids declaration of
`svn_auth_provider_object_t' with no type
Prompter.h:61: error: declaration of `int
Prompter::svn_auth_provider_object_t'
Prompter.h:60: error: conflicts with previous declaration `int
Prompter::svn_auth_provider_object_t'
Prompter.h:61: error: syntax error before `*' token
Prompter.h:62: error: ISO C++ forbids declaration of
`svn_auth_provider_object_t' with no type
Prompter.h:62: error: declaration of `int
Prompter::svn_auth_provider_object_t'
Prompter.h:60: error: conflicts with previous declaration `int
Prompter::svn_auth_provider_object_t'
Prompter.h:62: error: syntax error before `*' token
Prompter.h:63: error: ISO C++ forbids declaration of
`svn_auth_provider_object_t' with no type
Prompter.h:63: error: declaration of `int
Prompter::svn_auth_provider_object_t'
Prompter.h:60: error: conflicts with previous declaration `int
Prompter::svn_auth_provider_object_t'
Prompter.h:63: error: syntax error before `*' token
In file included from SVNClient.cpp:28:
Revision.h:29:21: svn_opt.h: No such file or directory
In file included from SVNClient.cpp:28:
Revision.h:34: error: 'svn_opt_revision_t' is used as a type, but is not
defined as a type.
Revision.h:37: error: syntax error before `*' token
Revision.h:39: error: ISO C++ forbids declaration of
`svn_opt_revision_kind' with no type
Revision.h:39: error: syntax error before `;' token
Revision.h:40: error: ISO C++ forbids declaration of
`svn_opt_revision_kind' with no type
Revision.h:40: error: declaration of `const int
Revision::svn_opt_revision_kind'Revision.h:39: error: conflicts with
previous declaration `const int Revision::svn_opt_revision_kind'
Revision.h:40: error: syntax error before `;' token
Revision.h:42: error: syntax error before `=' token
Revision.h:44: error: ISO C++ forbids declaration of
`svn_opt_revision_t' with no type
Revision.h:44: error: syntax error before `*' token
SVNClient.cpp:30:24: svn_client.h: No such file or directory
SVNClient.cpp:31:23: svn_sorts.h: No such file or directory
SVNClient.cpp:32:22: svn_time.h: No such file or directory
SVNClient.cpp:33:24: svn_config.h: No such file or directory
SVNClient.cpp:34:20: svn_io.h: No such file or directory
SVNClient.cpp:35:22: svn_path.h: No such file or directory
SVNClient.cpp: In member function `_jobjectArray* SVNClient::list(const
char*, Revision&, bool)':
SVNClient.cpp:136: error: `svn_client_ctx_t' undeclared (first use this
function)
SVNClient.cpp:136: error: (Each undeclared identifier is reported only
once for each function it appears in.)
SVNClient.cpp:136: error: `ctx' undeclared (first use this function)
SVNClient.cpp:136: error: `getContext' undeclared (first use this function)
SVNClient.cpp:142: error: `apr_hash_t' undeclared (first use this function)
SVNClient.cpp:142: error: `dirents' undeclared (first use this function)
SVNClient.cpp:143: error: `Err' undeclared (first use this function)
SVNClient.cpp:143: error: `revision' undeclared (first use this function)
SVNClient.cpp:144: error: `svn_client_ls' undeclared (first use this
function)
SVNClient.cpp:148: error: `svn_sort_compare_items_as_paths' undeclared
(first use this function)
SVNClient.cpp:149: error: `apr_hash_sorted_keys' undeclared (first use
this function)
SVNClient.cpp:158: error: invalid use of undefined type `struct
apr_array_header_t'
Targets.h:29: error: forward declaration of `struct apr_array_header_t'
SVNClient.cpp:169: error: invalid use of undefined type `struct
apr_array_header_t'
Targets.h:29: error: forward declaration of `struct apr_array_header_t'
SVNClient.cpp:171: error: ISO C++ forbids declaration of `svn_item_t'
with no type
SVNClient.cpp:171: error: uninitialized const `svn_item_t'
SVNClient.cpp:171: error: syntax error before `*' token
SVNClient.cpp:172: error: `svn_dirent_t' undeclared (first use this
function)
SVNClient.cpp:172: error: `dirent' undeclared (first use this function)
SVNClient.cpp:174: error: `item' undeclared (first use this function)
SVNClient.cpp:174: error: syntax error before `)' token
SVNClient.cpp:175: error: syntax error before `)' token
SVNClient.cpp: At global scope:
SVNClient.cpp:205: error: syntax error before `*' token
SVNClient.cpp:218: error: type specifier omitted for parameter
`svn_wc_status_t'SVNClient.cpp:218: error: syntax error before `*' token
SVNClient.cpp: In static member function `static void
SVNClient::statusReceiver(...)':
SVNClient.cpp:224: error: `baton' undeclared (first use this function)
SVNClient.cpp:226: error: `path' undeclared (first use this function)
SVNClient.cpp:226: error: `apr_pstrdup' undeclared (first use this function)
SVNClient.cpp:227: error: 'struct status_entry' has no member named 'status'
SVNClient.cpp:227: error: `svn_wc_dup_status' undeclared (first use this
function)
SVNClient.cpp: In member function `_jobjectArray*
SVNClient::status(const char*, bool, bool, bool)':
SVNClient.cpp:236: error: `svn_revnum_t' undeclared (first use this
function)
SVNClient.cpp:236: error: syntax error before `=' token
SVNClient.cpp:237: error: `svn_opt_revision_t' undeclared (first use
this function)
SVNClient.cpp:239: error: `getContext' undeclared (first use this function)
SVNClient.cpp:245: error: `rev' undeclared (first use this function)
SVNClient.cpp:245: error: `svn_opt_revision_unspecified' undeclared
(first use this function)
SVNClient.cpp:249: error: `youngest' undeclared (first use this function)
SVNClient.cpp:250: error: `TRUE' undeclared (first use this function)
SVNClient.cpp:250: error: `FALSE' undeclared (first use this function)
SVNClient.cpp:255: error: `svn_client_status' undeclared (first use this
function)
SVNClient.cpp:280: error: 'struct status_entry' has no member named 'status'
SVNClient.cpp: In member function `_jobject*
SVNClient::singleStatus(const char*, bool)':
SVNClient.cpp:305: error: syntax error before `=' token
SVNClient.cpp:308: error: `getContext' undeclared (first use this function)
SVNClient.cpp:324: error: `svn_client_status' undeclared (first use this
function)
SVNClient.cpp:341: error: 'struct status_entry' has no member named 'status'
SVNClient.cpp: In member function `_jobjectArray*
SVNClient::logMessages(const char*, Revision&, Revision&)':
SVNClient.cpp:375: error: `getContext' undeclared (first use this function)
SVNClient.cpp:381: error: `revision' undeclared (first use this function)
SVNClient.cpp:385: error: `messageReceiver' undeclared (first use this
function)SVNClient.cpp:385: error: `svn_client_log' undeclared (first
use this function)
SVNClient.cpp: In member function `void SVNClient::checkout(const char*,
const char*, Revision&, bool)':
SVNClient.cpp:441: error: `getContext' undeclared (first use this function)
SVNClient.cpp:449: error: `revision' undeclared (first use this function)
SVNClient.cpp:451: error: `svn_client_checkout' undeclared (first use
this function)
SVNClient.cpp: In member function `void SVNClient::remove(Targets&,
const char*, bool)':
SVNClient.cpp:466: error: `svn_client_commit_info_t' undeclared (first
use this function)
SVNClient.cpp:466: error: `commit_info' undeclared (first use this function)
SVNClient.cpp:470: error: `getContext' undeclared (first use this function)
SVNClient.cpp:477: error: `svn_client_delete' undeclared (first use this
function)
SVNClient.cpp: In member function `void SVNClient::revert(const char*,
bool)':
SVNClient.cpp:488: error: `getContext' undeclared (first use this function)
SVNClient.cpp:493: error: `svn_client_revert' undeclared (first use this
function)
SVNClient.cpp: In member function `void SVNClient::add(const char*, bool)':
SVNClient.cpp:506: error: `getContext' undeclared (first use this function)
SVNClient.cpp:511: error: `svn_client_add' undeclared (first use this
function)
SVNClient.cpp: In member function `void SVNClient::update(const char*,
Revision&, bool)':
SVNClient.cpp:524: error: `getContext' undeclared (first use this function)
SVNClient.cpp:530: error: `revision' undeclared (first use this function)
SVNClient.cpp:533: error: `svn_client_update' undeclared (first use this
function)
SVNClient.cpp: In member function `jlong SVNClient::commit(Targets&,
const char*, bool)':
SVNClient.cpp:546: error: `getContext' undeclared (first use this function)
SVNClient.cpp:553: error: `svn_client_commit' undeclared (first use this
function)
SVNClient.cpp:557: error: `SVN_IS_VALID_REVNUM' undeclared (first use
this function)
SVNClient.cpp: In member function `void SVNClient::copy(const char*,
const char*, const char*, Revision&)':
SVNClient.cpp:571: error: `getContext' undeclared (first use this function)
SVNClient.cpp:579: error: `revision' undeclared (first use this function)
SVNClient.cpp:582: error: `svn_client_copy' undeclared (first use this
function)SVNClient.cpp: In member function `void SVNClient::move(const
char*, const char*, const char*, Revision&, bool)':
SVNClient.cpp:595: error: `getContext' undeclared (first use this function)
SVNClient.cpp:604: error: `revision' undeclared (first use this function)
SVNClient.cpp:608: error: `svn_client_move' undeclared (first use this
function)SVNClient.cpp: In member function `void
SVNClient::mkdir(Targets&, const char*)':
SVNClient.cpp:619: error: `getContext' undeclared (first use this function)
SVNClient.cpp:628: error: `svn_client_mkdir' undeclared (first use this
function)
SVNClient.cpp: In member function `void SVNClient::cleanup(const char*)':
SVNClient.cpp:640: error: `getContext' undeclared (first use this function)
SVNClient.cpp:645: error: `svn_client_cleanup' undeclared (first use
this function)
SVNClient.cpp: In member function `void SVNClient::resolved(const char*,
bool)':SVNClient.cpp:657: error: `getContext' undeclared (first use this
function)
SVNClient.cpp:665: error: `svn_client_resolved' undeclared (first use
this function)
SVNClient.cpp: In member function `void SVNClient::doExport(const char*,
const char*, Revision&, bool)':
SVNClient.cpp:678: error: `getContext' undeclared (first use this function)
SVNClient.cpp:685: error: syntax error before `*' token
SVNClient.cpp: In member function `void SVNClient::doSwitch(const char*,
const char*, Revision&, bool)':
SVNClient.cpp:703: error: `getContext' undeclared (first use this function)
SVNClient.cpp:710: error: `revision' undeclared (first use this function)
SVNClient.cpp:713: error: `svn_client_switch' undeclared (first use this
function)
SVNClient.cpp: In member function `void SVNClient::doImport(const char*,
const char*, const char*, bool)':
SVNClient.cpp:725: error: `getContext' undeclared (first use this function)
SVNClient.cpp:736: error: `svn_client_import' undeclared (first use this
function)
SVNClient.cpp: In member function `void SVNClient::merge(const char*,
Revision&, const char*, Revision&, const char*, bool, bool)':
SVNClient.cpp:750: error: `getContext' undeclared (first use this function)
SVNClient.cpp:757: error: `revision' undeclared (first use this function)
SVNClient.cpp:766: error: `svn_client_merge' undeclared (first use this
function)
SVNClient.cpp: In member function `_jobject*
SVNClient::propertyGet(_jobject*, const char*, const char*)':
SVNClient.cpp:782: error: `START' is not a member of type `Revision'
SVNClient.cpp:783: error: `getContext' undeclared (first use this function)
SVNClient.cpp:789: error: `props' undeclared (first use this function)
SVNClient.cpp:793: error: `revision' undeclared (first use this function)
SVNClient.cpp:796: error: `svn_client_propget' undeclared (first use
this function)
SVNClient.cpp:804: error: `apr_hash_index_t' undeclared (first use this
function)
SVNClient.cpp:804: error: `hi' undeclared (first use this function)
SVNClient.cpp:805: error: `apr_hash_first' undeclared (first use this
function)
SVNClient.cpp:810: error: `svn_string_t' undeclared (first use this
function)
SVNClient.cpp:810: error: `propval' undeclared (first use this function)
SVNClient.cpp:811: error: `apr_hash_this' undeclared (first use this
function)
SVNClient.cpp: In member function `_jobjectArray*
SVNClient::properties(_jobject*, const char*)':
SVNClient.cpp:823: error: `START' is not a member of type `Revision'
SVNClient.cpp:824: error: `getContext' undeclared (first use this function)
SVNClient.cpp:832: error: `revision' undeclared (first use this function)
SVNClient.cpp:835: error: `svn_client_proplist' undeclared (first use
this function)
SVNClient.cpp:843: error: invalid use of undefined type `struct
apr_array_header_t'
Targets.h:29: error: forward declaration of `struct apr_array_header_t'
SVNClient.cpp:845: error: `svn_client_proplist_item_t' undeclared (first
use this function)
SVNClient.cpp:846: error: syntax error before `)' token
SVNClient.cpp:850: error: `apr_hash_count' undeclared (first use this
function)
SVNClient.cpp:870: error: `apr_hash_first' undeclared (first use this
function)
SVNClient.cpp:871: error: `apr_hash_next' undeclared (first use this
function)
SVNClient.cpp:874: error: `val' undeclared (first use this function)
SVNClient.cpp:876: error: `apr_hash_this' undeclared (first use this
function)
SVNClient.cpp: In member function `void SVNClient::propertySet(const
char*, const char*, const char*, bool)':
SVNClient.cpp:899: error: `svn_string_create' undeclared (first use this
function)
SVNClient.cpp: In member function `void SVNClient::propertySet(const
char*, const char*, JNIByteArray&, bool)':
SVNClient.cpp:906: error: `svn_string_ncreate' undeclared (first use
this function)
SVNClient.cpp: In member function `void SVNClient::propertyRemove(const
char*, const char*, bool)':
SVNClient.cpp:913: error: syntax error before `)' token
SVNClient.cpp: In member function `void SVNClient::propertyCreate(const
char*, const char*, const char*, bool)':
SVNClient.cpp:919: error: `svn_string_create' undeclared (first use this
function)
SVNClient.cpp: In member function `void SVNClient::propertyCreate(const
char*, const char*, JNIByteArray&, bool)':
SVNClient.cpp:926: error: `svn_string_ncreate' undeclared (first use
this function)
SVNClient.cpp: In member function `void SVNClient::diff(const char*,
Revision&, const char*, Revision&, const char*, bool)':
SVNClient.cpp:936: error: `err' undeclared (first use this function)
SVNClient.cpp:939: error: `getContext' undeclared (first use this function)
SVNClient.cpp:943: error: `apr_file_t' undeclared (first use this function)
SVNClient.cpp:943: error: `outfile' undeclared (first use this function)
SVNClient.cpp:944: error: `apr_status_t' undeclared (first use this
function)
SVNClient.cpp:944: error: syntax error before `;' token
SVNClient.cpp:945: error: `rv' undeclared (first use this function)
SVNClient.cpp:946: error: `APR_CREATE' undeclared (first use this function)
SVNClient.cpp:946: error: `APR_WRITE' undeclared (first use this function)
SVNClient.cpp:946: error: `APR_TRUNCATE' undeclared (first use this
function)
SVNClient.cpp:946: error: `APR_OS_DEFAULT' undeclared (first use this
function)
SVNClient.cpp:947: error: `apr_file_open' undeclared (first use this
function)
SVNClient.cpp:948: error: `APR_SUCCESS' undeclared (first use this function)
SVNClient.cpp:950: error: `svn_error_create' undeclared (first use this
function)
SVNClient.cpp:956: error: `svn_cstring_split' undeclared (first use this
function)
SVNClient.cpp:961: error: `revision' undeclared (first use this function)
SVNClient.cpp:970: error: `svn_client_diff' undeclared (first use this
function)SVNClient.cpp:972: error: `apr_file_close' undeclared (first
use this function)
SVNClient.cpp: At global scope:
SVNClient.cpp:990: error: syntax error before `*' token
SVNClient.cpp:993: error: syntax error before `*' token
SVNClient.cpp:994: error: syntax error before `*' token
SVNClient.cpp:997: error: `pool' was not declared in this scope
SVNClient.cpp:997: error: `svn_auth_provider_object_t' was not declared
in this scope
SVNClient.cpp:997: error: syntax error before `)' token
SVNClient.cpp:997: error: `apr_array_make' was not declared in this scope
SVNClient.cpp:1001: error: syntax error before `*' token
SVNClient.cpp:1003: error: syntax error before `*' token
SVNClient.cpp:1005: error: `simple_wc_provider' was not declared in this
scope
SVNClient.cpp:1005: error: `pool' was not declared in this scope
SVNClient.cpp:1005: error: ISO C++ forbids declaration of
`svn_client_get_simple_provider' with no type
SVNClient.cpp:1005: error: initializer list being treated as compound
expressionSVNClient.cpp:1006: error: syntax error before `*' token
SVNClient.cpp:1009: error: `username_wc_provider' was not declared in
this scopeSVNClient.cpp:1009: error: `pool' was not declared in this scope
SVNClient.cpp:1009: error: ISO C++ forbids declaration of
`svn_client_get_username_provider' with no type
SVNClient.cpp:1009: error: initializer list being treated as compound
expressionSVNClient.cpp:1010: error: syntax error before `*' token
SVNClient.cpp:1013: error: syntax error before `*' token
SVNClient.cpp:1014: error: syntax error before `*' token
SVNClient.cpp:1016: error: syntax error before `*' token
SVNClient.cpp:1018: error: syntax error before `*' token
SVNClient.cpp:1020: error: syntax error before `*' token
SVNClient.cpp:1023: error: `ssl_server_file_provider' was not declared
in this scope
SVNClient.cpp:1023: error: `pool' was not declared in this scope
SVNClient.cpp:1023: error: ISO C++ forbids declaration of
`svn_client_get_ssl_server_file_provider' with no type
SVNClient.cpp:1023: error: initializer list being treated as compound
expressionSVNClient.cpp:1024: error: syntax error before `*' token
SVNClient.cpp:1027: error: `ssl_client_cred_file_provider' was not
declared in this scope
SVNClient.cpp:1027: error: `pool' was not declared in this scope
SVNClient.cpp:1027: error: ISO C++ forbids declaration of
`svn_client_get_ssl_client_file_provider' with no type
SVNClient.cpp:1027: error: initializer list being treated as compound
expressionSVNClient.cpp:1028: error: syntax error before `*' token
SVNClient.cpp:1031: error: `ssl_client_pw_file_provider' was not
declared in this scope
SVNClient.cpp:1031: error: `pool' was not declared in this scope
SVNClient.cpp:1031: error: ISO C++ forbids declaration of
`svn_client_get_ssl_pw_file_provider' with no type
SVNClient.cpp:1031: error: initializer list being treated as compound
expressionSVNClient.cpp:1032: error: syntax error before `*' token
SVNClient.cpp:1035: error: syntax error before `*' token
SVNClient.cpp:1036: error: syntax error before `*' token
SVNClient.cpp:1038: error: syntax error before `*' token
SVNClient.cpp:1039: error: syntax error before `*' token
SVNClient.cpp:1041: error: syntax error before `*' token
SVNClient.cpp:1042: error: syntax error before `*' token
SVNClient.cpp:1044: error: syntax error before `*' token
SVNClient.cpp:1045: error: syntax error before `*' token
SVNClient.cpp:1048: error: `ab' was not declared in this scope
SVNClient.cpp:1048: error: `pool' was not declared in this scope
SVNClient.cpp:1048: error: ISO C++ forbids declaration of
`svn_auth_open' with no type
SVNClient.cpp:1048: error: initializer list being treated as compound
expressionSVNClient.cpp:1052: error: syntax error before `if'
SVNClient.cpp:1060: error: syntax error before `->' token
SVNClient.cpp:1061: error: syntax error before `->' token
SVNClient.cpp:1062: error: syntax error before `->' token
SVNClient.cpp:1063: error: syntax error before `->' token
SVNClient.cpp:1064: error: syntax error before `->' token
SVNClient.cpp:1065: error: syntax error before `->' token
SVNClient.cpp:1066: error: syntax error before `->' token
SVNClient.cpp:1067: error: syntax error before `*' token
SVNClient.cpp:1077: error: syntax error before `*' token
SVNClient.cpp:1082: error: ISO C++ forbids declaration of `tmp_file'
with no type
SVNClient.cpp:1085: error: syntax error before `if'
SVNClient.cpp: In member function `void*
SVNClient::getCommitMessageBaton(const char*, const char*)':
SVNClient.cpp:1098: error: `apr_palloc' undeclared (first use this function)
SVNClient.cpp: At global scope:
SVNClient.cpp:1108: error: type specifier omitted for parameter
`svn_wc_status_t'
SVNClient.cpp:1108: error: syntax error before `*' token
SVNClient.cpp: In static member function `static _jobject*
SVNClient::createJavaStatus(...)':
SVNClient.cpp:1150: error: invalid use of member (did you forget the `&' ?)
SVNClient.cpp:1153: error: invalid use of member (did you forget the `&' ?)
SVNClient.cpp:1153: error: base operand of `->' is not a pointer
SVNClient.cpp:1154: error: invalid use of member (did you forget the `&' ?)
SVNClient.cpp:1154: error: base operand of `->' is not a pointer
SVNClient.cpp:1155: error: invalid use of member (did you forget the `&' ?)
SVNClient.cpp:1155: error: base operand of `->' is not a pointer
SVNClient.cpp:1156: error: invalid use of member (did you forget the `&' ?)
SVNClient.cpp:1156: error: base operand of `->' is not a pointer
SVNClient.cpp:1157: error: invalid use of member (did you forget the `&' ?)
SVNClient.cpp:1157: error: base operand of `->' is not a pointer
SVNClient.cpp:1158: error: invalid use of member (did you forget the `&' ?)
SVNClient.cpp:1158: error: base operand of `->' is not a pointer
SVNClient.cpp:1161: error: `svn_wc_entry_t' undeclared (first use this
function)SVNClient.cpp:1161: error: `entry' undeclared (first use this
function)
SVNClient.cpp:1161: error: invalid use of member (did you forget the `&' ?)
SVNClient.cpp:1161: error: base operand of `->' is not a pointer
SVNClient.cpp: In static member function `static jint
SVNClient::mapStatusKind(int)':
SVNClient.cpp:1275: error: `svn_wc_status_none' undeclared (first use
this function)
SVNClient.cpp:1278: error: `svn_wc_status_unversioned' undeclared (first
use this function)
SVNClient.cpp:1280: error: `svn_wc_status_normal' undeclared (first use
this function)
SVNClient.cpp:1282: error: `svn_wc_status_added' undeclared (first use
this function)
SVNClient.cpp:1284: error: `svn_wc_status_absent' undeclared (first use
this function)
SVNClient.cpp:1286: error: `svn_wc_status_deleted' undeclared (first use
this function)
SVNClient.cpp:1288: error: `svn_wc_status_replaced' undeclared (first
use this function)
SVNClient.cpp:1290: error: `svn_wc_status_modified' undeclared (first
use this function)
SVNClient.cpp:1292: error: `svn_wc_status_merged' undeclared (first use
this function)
SVNClient.cpp:1294: error: `svn_wc_status_conflicted' undeclared (first
use this function)
SVNClient.cpp:1296: error: `svn_wc_status_ignored' undeclared (first use
this function)
SVNClient.cpp:1298: error: `svn_wc_status_obstructed' undeclared (first
use this function)
SVNClient.cpp:1300: error: `svn_wc_status_incomplete' undeclared (first
use this function)
SVNClient.cpp: At global scope:
SVNClient.cpp:1304: error: syntax error before `*' token
SVNClient.cpp:1312: error: syntax error before `*' token
SVNClient.cpp:1315: error: 'apr_time_t' is used as a type, but is not
defined as a type.
SVNClient.cpp:1316: error: `timeTemp' was not declared in this scope
SVNClient.cpp:1316: error: `date' was not declared in this scope
SVNClient.cpp:1316: error: `pool' was not declared in this scope
SVNClient.cpp:1316: error: ISO C++ forbids declaration of
`svn_time_from_cstring' with no type
SVNClient.cpp:1316: error: initializer list being treated as compound
expressionSVNClient.cpp:1321: error: syntax error before `if'
SVNClient.cpp:1335: error: `msg' was not declared in this scope
SVNClient.cpp:1336: error: syntax error before `if'
SVNClient.cpp:1341: error: `timeTemp' was not declared in this scope
SVNClient.cpp:1342: error: syntax error before `if'
SVNClient.cpp:1347: error: `author' was not declared in this scope
SVNClient.cpp:1348: error: syntax error before `if'
SVNClient.cpp:1353: error: `_jobject*log' redeclared as different kind
of symbol/usr/include/bits/mathcalls.h:110: error: previous declaration
of `double log(double)'
SVNClient.cpp:1354: error: syntax error before `if'
SVNClient.cpp:1358: error: syntax error before `->' token
SVNClient.cpp:1359: error: syntax error before `->' token
SVNClient.cpp:1364: error: syntax error before `->' token
SVNClient.cpp:1369: error: syntax error before `->' token
SVNClient.cpp:1374: error: syntax error before `->' token
SVNClient.cpp:1378: error: type specifier omitted for parameter
`svn_string_t'
SVNClient.cpp:1378: error: syntax error before `*' token
SVNClient.cpp: In member function `_jobject*
SVNClient::createJavaProperty(...)':
SVNClient.cpp:1400: error: `name' undeclared (first use this function)
SVNClient.cpp:1405: error: `value' undeclared (first use this function)
SVNClient.cpp:1415: error: `jthis' undeclared (first use this function)
SVNClient.cpp: At global scope:
SVNClient.cpp:1448: error: type specifier omitted for parameter
`svn_string_t'
SVNClient.cpp:1448: error: syntax error before `*' token
SVNClient.cpp: In member function `void SVNClient::propertySet(...)':
SVNClient.cpp:1450: error: `error' undeclared (first use this function)
SVNClient.cpp:1451: error: `recurse' undeclared (first use this function)
SVNClient.cpp:1451: error: `svn_client_propset' undeclared (first use
this function)
SVNClient.cpp: In member function `_jbyteArray*
SVNClient::fileContent(const char*, Revision&)':
SVNClient.cpp:1459: error: `svn_stream_t' undeclared (first use this
function)
SVNClient.cpp:1459: error: `read_stream' undeclared (first use this
function)
SVNClient.cpp:1462: error: `revision' undeclared (first use this function)
SVNClient.cpp:1462: error: `svn_opt_revision_base' undeclared (first use
this function)
SVNClient.cpp:1466: error: `svn_path_internal_style' undeclared (first
use this function)
SVNClient.cpp:1470: error: `svn_wc_get_pristine_copy_path' undeclared
(first use this function)
SVNClient.cpp:1476: error: `file' undeclared (first use this function)
SVNClient.cpp:1477: error: `apr_finfo_t' undeclared (first use this
function)
SVNClient.cpp:1477: error: syntax error before `;' token
SVNClient.cpp:1478: error: `apr_status_t' undeclared (first use this
function)
SVNClient.cpp:1480: error: `apr_err' undeclared (first use this function)
SVNClient.cpp:1485: error: `APR_READ' undeclared (first use this function)
SVNClient.cpp:1485: error: `apr_file_open' undeclared (first use this
function)
SVNClient.cpp:1491: error: `svn_stream_from_aprfile' undeclared (first
use this function)
SVNClient.cpp:1492: error: `finfo' undeclared (first use this function)
SVNClient.cpp:1496: error: `getContext' undeclared (first use this function)
SVNClient.cpp:1501: error: `svn_stringbuf_t' undeclared (first use this
function)
SVNClient.cpp:1501: error: `buf' undeclared (first use this function)
SVNClient.cpp:1501: error: `svn_stringbuf_create' undeclared (first use
this function)
SVNClient.cpp:1502: error: `svn_stream_from_stringbuf' undeclared (first
use this function)
SVNClient.cpp:1504: error: `svn_client_cat' undeclared (first use this
function)SVNClient.cpp:1529: error: `svn_stream_read' undeclared (first
use this function)
SVNClient.cpp: At global scope:
SVNClient.cpp:1550: error: type specifier omitted for parameter
`svn_dirent_t'
SVNClient.cpp:1550: error: syntax error before `*' token
SVNClient.cpp: In member function `_jobject*
SVNClient::revProperty(_jobject*, const char*, const char*, Revision&)':
SVNClient.cpp:1615: error: `getContext' undeclared (first use this function)
SVNClient.cpp:1622: error: `svn_revnum_t' undeclared (first use this
function)
SVNClient.cpp:1622: error: syntax error before `;' token
SVNClient.cpp:1623: error: `svn_client_url_from_path' undeclared (first
use this function)
SVNClient.cpp:1625: error: `SVN_NO_ERROR' undeclared (first use this
function)
SVNClient.cpp:1633: error: `SVN_ERR_UNVERSIONED_RESOURCE' undeclared
(first use this function)
SVNClient.cpp:1634: error: `svn_error_create' undeclared (first use this
function)
SVNClient.cpp:1639: error: `revision' undeclared (first use this function)
SVNClient.cpp:1640: error: `set_rev' undeclared (first use this function)
SVNClient.cpp:1640: error: `svn_client_revprop_get' undeclared (first
use this function)
make[2]: *** [SVNClient.lo] Error 1
make[2]: Leaving directory
`/home/lamikr/downloads/subversion/subversion/subversion/bindings/java/javahl/native'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/lamikr/downloads/subversion/subversion/subversion/bindings/java/javahl/native'
make: *** [all-recursive] Error 1

>Daniel Rall wrote:
> lamikr_mdk wrote:
>
>>> 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
>>
>>
>> These errors comes if you have not first run autogen.sh and configure
>> for the subversion (in the subversion directory). I am not sure should
>> is the build with make required...
>
>
> The errors are 1) irrelevant to the compile-time errors I'm seeing from
> g++ 3.2. 2 and 2) possibly (see below) erroneous in that subversion is
> already built (top-level).
>
> $ pwd
> /home/dlr/src/svn
> $ ls -l svn-config
> -rwxrwxr-x 1 dlr dlr 4164 Sep 27 15:52 svn-config*
>
> Note that my ~/src/svn dir is a symlink.
>
> $ ls -ld ~/src/svn
> lrwxrwxrwx 1 dlr dlr 27 Jul 26 2002
> /home/dlr/src/svn -> tigris.org/subversion/trunk/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 29 23:59:48 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.