[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: archiving error [make (e=87): The parameter is incorrect.]

From: John Lee \(GMI\)
Subject: RE: archiving error [make (e=87): The parameter is incorrect.]
Date: Sat, 4 Jun 2011 05:07:20 +0800

I have shorten the *.o file to 1071 files, which works ok,
But @ 1072 *.o files, the archiving will fail.
Total character count for this *.o arguments is 33085.

The make version used is GNU Make 3.81, program built for i686-pc-mingw32

I used cygwin for windows, and the archive process is like following.
Process begin: CreateProcess(C:\STM\ST40R5.0.0\bin\sh4ar.exe,
C:/STM/ST40R5.0.0/bin/sh4ar -rcs bin/libmylib.a < ... *.o >
The <... *.o> is a list of object files.

-----Original Message-----
From: Eli Zaretskii [mailto:address@hidden 
Sent: Friday, June 03, 2011 10:03 PM
To: John Lee (GMI)
Cc: address@hidden; address@hidden
Subject: Re: archiving error [make (e=87): The parameter is incorrect.]

> From: "John Lee \(GMI\)" <address@hidden>
> Date: Fri, 3 Jun 2011 21:26:31 +0800
> Cc: John Lee <address@hidden>
> Hi all, i have problem with archiving *.o the error message after ar 
> -rcs libmylib.a [lots of *.o] it gives error make (e=87): The 
> parameter is incorrect.
> any idea how to solve this?

Does the problem go away if you shorten the list of the *.o files?

If it does go away, please tell how long was the original command, the one
that failed.

If shortening the list doesn't help, please show the complete rule which the
ar command is a part of.

Also, which version of Make is that, and do you have any kind of sh.exe (a
port of a Unixy shell) somewhere on your Path?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]