Re: sdp.h/ sdp_lib.h and obex.h are missing
Dmitriy Korovkin <[email protected]>
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Floh, If you are going to disable BT support in your build, just simply do it. You remember that we have fixed this problem and OBEX compiles fine with no BT support, right?. If you are going to build OPIE for the target, than, yes you need RT libraries for the target. If you remember, you have downloaded them from my site, right? Regards, Dmitriy. On Thu, 7 Dec 2006, Florian Erfurth wrote: > Date: Thu, 07 Dec 2006 15:30:14 +0100 > From: Florian Erfurth <[email protected]> > Reply-To: [email protected] > To: Rob Neild <[email protected]> > Cc: [email protected] > Subject: Re: [Opie-devel] sdp.h/ sdp_lib.h and obex.h are missing > > Hi, do you remember I had this problem? I did resolve it by installing > libbluetooth1-dev package. Now I want to crosscompile opie against arm (the > last time I did compile for x86 in order to test my app on > opie/qvfb-emulation). I think, if I want to compile opie (resp. obex) I need > header files for arm. Am I right? > Could you suggest me how should I do it? Download source of bluez-libs and > then crosscompile? > > May I suggest a thing: > If you download auto-build.sh from > (http://www.handhelds.org/~christophe/auto-build.sh) and then run it. It's ok > for compiling for x86. But if you want compile for arm, then it would be > great if it creates directories for arm/lib arm/include and copies/download > some necessary headers/libs there so it's already ready. I had to copy > libqte.so*, libqpe.so* and some libs from my iPAQ. I saw a tar.gz-file which > contains such files, but it's too old (I believe it was somewhat 0.7.0). > > cu Floh > > Here is the error message: >>>> > /usr/local/arm/3.3.2/bin/arm-linux-g++ -DQT_QWS_IPAQ -c -pipe -DQWS > -fno-exceptions -fno-rtti -Wall -W -march=armv4 -mtune=strongarm1100 > -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2 -fPIC > -DOPIE_NO_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_REALTIME_AUDIO_THREAD > -DUSE_FILE_NOTIFICATION -DOPIE_NEW_MALLOC -DOPIE_SOUND_FRAGMENT_SHIFT=14 > -DQT_NO_DEBUG -I/home/floh/qt-ipaq/opie/mkspecs/qws/linux-ipaq-g++ -I. > -I/home/floh/qt-ipaq/opie/include -I/home/floh/qt-ipaq/opie/core/launcher > -I/home/floh/qt-ipaq/qt-2.3.10/include -I.moc/ipaq-linux/ -o > .obj/ipaq-linux/obex.o obex.cpp > In file included from obex.h:37, > from obex.cpp:32: > obexserver.h:38:27: bluetooth/sdp.h: No such file or directory > obexserver.h:39:31: bluetooth/sdp_lib.h: No such file or directory > obexserver.h:41:27: openobex/obex.h: No such file or directory > In file included from obex.h:37, > from obex.cpp:32: > obexserver.h:73: error: syntax error before `*' token > obexserver.h:74: error: syntax error before `*' token > obexserver.h:79: error: syntax error before `*' token > obex.cpp: In member function `virtual void OpieObex::Obex::receive()': > obex.cpp:60: error: `OBEX_TRANS_IRDA' undeclared (first use this function) > obex.cpp:60: error: (Each undeclared identifier is reported only once for > each > function it appears in.) > make[1]: *** [.obj/ipaq-linux/obex.o] Error 1 > make[1]: Leaving directory `/home/floh/qt-ipaq/opie/core/obex' > make: *** [core/obex] Error 2 > <<< > > cu Floh > > Rob Neild schrieb: >> >> Compiling opie seems to be a bit of a pain. >> >> How to solve these problems depends on your distribution. On debian/ubuntu >> you can do a search at http://www.debian.org/distrib/packages to find what >> packages provide the missing file. >> >> In your case a search for bluetooth/sdp.h brings up the package >> libbluetooth1-dev, which you should install. >> >> >> Rob >> >> ----- Original Message ---- >> From: Florian Erfurth <[email protected]> >> To: [email protected] >> Sent: Friday, 10 November, 2006 12:11:57 PM >> Subject: [Opie-devel] sdp.h/ sdp_lib.h and obex.h are missing >> >> Hi, I'm trying to compile opie. I followed the steps at >> http://opie.handhelds.org/cgi-bin/moin.cgi/BuildOpie. Unfortunatelly it >> stops with following error: >> obexserver.h:38:27: bluetooth/sdp.h: Datei oder Verzeichnis nicht gefunden >> obexserver.h:39:31: bluetooth/sdp_lib.h: Datei oder Verzeichnis nicht >> gefunden >> obexserver.h:41:27: openobex/obex.h: Datei oder Verzeichnis nicht gefunden > _______________________________________________ > > http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex > > Opie-devel mailing list > [email protected] > https://handhelds.org/mailman/listinfo/opie-devel > -- Dmitriy _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list [email protected] https://handhelds.org/mailman/listinfo/opie-devel