bug-grub
[Top][All Lists]
Advanced

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

Re: Configure error (objcopy)


From: Thierry Laronde
Subject: Re: Configure error (objcopy)
Date: Sun, 1 Sep 2002 23:03:01 +0200
User-agent: Mutt/1.2.5i

On Sun, Sep 01, 2002 at 01:35:22PM -0400, Doug Jolley wrote:
> configure:3129: checking for objcopy
> configure:3145: found /usr/bin/objcopy
> configure:3155: result: objcopy
> configure:3171: checking if C symbols get an underscore after compilation
> configure:3186: gcc -g -S conftest.c
> configure:3189: $? = 0
> configure:3216: result: no
> configure:3219: checking whether objcopy works for absolute addresses
> configure:3232: gcc -c -g  -Wall -Wmissing-prototypes -Wunused -Wshadow 
> -Wpointer-arith -malign-jumps=1 -malign-loops=1 -malign-functions=1 -Wundef 
> conftest.c >&5
> conftest.c:3: warning: no previous prototype for `cmain'
> configure:3235: $? = 0
> configure:3245: gcc -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,2000 conftest.o -o 
> conftest.exec
> /usr/i386-slackware-linux/bin/ld: warning: cannot find entry symbol _start; 
> defaulting to 0000000000002000
> configure:3248: $? = 0
> configure:3256: objcopy -O binary conftest.exec conftest
> configure:3259: $? = 0
> configure:3245: gcc -g -nostdlib -Wl,-N -Wl,-Ttext -Wl,8000 conftest.o -o 
> conftest.exec
> /usr/i386-slackware-linux/bin/ld: warning: cannot find entry symbol _start; 
> defaulting to 0000000000008000
> configure:3248: $? = 0
> configure:3256: objcopy -O binary conftest.exec conftest
> configure:3259: $? = 0

Here is the problem:

> configure:3267: cmp -s conftest.old conftest
> ./configure: cmp: command not found
> configure:3270: $? = 127

You don't have `cmp' findable in the PATH. Problem is not with binutils
but with `cmp': you need one... Whether your PATH is incorrect or you
don't have `cmp' (which is a bit curious since `cmp' is one of the
utilities defined by POSIX (susv3) and have to be here IMHO on any Unix
like system). So I'm not for adding a check to detect such an utility.

Cheers,
-- 
Thierry Laronde (Alceste) <address@hidden>
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C




reply via email to

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