bluez-libs (under uclinux)

David Querbach
Tue Apr 22 17:45:00 GMT 2003

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.


David Querbach
Real-Time Systems Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <>

More information about the crossgcc mailing list