public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] undefined reference to `XML_StopParser'
@ 2007-02-27 14:34 vikram
  2007-03-03 11:36 ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: vikram @ 2007-02-27 14:34 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 2216 bytes --]

Hi Marcel,

If I run make && make istall from ..\BlueZ\utils\bluez-utils-3.9. 
got following error.


./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 `/root/vikram/bluez-utils-3.9/hcid'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/vikram/bluez-utils-3.9/hcid'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/vikram/bluez-utils-3.9'
make: *** [all] Error 2

if I call configure with --enable-glib

I am getting following error

dbus-service.c:765: error: `GKeyFile' undeclared (first use in this function)
dbus-service.c:765: error: (Each undeclared identifier is reported only once
dbus-service.c:765: error: for each function it appears in.)
dbus-service.c:765: error: `keyfile' undeclared (first use in this function)
dbus-service.c:771: warning: implicit declaration of function `g_try_new0'
dbus-service.c:771: error: syntax error before "struct"
dbus-service.c:779: warning: implicit declaration of function `g_key_file_new'
dbus-service.c:781: warning: implicit declaration of function `g_key_file_load_from_file'
dbus-service.c:787: warning: implicit declaration of function `g_key_file_get_string'
dbus-service.c:788: warning: assignment makes pointer from integer without a cast
dbus-service.c:796: warning: assignment makes pointer from integer without a cast
dbus-service.c:812: warning: assignment makes pointer from integer without a cast
dbus-service.c:819: warning: implicit declaration of function `g_key_file_get_boolean'
dbus-service.c:828: warning: implicit declaration of function `g_key_file_free'
dbus-service.c: In function `create_external_service':
dbus-service.c:948: error: syntax error before "struct"
make[3]: *** [dbus-service.o] Error 1
make[3]: Leaving directory `/root/vikram/bluez-utils-3.9/hcid'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/vikram/bluez-utils-3.9/hcid'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/vikram/bluez-utils-3.9'
make: *** [all] Error 2


Regards,
Vikram

[-- Attachment #1.2: Type: text/html, Size: 3351 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] undefined reference to `XML_StopParser'
  2007-02-27 14:34 [Bluez-users] undefined reference to `XML_StopParser' vikram
@ 2007-03-03 11:36 ` Marcel Holtmann
  2007-03-03 19:24   ` [Bluez-users] patch failed tim culwins
  0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2007-03-03 11:36 UTC (permalink / raw)
  To: BlueZ users

Hi Vikram,

> If I ru make && make istall from ..\BlueZ\utils\bluez-utils-3.9. 
> got following error.
> 
>  
> ./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 `/root/vikram/bluez-utils-3.9/hcid'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/root/vikram/bluez-utils-3.9/hcid'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/vikram/bluez-utils-3.9'
> make: *** [all] Error 2
>  
> if I call configure with --enable-glib
>  
> I am getting following error
>  
> dbus-service.c:765: error: `GKeyFile' undeclared (first use in this
> function)
> dbus-service.c:765: error: (Each undeclared identifier is reported
> only once
> dbus-service.c:765: error: for each function it appears in.)
> dbus-service.c:765: error: `keyfile' undeclared (first use in this
> function)
> dbus-service.c:771: warning: implicit declaration of function
> `g_try_new0'
> dbus-service.c:771: error: syntax error before "struct"
> dbus-service.c:779: warning: implicit declaration of function
> `g_key_file_new'
> dbus-service.c:781: warning: implicit declaration of function
> `g_key_file_load_from_file'
> dbus-service.c:787: warning: implicit declaration of function
> `g_key_file_get_string'
> dbus-service.c:788: warning: assignment makes pointer from integer
> without a cast
> dbus-service.c:796: warning: assignment makes pointer from integer
> without a cast
> dbus-service.c:812: warning: assignment makes pointer from integer
> without a cast
> dbus-service.c:819: warning: implicit declaration of function
> `g_key_file_get_boolean'
> dbus-service.c:828: warning: implicit declaration of function
> `g_key_file_free'
> dbus-service.c: In function `create_external_service':
> dbus-service.c:948: error: syntax error before "struct"
> make[3]: *** [dbus-service.o] Error 1
> make[3]: Leaving directory `/root/vikram/bluez-utils-3.9/hcid'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/root/vikram/bluez-utils-3.9/hcid'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/vikram/bluez-utils-3.9'
> make: *** [all] Error 2

please show me your full configure call and its output.

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

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

* [Bluez-users] patch failed...
  2007-03-03 11:36 ` Marcel Holtmann
@ 2007-03-03 19:24   ` tim culwins
  2007-03-03 21:22     ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: tim culwins @ 2007-03-03 19:24 UTC (permalink / raw)
  To: BlueZ users

so im trying to apply the new patch to my ubuntu
kernel. and i get this error message. any idea whats
wrong?

thanks,


root@arc:/usr/src/linux# zcat patch-2.6.20-mh1.gz |
patch -p1 --dry-run
patching file drivers/bluetooth/bcm203x.c
Hunk #1 succeeded at 309 (offset 2 lines).
patching file drivers/bluetooth/bfusb.c
Hunk #1 succeeded at 800 (offset -2 lines).
patching file drivers/bluetooth/bt3c_cs.c
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file
Makefile.rej
patching file net/bluetooth/hci_core.c
Hunk #1 succeeded at 850 (offset -3 lines).
patching file net/bluetooth/hidp/core.c
Hunk #1 succeeded at 38 with fuzz 1.
Hunk #2 succeeded at 50 (offset -1 lines).
Hunk #3 succeeded at 124 (offset -1 lines).
Hunk #4 succeeded at 171 (offset -1 lines).
Hunk #5 succeeded at 241 (offset -1 lines).
Hunk #6 succeeded at 404 (offset -1 lines).
Hunk #7 succeeded at 466 (offset -1 lines).
Hunk #8 succeeded at 539 (offset -1 lines).
Hunk #9 succeeded at 596 (offset 1 line).
Hunk #10 succeeded at 651 (offset -19 lines).
Hunk #11 succeeded at 704 (offset -19 lines).
Hunk #12 succeeded at 771 (offset -19 lines).
Hunk #13 succeeded at 807 (offset -19 lines).
patching file net/bluetooth/hidp/hidp.h
patching file net/bluetooth/hidp/Kconfig
patching file net/bluetooth/hidp/sock.c
Hunk #1 FAILED at 189.
1 out of 1 hunk FAILED -- saving rejects to file
net/bluetooth/hidp/sock.c.rej




 
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

-------------------------------------------------------------------------
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

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

* Re: [Bluez-users] patch failed...
  2007-03-03 21:22     ` Marcel Holtmann
@ 2007-03-03 20:56       ` tim culwins
  2007-03-04  2:59         ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: tim culwins @ 2007-03-03 20:56 UTC (permalink / raw)
  To: BlueZ users

thanks for the help,

ok i tried again using the kernel form
http://www.kernel.org/
and still get this:

sudo zcat patch-2.6.20-mh1.gz | patch -p
patch: option requires an argument -- p
patch: Try `patch --help' for more information.
root@arc:/usr/src/linux# sudo zcat patch-2.6.20-mh1.gz
| patch -p1
patching file drivers/bluetooth/bcm203x.c
patching file drivers/bluetooth/bfusb.c
patching file drivers/bluetooth/bt3c_cs.c
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file
Makefile.rej
patching file net/bluetooth/hci_core.c
patching file net/bluetooth/hidp/core.c
patching file net/bluetooth/hidp/hidp.h
patching file net/bluetooth/hidp/Kconfig
patching file net/bluetooth/hidp/sock.c
root@arc:/usr/src/linux# 



--- Marcel Holtmann <marcel@holtmann.org> wrote:

> Hi Tim,
> 
> > so im trying to apply the new patch to my ubuntu
> > kernel. and i get this error message. any idea
> whats
> > wrong?
> 
> the patch is not meant to be applied against the
> Ubuntu kernel. It is
> for the plain vanilla upstream kernel. You must take
> this to the Ubunutu
> guys.
> 
> 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
> 



 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

-------------------------------------------------------------------------
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

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

* Re: [Bluez-users] patch failed...
  2007-03-03 19:24   ` [Bluez-users] patch failed tim culwins
@ 2007-03-03 21:22     ` Marcel Holtmann
  2007-03-03 20:56       ` tim culwins
  0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2007-03-03 21:22 UTC (permalink / raw)
  To: BlueZ users

Hi Tim,

> so im trying to apply the new patch to my ubuntu
> kernel. and i get this error message. any idea whats
> wrong?

the patch is not meant to be applied against the Ubuntu kernel. It is
for the plain vanilla upstream kernel. You must take this to the Ubunutu
guys.

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

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

* Re: [Bluez-users] patch failed...
  2007-03-03 20:56       ` tim culwins
@ 2007-03-04  2:59         ` Marcel Holtmann
  2007-03-07  0:15           ` tim culwins
  0 siblings, 1 reply; 9+ messages in thread
From: Marcel Holtmann @ 2007-03-04  2:59 UTC (permalink / raw)
  To: BlueZ users

Hi Tim,

> thanks for the help,
> 
> ok i tried again using the kernel form
> http://www.kernel.org/
> and still get this:
> 
> sudo zcat patch-2.6.20-mh1.gz | patch -p
> patch: option requires an argument -- p
> patch: Try `patch --help' for more information.
> root@arc:/usr/src/linux# sudo zcat patch-2.6.20-mh1.gz
> | patch -p1
> patching file drivers/bluetooth/bcm203x.c
> patching file drivers/bluetooth/bfusb.c
> patching file drivers/bluetooth/bt3c_cs.c
> patching file Makefile
> Hunk #1 FAILED at 1.
> 1 out of 1 hunk FAILED -- saving rejects to file
> Makefile.rej
> patching file net/bluetooth/hci_core.c
> patching file net/bluetooth/hidp/core.c
> patching file net/bluetooth/hidp/hidp.h
> patching file net/bluetooth/hidp/Kconfig
> patching file net/bluetooth/hidp/sock.c
> root@arc:/usr/src/linux# 

can't be. The patch has been build with a script against 2.6.20 and will
apply perfectly.

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

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

* Re: [Bluez-users] undefined reference to `XML_StopParser'
@ 2007-03-05 15:03 vikram
  2007-03-05 19:34 ` Marcel Holtmann
  0 siblings, 1 reply; 9+ messages in thread
From: vikram @ 2007-03-05 15:03 UTC (permalink / raw)
  To: bluez-users


[-- Attachment #1.1: Type: text/plain, Size: 407 bytes --]

Hi Marcel,

I could successfully configure and make the bluez-utils-3.9. and also I could build l2test.
But right now I want to run l2test on CASIRA uart(com1 ,115200 Baudrate). If I run ( ./l2test) Bluetooth is not resetting.
I think right now it is configured for USB (in /etc/modules.conf ). Can you please tell me how can I configure it to UART(com1 ,115200 Baudrate).

Thanks,

Regards,
Vikram

[-- Attachment #1.2: Type: text/html, Size: 1127 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

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

* Re: [Bluez-users] undefined reference to `XML_StopParser'
  2007-03-05 15:03 [Bluez-users] undefined reference to `XML_StopParser' vikram
@ 2007-03-05 19:34 ` Marcel Holtmann
  0 siblings, 0 replies; 9+ messages in thread
From: Marcel Holtmann @ 2007-03-05 19:34 UTC (permalink / raw)
  To: BlueZ users

Hi Vikram,

> I could successfully configure and make the bluez-utils-3.9. and also
> I could build l2test.
> But right now I want to run l2test on CASIRA uart(com1 ,115200
> Baudrate). If I run ( ./l2test) Bluetooth is not resetting.
> I think right now it is configured for USB (in /etc/modules.conf ).
> Can you please tell me how can I configure it to UART(com1 ,115200
> Baudrate).

this is Casira specific. Look up the PS key settings for the Casira and
then you can use the bccmd utility to change it.

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

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

* Re: [Bluez-users] patch failed...
  2007-03-04  2:59         ` Marcel Holtmann
@ 2007-03-07  0:15           ` tim culwins
  0 siblings, 0 replies; 9+ messages in thread
From: tim culwins @ 2007-03-07  0:15 UTC (permalink / raw)
  To: BlueZ users

well, im using 2.6.20.1. will the patch work on this
version?
if not where can i find the correct version of the
kernel?

if i have the correct version what could i be doing
wrong?

Thanks

--- Marcel Holtmann <marcel@holtmann.org> wrote:

> Hi Tim,
> 
> > thanks for the help,
> > 
> > ok i tried again using the kernel form
> > http://www.kernel.org/
> > and still get this:
> > 
> > sudo zcat patch-2.6.20-mh1.gz | patch -p
> > patch: option requires an argument -- p
> > patch: Try `patch --help' for more information.
> > root@arc:/usr/src/linux# sudo zcat
> patch-2.6.20-mh1.gz
> > | patch -p1
> > patching file drivers/bluetooth/bcm203x.c
> > patching file drivers/bluetooth/bfusb.c
> > patching file drivers/bluetooth/bt3c_cs.c
> > patching file Makefile
> > Hunk #1 FAILED at 1.
> > 1 out of 1 hunk FAILED -- saving rejects to file
> > Makefile.rej
> > patching file net/bluetooth/hci_core.c
> > patching file net/bluetooth/hidp/core.c
> > patching file net/bluetooth/hidp/hidp.h
> > patching file net/bluetooth/hidp/Kconfig
> > patching file net/bluetooth/hidp/sock.c
> > root@arc:/usr/src/linux# 
> 
> can't be. The patch has been build with a script
> against 2.6.20 and will
> apply perfectly.
> 
> 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
> 



 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/

-------------------------------------------------------------------------
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

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

end of thread, other threads:[~2007-03-07  0:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-27 14:34 [Bluez-users] undefined reference to `XML_StopParser' vikram
2007-03-03 11:36 ` Marcel Holtmann
2007-03-03 19:24   ` [Bluez-users] patch failed tim culwins
2007-03-03 21:22     ` Marcel Holtmann
2007-03-03 20:56       ` tim culwins
2007-03-04  2:59         ` Marcel Holtmann
2007-03-07  0:15           ` tim culwins
  -- strict thread matches above, loose matches on Subject: below --
2007-03-05 15:03 [Bluez-users] undefined reference to `XML_StopParser' vikram
2007-03-05 19:34 ` Marcel Holtmann

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