Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Cc: bluez-users@lists.sf.net
Subject: Re: [Bluez-users] XML_StopParser undefined reference- compilation	error bluez-utils-3.9
Date: Sat, 31 Mar 2007 15:47:40 +0200	[thread overview]
Message-ID: <1175348860.5815.259.camel@violet> (raw)
In-Reply-To: <00b101c77295$74ada8a0$8935c70a@dlh.st.com>

Hi Sumeet,

> I am getting a compiler error while building bluez-utils-3.9. 
> The log is here:-
> 
> make[3]: Entering directory `/home/vsumeet/bluez/3.9/bluez-utils-3.9/hcid'
> /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/local/include  
> -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include  
> -DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2 -D_FORTIFY_SOURCE=2   -o hcid
>  main.o libhciserver.a ../sdpd/libsdpserver.a ../common/libhelper.a 
> ../eglib/libeglib.la -L/usr/local/lib -ldbus-1   -L/usr/local/lib -lbluetooth  
> -lexpat
> gcc -I/usr/local/include -I/usr/local/include/dbus-1.0
> -I/usr/local/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I../eglib 
> -Wall -O2 -D_FORTIFY_SOURCE=2 -o hcid main.o  libhciserver.a ../sdpd/libsdpserver.a
> ../common/libhelper.a ../eglib/.libs/libeglib.a -L/usr/local/lib
> /usr/local/lib/libdbus-1.so -lnsl /usr/local/lib/libbluetooth.so 
> /usr/lib/libexpat.so   -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
> ../common/libhelper.a(sdp-expat.o)(.text+0x227): In function
> `convert_xml_to_sdp_start':
> : undefined reference to `XML_StopParser' 
> collect2: ld returned 1 exit status
> make[3]: *** [hcid] Error 1
> make[3]: Leaving directory `/home/vsumeet/bluez/3.9/bluez-utils-3.9/hcid'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/vsumeet/bluez/3.9/bluez- utils-3.9/hcid'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/vsumeet/bluez/3.9/bluez-utils-3.9'
> make: *** [all] Error 2
> 
> I have checked the expat library is present. 
> The version is libexpat.so.0.5.0
> Do you know why is it not able to link?

I have no idea. It works perfectly fine for me. However you can use
--disable-expat to compile it without XML support. In this case the
D-Bus methods that take XML as input will be disabled.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      reply	other threads:[~2007-03-31 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30  6:34 [Bluez-users] XML_StopParser undefined reference- compilation error bluez-utils-3.9 Sumeet VERMA
2007-03-31 13:47 ` Marcel Holtmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1175348860.5815.259.camel@violet \
    --to=marcel@holtmann.org \
    --cc=bluez-users@lists.sf.net \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox