This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bluez-libs (under uclinux)


On Tue, Apr 22, 2003 at 01:55:17PM +0200, Ignacio Uria wrote:

> /usr/local/arm-elf/bin/arm-elf-gcc -shared 
> bluetooth.lo hci.lo   -Wl,-soname -Wl, -o .libs/

Several things look suspicious in the above line:

  - The second -Wl, has no argument.  Arguments to the -Wl, switch must
    follow immediately without intervening spaces.  As written, the second
    -Wl, argument passes nothing to the linker.

  - The -o option specifies the output file name, and thus must be a file
    name, not a directory.  That's confirmed by the error message.

To fix this problem, find the line in the Makefile which generates the
broken command.  Figure out what's supposed to be generated and you'll
probably get some idea what went wrong.  These sorts of problems often
involve broken text substitution of some kind.

Regards,

David Querbach
Real-Time Systems Inc.

Attachment: pgp00000.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]