[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openpkg-users
Subject:    Re: GCC problems
From:       Michael Schloh von Bennewitz <michael.schloh () cw ! com>
Date:       2004-08-04 14:13:39
Message-ID: 20040804141339.GN16411 () dt4 ! dev ! de ! cw ! net
[Download RAW message or body]

On Wed, Aug 04, 2004, Alexander Belck wrote:
> NO. I can no more compile other pkgs. From:
>
> [...]
>
Not good, and I would have suggested reviewing the config.log file.
Your thinking was quicker than mine...

> In config.log I found:
>
> Thread model: posix
> gcc version 3.4.1 (OpenPKG-2.1)
> configure:1699: $? = 0
> configure:1701: /opkg/bin/cc -V </dev/null >&5
> cc: `-V' option must have argument
> configure:1704: $? = 1
> configure:1727: checking for C compiler default output file name
> configure:1730: /opkg/bin/cc -O2 -pipe   conftest.c  >&5
> /opkg/bin/ld: cannot open crt1.o: No such file or directory
> collect2: ld returned 1 exit status
> configure:1733: $? = 1
>
This looks to me like a problem with binutils, which supplies the ld(1)
which is complaining about crt1.o. Because we solved a problem with binutils
recently I would ensure that you have the most up to date version:

  ms@dev$ /v/opkg/bin/openpkg rpm -qi binutils
  Name:     binutils                  Source RPM: binutils-2.14-2.1.0.src.rpm
  Version:  2.14                      Signature: md5:1e68a6915fc68b5c15991e7abc128d43
  [...]

And finally for good measure try:

  ms@dev$ /opkg/bin/ld
  ld: no input files

  ms@dev$ ldd /v/ipadm/sw/bin/ld
  libc.so.1 =>     /lib/libc.so.1
  libdl.so.1 =>    /lib/libdl.so.1
  /usr/platform/.../lib/libc_psr.so.1

Just to verify that the ld is not linking with wierd things.

Saludos,
Michael

-- 
Michael Schloh von Bennewitz <michael.schloh@cw.com>
Development Team, Operations Northern Europe
Cable & Wireless Telecommunications Services
Tel +49-89-92699-227, Fax +49-89-92699-808

[Attachment #3 (application/pgp-signature)]
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic