LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 06-30-2009, 05:49 AM   #1
mrmuds
LQ Newbie
 
Registered: May 2009
Posts: 11

Rep: Reputation: 0
Error in cross-compiling bluez-utils


I succesfully cross-compiled bluez-libs for my arm platform board. But while compiling Bluez-utils I get error as below

/bin/sh ../libtool --mode=link arm-linux-gcc -I/usr/local/include -I/usr/local/include -Wall -O2 -D_FORTIFY_SOURCE=2 -o ppporc ppporc.o -L/home/Filesystem/root_Innovate-1.0/lib/ -lbluetooth
arm-linux-gcc -I/usr/local/include -I/usr/local/include -Wall -O2 -D_FORTIFY_SOURCE=2 -o ppporc ppporc.o -L/home/Filesystem/root_Innovate-1.0/lib/ /home/Filesystem/root_Innovate-1.0/lib//libbluetooth.so -Wl,--rpath -Wl,/home/Filesystem/root_Innovate-1.0/lib/ -Wl,--rpath -Wl,/home/Filesystem/root_Innovate-1.0/lib/
if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../common -I/usr/local/include -I/usr/local/include -Wall -O2 -D_FORTIFY_SOURCE=2 -MT hciattach.o -MD -MP -MF ".deps/hciattach.Tpo" \
-c -o hciattach.o `test -f 'hciattach.c' || echo './'`hciattach.c; \
then mv -f ".deps/hciattach.Tpo" ".deps/hciattach.Po"; \
else rm -f ".deps/hciattach.Tpo"; exit 1; \
fi
hciattach.c: In function `main':
hciattach.c:972: error: `PATH_MAX' undeclared (first use in this function)
hciattach.c:972: error: (Each undeclared identifier is reported only once
hciattach.c:972: error: for each function it appears in.)
hciattach.c:972: warning: unused variable `dev'
make[2]: *** [hciattach.o] Error 1
make[2]: Leaving directory `/root/bluez-utils-2.25/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/bluez-utils-2.25'
make: *** [all] Error 2

Can anyone please help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bluez-utils cross-compiling error cloudlast Linux - Embedded & Single-board computer 5 08-27-2015 03:10 AM
Bluez 3.36 cross compiling + cannot find library kewl Linux - Software 1 06-17-2009 12:47 PM
Cross compiling Bluez-utils for ARM deshu Linux - Software 1 03-06-2009 01:29 PM
how to cross-compile bluez-utils? cloudlast Linux - Software 1 04-29-2008 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 03:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration