cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Djgpp Make

From: Yang Tse <yangsita_at_gmail.com>
Date: Tue, 9 Jun 2009 06:33:08 +0200

2009/6/9, jvp wrote:

> Indeed progressed to the point where 37 files were compiled till here:
> -------------------------------------------------------
> gcc -g -gcoff -O2 -I. -I../include -I../lib -IC:/NET/WATT/inc -Wall
> -DHAVE_CONFIG_H -o djgpp/content_encoding.o -c
> content_encoding.cprocess_begin:
> CreateProcess(c:\djgpp\bin\gcc.exe, gcc -g -gcoff -O2 -I.
> -I../include -I../lib -IC:/NET/WATT/inc -Wall -DHAVE_CONFIG_H -o
> djgpp/content_encoding.o -c content_encoding.c, ...) failed.
> make (e=87): The parameter is incorrect.
> Make[1]: *** [djgpp/content_encoding.o] Error 87
> Make[1]: Leaving directory `C:/Curl/lib'
> Make: *** [djgpp] Error 2
> -------------------------------------------------------

Hmm. Probably hitting DOS 126 char maximum length of command line arguments...

Rename lib\content_encoding.c to lib\contentenc.c
AND
Edit lib\Makefile.inc replacing string "content_encoding.c" with
"contentenc.c". Watch out and _don't_ replace "content_encoding.h"
inside same file.

Try to build again and see if it gets further...

-- 
-=[Yang]=-
Received on 2009-06-09