public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* bluez: libtool error with current git
@ 2009-01-23 21:30 Eric Rannaud
  2009-01-28  5:47 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Rannaud @ 2009-01-23 21:30 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

On current git c90eb5b, './boostrap-configure && make' fails on F10.

Linux nc050 2.6.27.9-159.fc10.x86_64 #1 SMP Tue Dec 16 14:47:52 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

With:

/bin/sh ../libtool --tag=CC   --mode=link gcc -I../include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../gdbus  -Wall -O2 -D_FORTIFY_SOURCE=2 -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align -D_FORTIFY_SOURCE=2 -fPIC -g -O0 -module -avoid-version -no-undefined -export-symbols-regex bluetooth_plugin_desc -pie -o hal.la -rpath /usr/lib/bluetooth/plugins hal.lo  
generating symbol list for `hal.la'
/usr/bin/nm -B  .libs/hal.o  |  | /bin/sed 's/.* //' | sort | uniq > .libs/hal.exp
../libtool: eval: line 4373: syntax error near unexpected token `|'
../libtool: eval: line 4373: `/usr/bin/nm -B  .libs/hal.o  |  | /bin/sed 's/.* //' | sort | uniq > .libs/hal.exp'
make[2]: *** [hal.la] Error 1
make[2]: Leaving directory `/home/e/dev/linux/bluez/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/e/dev/linux/bluez'
make: *** [all] Error 2


In ./libtool:

# Take the output of nm and produce a listing of raw symbols and C names.
global_symbol_pipe=""
...
# The commands to list exported symbols.
export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"


Forcing global_symbol_pipe="cat -" lets the build complete.

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bluez: libtool error with current git
  2009-01-23 21:30 bluez: libtool error with current git Eric Rannaud
@ 2009-01-28  5:47 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2009-01-28  5:47 UTC (permalink / raw)
  To: Eric Rannaud; +Cc: linux-bluetooth

Hi Eric,

> On current git c90eb5b, './boostrap-configure && make' fails on F10.
> 
> Linux nc050 2.6.27.9-159.fc10.x86_64 #1 SMP Tue Dec 16 14:47:52 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
> 
> With:
> 
> /bin/sh ../libtool --tag=CC   --mode=link gcc -I../include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include   -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I../gdbus  -Wall -O2 -D_FORTIFY_SOURCE=2 -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls -Wcast-align -D_FORTIFY_SOURCE=2 -fPIC -g -O0 -module -avoid-version -no-undefined -export-symbols-regex bluetooth_plugin_desc -pie -o hal.la -rpath /usr/lib/bluetooth/plugins hal.lo  
> generating symbol list for `hal.la'
> /usr/bin/nm -B  .libs/hal.o  |  | /bin/sed 's/.* //' | sort | uniq > .libs/hal.exp
> ../libtool: eval: line 4373: syntax error near unexpected token `|'
> ../libtool: eval: line 4373: `/usr/bin/nm -B  .libs/hal.o  |  | /bin/sed 's/.* //' | sort | uniq > .libs/hal.exp'
> make[2]: *** [hal.la] Error 1
> make[2]: Leaving directory `/home/e/dev/linux/bluez/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/e/dev/linux/bluez'
> make: *** [all] Error 2
> 
> 
> In ./libtool:
> 
> # Take the output of nm and produce a listing of raw symbols and C names.
> global_symbol_pipe=""
> ...
> # The commands to list exported symbols.
> export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | \$SED 's/.* //' | sort | uniq > \$export_symbols"
> 
> 
> Forcing global_symbol_pipe="cat -" lets the build complete.

I have seen these when enabling maintainer-mode, but I have no idea why
it happens or how to fix it. It also only happens on Fedora and not with
Ubuntu.

Regards

Marcel



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-28  5:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-23 21:30 bluez: libtool error with current git Eric Rannaud
2009-01-28  5:47 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox