2007-02-27 14:34:06

by vikram

[permalink] [raw]
Subject: [Bluez-users] undefined reference to `XML_StopParser'

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


Attachments:
(No filename) (345.00 B)
(No filename) (164.00 B)
Download all attachments

2007-03-07 00:15:27

by tim culwins

[permalink] [raw]
Subject: Re: [Bluez-users] patch failed...

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 <[email protected]> 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
> [email protected]
>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-03-05 19:34:18

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] undefined reference to `XML_StopParser'

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-03-05 15:03:56

by vikram

[permalink] [raw]
Subject: Re: [Bluez-users] undefined reference to `XML_StopParser'

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


Attachments:
(No filename) (345.00 B)
(No filename) (164.00 B)
Download all attachments

2007-03-04 02:59:18

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] patch failed...

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-03-03 20:56:17

by tim culwins

[permalink] [raw]
Subject: Re: [Bluez-users] patch failed...

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 <[email protected]> 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
> [email protected]
>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-03-03 21:22:23

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] patch failed...

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-03-03 19:24:00

by tim culwins

[permalink] [raw]
Subject: [Bluez-users] patch failed...

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

2007-03-03 11:36:36

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] undefined reference to `XML_StopParser'

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users