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

Re: API VC++ link errors

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2005-05-11 15:28:15 CEST

Matt Daniel wrote:

>Hi Guys and girls
>
>thanks for the help, I have added all the libs svn and apr and now I get the following link errors, any suggestions
>
>I am assuming it has something to do with the fact I told the linker to ignore mscvrt, to try and solve the previous problem
>
>
This is _one_ cause. But not the only one.

All right, class, let's see what we did wrong this time:

>libsvn_fs_fs-1.lib(err.obj) : error LNK2001: unresolved external symbol __imp__libintl_dgettext
>libsvn_fs_fs-1.lib(dag.obj) : error LNK2001: unresolved external symbol __imp__libintl_dgettext
>libsvn_client-1.lib(checkout.obj) : error LNK2001: unresolved external symbol __imp__libintl_dgettext
>
>
You're not linking with intl3_svn.lib

>libneon.lib(ne_locks.obj) : error LNK2001: unresolved external symbol __imp__strnicmp
>libsvn_ra_dav-1.lib(session.obj) : error LNK2001: unresolved external symbol __imp__stricmp
>libsvn_ra_svn-1.lib(cram.obj) : error LNK2001: unresolved external symbol __imp__strrchr
>libsvn_fs_fs-1.lib(fs_fs.obj) : error LNK2001: unresolved external symbol __imp__qsort
>
>
You're not linking with a C runtime library. These symbols are in
msvcrt, but they should also be in libcmt. In fact, they're standard C
function (except the "i"cmp, which are MS extensions.

>libsvn_subr-1.lib(utf.obj) : error LNK2001: unresolved external symbol __imp__libintl_sprintf
>libsvn_subr-1.lib(io.obj) : error LNK2001: unresolved external symbol __imp__libintl_gettext
>
>
intl3_svn again...

>libneon.lib(ne_auth.obj) : error LNK2001: unresolved external symbol __imp__sscanf
>
>
C runtime...

>libsvn_subr-1.lib(cmdline.obj) : error LNK2001: unresolved external symbol __imp__libintl_textdomain
>libsvn_subr-1.lib(cmdline.obj) : error LNK2001: unresolved external symbol __imp__libintl_bindtextdomain
>libsvn_subr-1.lib(cmdline.obj) : error LNK2001: unresolved external symbol __imp__libintl_fprintf
>
>
intl3_svn...

>libsvn_subr-1.lib(cmdline.obj) : error LNK2001: unresolved external symbol __imp__fputs
>
>
C runtime...

>libsvn_subr-1.lib(config_win.obj) : error LNK2001: unresolved external symbol __imp__SHGetFolderPathW@20
>
>
Windows API (shell32.dll)

>libsvn_subr-1.lib(config_win.obj) : error LNK2001: unresolved external symbol __imp___wfopen
>libneon.lib(ne_utils.obj) : error LNK2001: unresolved external symbol __imp__vfprintf
>OLDNAMES.lib(strcmpi.obi) : error LNK2001: unresolved external symbol __imp__strcmpi
>libneon.lib(ne_uri.obj) : error LNK2001: unresolved external symbol __imp__strcmpi
>OLDNAMES.lib(fstat.obi) : error LNK2001: unresolved external symbol __imp__fstat
>libneon.lib(ne_request.obj) : error LNK2001: unresolved external symbol __imp__lseek
>OLDNAMES.lib(lseek.obi) : error LNK2001: unresolved external symbol __imp__lseek
>libneon.lib(ne_auth.obj) : error LNK2001: unresolved external symbol __imp__time
>
>
C runtime...

>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__WSAStartup@8
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__WSACleanup@0
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__WSAGetLastError@0
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__select@20
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__recv@16
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__send@16
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__gethostbyname@4
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__inet_addr@4
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__inet_ntoa@4
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__closesocket@4
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__ntohs@4
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__setsockopt@20
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__socket@12
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__connect@12
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__accept@12
>libneon.lib(ne_socket.obj) : error LNK2001: unresolved external symbol __imp__getservbyname@8
>
>
Winsock (ws2_32.lib)...

>libneon.lib(ne_string.obj) : error LNK2001: unresolved external symbol __imp__strerror
>libneon.lib(ne_locks.obj) : error LNK2001: unresolved external symbol __imp__strdup
>OLDNAMES.lib(strdup.obi) : error LNK2001: unresolved external symbol __imp__strdup
>libneon.lib(ne_basic.obj) : error LNK2001: unresolved external symbol __imp__write
>OLDNAMES.lib(write.obi) : error LNK2001: unresolved external symbol __imp__write
>libneon.lib(ne_md5.obj) : error LNK2001: unresolved external symbol __imp__fread
>libneon.lib(ne_dates.obj) : error LNK2001: unresolved external symbol __imp__gmtime
>libneon.lib(ne_dates.obj) : error LNK2001: unresolved external symbol __imp__mktime
>OLDNAMES.lib(fstat.obi) : error LNK2001: unresolved external symbol __imp___fstat
>OLDNAMES.lib(strdup.obi) : error LNK2001: unresolved external symbol __imp___strdup
>
>
C runtime...

>libsvn_fs_base-1.lib(fs.obj) : error LNK2001: unresolved external symbol _db_env_create
>libsvn_fs_base-1.lib(fs.obj) : error LNK2001: unresolved external symbol _db_version
>libsvn_fs_base-1.lib(bdb_compat.obj) : error LNK2001: unresolved external symbol _db_version
>libsvn_fs_base-1.lib(rev-table.obj) : error LNK2001: unresolved external symbol _db_create
>libsvn_fs_base-1.lib(nodes-table.obj) : error LNK2001: unresolved external symbol _db_create
>libsvn_fs_base-1.lib(reps-table.obj) : error LNK2001: unresolved external symbol _db_create
>libsvn_fs_base-1.lib(changes-table.obj) : error LNK2001: unresolved external symbol _db_create
>libsvn_fs_base-1.lib(copies-table.obj) : error LNK2001: unresolved external symbol _db_create
>libsvn_fs_base-1.lib(txn-table.obj) : error LNK2001: unresolved external symbol _db_create
>libsvn_fs_base-1.lib(lock-tokens-table.obj) : error LNK2001: unresolved external symbol _db_create
>libsvn_fs_base-1.lib(locks-table.obj) : error LNK2001: unresolved external symbol _db_create
>libsvn_fs_base-1.lib(uuids-table.obj) : error LNK2001: unresolved external symbol _db_create
>libsvn_fs_base-1.lib(strings-table.obj) : error LNK2001: unresolved external symbol _db_create
>libsvn_fs_base-1.lib(bdb-err.obj) : error LNK2001: unresolved external symbol _db_strerror
>
>
Berkeley DB

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 11 16:23:32 2005

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