cURL / Mailing Lists / curl-library / Single Mail


Re: bcc32 wont compile libcurl

From: Guenter Knauf <>
Date: Wed, 14 Jul 2004 14:19:34 +0200

Hi Gisle,
I've just put in a comment to skip the line so that I could come to the link stage;
added also cw32mt.lib and winmm.lib to the link libs, but now linking curl.exe fails with:

        bcc32 -lap -ecurl.exe main.obj hugehelp.obj urlglob.obj writeout.obj wr
iteenv.obj getpass.obj homedir.obj ../lib/strtoofft.obj ../lib/timeval.obj ../li
b/libcurl.lib c:\prg\bcc55/lib/cw32mt.lib c:\prg\bcc55/lib/psdk/winmm.lib c:\prg
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '__lseeki64' referenced from C:\TEST\CURL\LIB\LIBCURL

??? Found no Borland lib which exports this symbol....

> I've just updated the ./src/Makefile.b32 since it was as broken as the lib
> Makefile.b32;
> but couldnt test to build a curl.exe since compilation breaks in main.c:

> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
> bcc32 -c -I.;../include;../lib -5 -O2 -w-aus -w-ccc -w-csu -w-par
> -w-pia
> -w-rch -w-inl -w-ngu -w-pro -tWM -DNDEBUG -DLIBCURL_BIGENDIAN=0 -DWIN32
> OLE -D_MBCS main.c
> Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
> main.c:
> Error E2293 main.c 1051: ) expected in function str2offset
> *** 1 errors in Compile ***

> any idea what's there wrong???

> Guenter.
Received on 2004-07-14