cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Building libcurl with Borland BCC5.5 compiler

From: Jon Torrey <ntox101_at_gmail.com>
Date: Thu, 8 May 2014 11:11:11 -0400

Steve and Daniel,

Thank you for the speedy reply and I apologize for not getting back with
you earlier.

Daniel - I was not sure where exactly in Makefile.b32 to add your snippet
of code so I will hold off until further notice.

Making the following change resolved my problem, but created another :(

SRCDIR = .

To be

SRCDIRS = .;.\vtls

After the BCC32 and CPP32 statements in the console were completed, this is
the following output : I will show the last BCC statement to show the
completion of these commands

        bcc32 -q -c -5 -O2 -tWM -w -w-aus -w-ccc -w-dup -w-prc -w-pro
-w-rch -w
sig -w-spa -w-inl -w-pia -w-pin -Dinline=__inline -ovtls/gskit.obj
vtls/gskit.i
t
vtls/gskit.int:
        tlib /C /P32 libcurl.lib @MAKE0000.@@@
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
+.\BCC_objs\file.obj &
+.\BCC_objs\timeval.obj &
+.\BCC_objs\base64.obj &
+.\BCC_objs\hostip.obj &
+.\BCC_objs\progress.obj &
+.\BCC_objs\formdata.obj &
+.\BCC_objs\cookie.obj &
+.\BCC_objs\http.obj &
+.\BCC_objs\sendf.obj &
+.\BCC_objs\ftp.obj &
+.\BCC_objs\url.obj &
+.\BCC_objs\dict.obj &
+.\BCC_objs\if2ip.obj &
+.\BCC_objs\speedcheck.obj &
+.\BCC_objs\ldap.obj &
+.\BCC_objs\version.obj &
+.\BCC_objs\getenv.obj &
+.\BCC_objs\escape.obj &
+.\BCC_objs\mprintf.obj &
+.\BCC_objs\telnet.obj &
+.\BCC_objs\netrc.obj &
+.\BCC_objs\getinfo.obj &
+.\BCC_objs\transfer.obj &
+.\BCC_objs\strequal.obj &
+.\BCC_objs\easy.obj &
+.\BCC_objs\security.obj &
+.\BCC_objs\curl_fnmatch.obj &
+.\BCC_objs\fileinfo.obj &
+.\BCC_objs\ftplistparser.obj &
+.\BCC_objs\wildcard.obj &
+.\BCC_objs\krb5.obj &
+.\BCC_objs\memdebug.obj &
+.\BCC_objs\http_chunks.obj &
+.\BCC_objs\strtok.obj &
+.\BCC_objs\connect.obj &
+.\BCC_objs\llist.obj &
+.\BCC_objs\hash.obj &
+.\BCC_objs\multi.obj &
+.\BCC_objs\content_encoding.obj &
+.\BCC_objs\share.obj &
+.\BCC_objs\http_digest.obj &
+.\BCC_objs\md4.obj &
+.\BCC_objs\md5.obj &
+.\BCC_objs\http_negotiate.obj &
+.\BCC_objs\inet_pton.obj &
+.\BCC_objs\strtoofft.obj &
+.\BCC_objs\strerror.obj &
+.\BCC_objs\amigaos.obj &
+.\BCC_objs\hostasyn.obj &
+.\BCC_objs\hostip4.obj &
+.\BCC_objs\hostip6.obj &
+.\BCC_objs\hostsyn.obj &
+.\BCC_objs\inet_ntop.obj &
+.\BCC_objs\parsedate.obj &
+.\BCC_objs\select.obj &
+.\BCC_objs\tftp.obj &
+.\BCC_objs\splay.obj &
+.\BCC_objs\strdup.obj &
+.\BCC_objs\socks.obj &
+.\BCC_objs\ssh.obj &
+.\BCC_objs\rawstr.obj &
+.\BCC_objs\curl_addrinfo.obj &
+.\BCC_objs\socks_gssapi.obj &
+.\BCC_objs\socks_sspi.obj &
+.\BCC_objs\curl_sspi.obj &
+.\BCC_objs\slist.obj &
+.\BCC_objs\nonblock.obj &
+.\BCC_objs\curl_memrchr.obj &
+.\BCC_objs\imap.obj &
+.\BCC_objs\pop3.obj &
+.\BCC_objs\smtp.obj &
+.\BCC_objs\pingpong.obj &
+.\BCC_objs\rtsp.obj &
+.\BCC_objs\curl_threads.obj &
+.\BCC_objs\warnless.obj &
+.\BCC_objs\hmac.obj &
+.\BCC_objs\curl_rtmp.obj &
+.\BCC_objs\openldap.obj &
+.\BCC_objs\curl_gethostname.obj &
+.\BCC_objs\gopher.obj &
+.\BCC_objs\idn_win32.obj &
+.\BCC_objs\http_negotiate_sspi.obj &
+.\BCC_objs\http_proxy.obj &
+.\BCC_objs\non_ascii.obj &
+.\BCC_objs\asyn_ares.obj &
+.\BCC_objs\asyn_thread.obj &
+.\BCC_objs\curl_gssapi.obj &
+.\BCC_objs\curl_ntlm.obj &
+.\BCC_objs\curl_ntlm_wb.obj &
+.\BCC_objs\curl_ntlm_core.obj &
+.\BCC_objs\curl_ntlm_msgs.obj &
+.\BCC_objs\curl_sasl.obj &
+.\BCC_objs\curl_multibyte.obj &
+.\BCC_objs\hostcheck.obj &
+.\BCC_objs\bundles.obj &
+.\BCC_objs\conncache.obj &
+.\BCC_objs\pipeline.obj &
+.\BCC_objs\dotdot.obj &
+.\BCC_objs\x509asn1.obj &
+.\BCC_objs\http2.obj &
+.\BCC_objs\curl_sasl_sspi.obj &
+vtls/openssl.obj &
Warning: unknown command line switch 'o' ignored

Error: unexpected char 'p' in command line

** error 1 ** deleting libcurl.lib

** error 1 ** deleting borland

Seems to me there may be a typo in a file somewhere. I am not familiar
enough with Makefiles myself to track down the problem.

Regards,

JT

On Wed, May 7, 2014 at 5:02 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Tue, 6 May 2014, Jon Torrey wrote:
>
> Fatal: 'vtls/openssl.obj' does not exist - don't know how to make it
>>
>
> Yes, the makefile is not adjusted for the TLS files being moved into the
> vlts/ subdir so you need to make that change.
>
> Possibly this change is necessary to make sure there's a subdir to create
> the object file in:
>
> diff --git a/lib/Makefile.b32 b/lib/Makefile.b32
> index 7dbb37f..ea06aff 100644
> --- a/lib/Makefile.b32
> +++ b/lib/Makefile.b32
> @@ -140,10 +140,11 @@ clean:
> @-$(RM) libcurl.tds
>
> $(OBJDIR):
> @-$(RMDIR) $(OBJDIR)
> @-$(MKDIR) $(OBJDIR)
> + @-$(MKDIR) $(OBJDIR)/vtls
>
> $(LIBCURL_LIB): $(OBJECTS)
> @-$(RM) $(LIBCURL_LIB)
> $(LIB) $(LIBFLAGS) $@ @&&!
> +$(**: = &^
>
>
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-05-08