linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] Build Problem
@ 2006-02-23 17:37 Claudio Takahasi
  2006-02-23 17:46 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Claudio Takahasi @ 2006-02-23 17:37 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 1851 bytes --]

Hi Marcel,

I saw that you changed the hcid/Makefile.am to add sdp files. When you
changed the file order the build broke. The attached patch should fix
this issue.

kword.c:42:20: error: parser.h: No such file or directory
kword.c:45: error: 'K_OPTIONS' undeclared here (not in a function)
kword.c:46: error: 'K_DEVICE' undeclared here (not in a function)
kword.c:48: error: 'K_AUTOINIT' undeclared here (not in a function)
kword.c:49: error: 'K_SECURITY' undeclared here (not in a function)
kword.c:50: error: 'K_PAIRING' undeclared here (not in a function)
kword.c:51: error: 'K_PTYPE' undeclared here (not in a function)
kword.c:52: error: 'K_LM' undeclared here (not in a function)
kword.c:53: error: 'K_LP' undeclared here (not in a function)
kword.c:54: error: 'K_ISCAN' undeclared here (not in a function)
kword.c:55: error: 'K_PSCAN' undeclared here (not in a function)
kword.c:56: error: 'K_NAME' undeclared here (not in a function)
kword.c:57: error: 'K_CLASS' undeclared here (not in a function)
kword.c:58: error: 'K_VOICE' undeclared here (not in a function)
kword.c:59: error: 'K_INQMODE' undeclared here (not in a function)
kword.c:60: error: 'K_PAGETO' undeclared here (not in a function)
kword.c:61: error: 'K_AUTH' undeclared here (not in a function)
kword.c:62: error: 'K_ENCRYPT' undeclared here (not in a function)
kword.c:63: error: 'K_PINCODE' undeclared here (not in a function)
kword.c:64: error: 'K_PINHELP' undeclared here (not in a function)
kword.c:65: error: 'K_DBUSPINHELP' undeclared here (not in a function)
kword.c:67: error: 'K_YES' undeclared here (not in a function)
kword.c:68: error: 'K_NO' undeclared here (not in a function)
make[2]: *** [kword.o] Error 1


--
---------------------------------------------------------
Claudio Takahasi
Instituto Nokia de Tecnologia - INdT

[-- Attachment #2: Makefile.patch --]
[-- Type: text/x-patch, Size: 686 bytes --]

Index: hcid/Makefile.am
===================================================================
RCS file: /cvsroot/bluez/utils/hcid/Makefile.am,v
retrieving revision 1.37
diff -u -r1.37 Makefile.am
--- hcid/Makefile.am	23 Feb 2006 12:56:46 -0000	1.37
+++ hcid/Makefile.am	23 Feb 2006 17:33:56 -0000
@@ -28,8 +28,8 @@
 endif
 
 hcid_SOURCES = main.c security.c device.c storage.c hcid.h \
-		sdp.c sdp.h lib.c lib.h kword.c kword.h \
-		parser.h parser.y lexer.l $(dbus_hcid_sources) \
+		sdp.c sdp.h lib.c lib.h parser.h parser.y \
+		lexer.l kword.c kword.h $(dbus_hcid_sources) \
 		$(top_builddir)/tools/oui.h $(top_builddir)/tools/oui.c
 
 hcid_LDADD = $(dbus_hcid_libs) @BLUEZ_LIBS@ \

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

* Re: [Bluez-devel] Build Problem
  2006-02-23 17:37 [Bluez-devel] Build Problem Claudio Takahasi
@ 2006-02-23 17:46 ` Marcel Holtmann
  2006-02-23 17:50   ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2006-02-23 17:46 UTC (permalink / raw)
  To: bluez-devel

Hi Claudio,

> I saw that you changed the hcid/Makefile.am to add sdp files. When you
> changed the file order the build broke. The attached patch should fix
> this issue.

it works for me. What autoconf/automake version are you using. Did you
ran bootstrap-configure again?

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

* Re: [Bluez-devel] Build Problem
  2006-02-23 17:46 ` Marcel Holtmann
@ 2006-02-23 17:50   ` Marcel Holtmann
  0 siblings, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2006-02-23 17:50 UTC (permalink / raw)
  To: bluez-devel

Hi Claudio,

> > I saw that you changed the hcid/Makefile.am to add sdp files. When you
> > changed the file order the build broke. The attached patch should fix
> > this issue.
> 
> it works for me. What autoconf/automake version are you using. Did you
> ran bootstrap-configure again?

oops, it also breaks it for me. Was working only the hcid subdirectory
and in this case everything is fine, but a clean build doesn't work.

Thanks for the patch.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2006-02-23 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-23 17:37 [Bluez-devel] Build Problem Claudio Takahasi
2006-02-23 17:46 ` Marcel Holtmann
2006-02-23 17:50   ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).