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

Re: undefined reference when compiling on cygwin

From: Colin JN Breame <colin_at_breame.com>
Date: 2004-10-25 13:54:47 CEST

  Ben Reser wrote:

>On Mon, Oct 25, 2004 at 12:20:28AM +0100, Philip Martin wrote:
>
>
>>Colin JN Breame <colin@breame.com> writes:
>>
>>
>>
>>>/usr/lib/libcygwin.a(libcmain.o)(.text+0x7d): undefined reference to
>>>`_WinMain@16'
>>>collect2: ld returned 1 exit status
>>>make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
>>>
>>>
>>What does "./libtool --version" report? Google suggests that you need
>>libtool 1.5 and I don't know what's in the tarball. If you have a
>>suitable libtool/autoconf/autoheader installed then you could run
>>./autogen.sh before running ./configure.
>>
>>
>
>Tarball ships with 1.3
>
>
>

Actually, "./libtool --version" gives 1.4.3. After autogen, "./libtool
--version" gives 1.5.10.

I've run ./autogen.sh (after installing python) then ./configure then
make. However, this error is now produced:

$ make
...
cd subversion/libsvn_subr && /bin/bash
/home/Colin/src/subversion-1.1.1/libtool --silent --mode=link gcc -g
-O2 -DNEON_ZLIB -DNEON_SSL -rpath /usr/lib -o libsvn_subr-1.la
-no-undefined auth.lo cmdline.lo config.lo config_auth.lo config_file.lo
config_win.lo date.lo error.lo hash.lo io.lo md5.lo opt.lo path.lo
pool.lo quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo
svn_string.lo target.lo time.lo utf.lo utf_validate.lo validate.lo
version.lo xml.lo /usr/lib/libaprutil-0.la -lgdbm -ldb-4.2 -lexpat
-liconv /usr/lib/libapr-0.la -lcrypt -lintl
/home/Colin/src/subversion-1.1.1/libtool: line 1: sed: command not found
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 127

Looks like it can't find sed. However:

$ which sed
/usr/bin/sed

Any ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 25 13:55:24 2004

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