Re: sdp.h/ sdp_lib.h and obex.h are missing

Florian Erfurth <[email protected]>
Newsgroups gmane.comp.handhelds.opie.devel
Message-ID <[email protected]>
Hi Dmitriy,
I already did disable BT support (see attachment). Strange. And I did 
resolve it in the past because I installed libbluetooth1-dev packages, 
which provides these missing files. Now it of course don't help because 
libbluetooth1-dev, which I did install are x86-version. I found and 
downloaded the libbluetooth1-dev packages for arm-architektur, but... 
where should I copy these files, hm?
I know I downloaded your files, but these are rpm-packages, and as I 
said I did found the deb-packages in the meanwhile. ;)

cu Floh

PS: By the way... how do I compile my own software, so it works with 
libstdc++.so.6? I tried to run directly on my iPAQ and it complains 
about missing libstdc++.so.5.

Dmitriy Korovkin schrieb:
> 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.

_______________________________________________

http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex

Opie-devel mailing list
[email protected]
https://handhelds.org/mailman/listinfo/opie-devel
config (text/plain, 7.2 KB)
#
# Automatically generated make config: don't edit
#

#
# Build Parameters
#
# CONFIG_TARGET_X86 is not set
# CONFIG_TARGET_MACOSX is not set
# CONFIG_TARGET_SHARP is not set
# CONFIG_TARGET_C700 is not set
# CONFIG_TARGET_OE is not set
CONFIG_TARGET_IPAQ=y
# CONFIG_TARGET_RAMSES is not set
# CONFIG_TARGET_SIMPAD is not set
# CONFIG_TARGET_YOPY is not set
# CONFIG_TARGET_HTC is not set
# CONFIG_TARGET_64BIT is not set
CONFIG_OPTIMIZE=y
# CONFIG_THREADED is not set
# CONFIG_STATIC is not set
# CONFIG_DEBUG is not set
CONFIG_RELEASE=y
CONFIG_QUICK_LAUNCH=y
CONFIG_QUICKLAUNCH_PATH="/opt/QtPalmtop/bin/quicklauncher"
CONFIG_SPECFILE="qws/linux-ipaq-g++"
CONFIG_CUSTOMFILE="custom-ipaq.h"
CONFIG_OPTIMIZATIONS="-march=armv4 -mtune=strongarm1100 -mapcs-32 -fexpensive-optimizations -fomit-frame-pointer -O2"
CONFIG_EXPERIMENTAL=y
CONFIG_USE_CCACHE=y

#
# Configuration
#
CONFIG_OPIE_NO_BUILTIN_SHUTDOWN=y
# CONFIG_OPIE_NO_BUILTIN_CALIBRATE is not set
CONFIG_OPIE_SOUND_FRAGMENT_SHIFT="14"
CONFIG_USE_REALTIME_AUDIO_THREAD=y
CONFIG_USE_FILE_NOTIFICATION=y
CONFIG_OPIE_NEW_ALLOC=y
# CONFIG_OPIE_TASKBAR_LOCK_KEY_STATE is not set
CONFIG_LIBQPE_WITHROHFEEDBACK=y
# CONFIG_LIBQPE_NO_INLINE_IMAGES is not set
# CONFIG_OPIE_NO_SOUND_PCM_READ_BITS is not set

#
# Dependencies
#
# CONFIG_LIBETPAN_DEP is not set
# CONFIG_LIBPCAP_DEP is not set
# CONFIG_LIBSQLITE_DEP is not set
# CONFIG_LIBXINE_DEP is not set
# CONFIG_LIBIPK_DEP is not set
# CONFIG_LIBSDL_DEP is not set
# CONFIG_LIBSWORD_DEP is not set
# CONFIG_LIBBLUEZ_DEP is not set
# CONFIG_LIBFREETYPE2_DEP is not set
# CONFIG_LIBFLITE_DEP is not set
# CONFIG_LIBOBEXFTP_DEP is not set

#
# Base
#
CONFIG_LIBQPE=y
# CONFIG_X11 is not set

#
# 
#
CONFIG_LIBOPIE2CORE=y

#
# libopie2db needs a libqpe, libsqlite3 and libopie2core
#

#
# libopie2net needs a libqpe, libopie2core and libpcap dependency
#
CONFIG_LIBOPIE2PIM=y

#
# SQL-Support needs libopie2pim and libopie2db (and libsqlite)
#
CONFIG_LIBOPIE2UI=y
CONFIG_LIBOPIE2MM=y
CONFIG_LIBOPIE2SECURITY=y

#
# libopie2net needs a libqpe, libopie2core, and libbluez
#

#
# 
#
CONFIG_LIBQTAUX=y
CONFIG_LIBQRSYNC=y
CONFIG_OPIE-LOGIN=y
# CONFIG_OPIELOGIN_USEPAM is not set
CONFIG_OPIEALARM=y
CONFIG_QUICKLAUNCHER=y
CONFIG_HOTPLUG_QCOP=y
CONFIG_LAUNCHER=y
CONFIG_SYMLINKER=y

#
# 
#

#
# Applets
#
CONFIG_ABOUTAPPLET=y
# CONFIG_BATTERYAPPLET is not set
# CONFIG_PCMCIA-APPLET is not set
CONFIG_CLIPBOARDAPPLET=y
CONFIG_CLOCKAPPLET=y
CONFIG_HOMEAPPLET=y
# CONFIG_IRDAAPPLET is not set
CONFIG_LOCKAPPLET=y
CONFIG_LOGOUTAPPLET=y
CONFIG_MULTIKEYAPPLET=y
CONFIG_RESTARTAPPLET=y
CONFIG_ROTATEAPPLET=y
CONFIG_SCREENSHOTAPPLET=y
CONFIG_SUSPENDAPPLET=y
CONFIG_VMEMO=y
CONFIG_VOLUMEAPPLET=y
CONFIG_VTAPPLET=y
# CONFIG_AUTOROTATEAPPLET is not set
# CONFIG_BRIGHTNESSAPPLET is not set
# CONFIG_KEYHELPER is not set

#
# opie-memoryapplet needs a libqpe, libopie2core, libopie2ui and sysinfo
#

#
# Network applet needs a libqpe and libopie2 (core, ui, net)
#
CONFIG_NOTESAPPLET=y
# CONFIG_PYQUICKLAUNCH is not set
# CONFIG_VOLUMEAPPLET2 is not set
CONFIG_ZKBAPPLET=y

#
# Apps
#
# CONFIG_CALIBRATE is not set
CONFIG_EMBEDDEDKONSOLE=y
CONFIG_HELPBROWSER=y
# CONFIG_OAPP is not set
CONFIG_QCOP=y
# CONFIG_QSS is not set
CONFIG_TEXTEDIT=y
CONFIG_ADVANCEDFM=y
CONFIG_CHECKBOOK=y
CONFIG_CONFEDIT=y
# CONFIG_ODICT is not set
CONFIG_BARTENDER=y
CONFIG_OPIE-CONSOLE=y

#
# gutenbrowser needs a libqpe, ftplib, libopie2core and libopie2ui
#
CONFIG_OPIE-READER=y

#
# opie-reader flite plugin needs libflite
#

#
# opie-reader flite plugin needs libflite
#
# CONFIG_OPIE-SHEET is not set
CONFIG_OPIE-WRITE=y
CONFIG_OXYGEN=y
CONFIG_TABLEVIEWER=y
CONFIG_TINYKATE=y
CONFIG_ZSAFE=y

#
# Communications and Networking
#
# CONFIG_KEYPEBBLE is not set
# CONFIG_FTPLIB is not set

#
# opie-mail3 needs a libqpe, libopie2core, libopie2ui, libopie2pim and the libmailwrapper
#

#
# mailapplet needs a libqpe, libopie2core and the libmailwrapper
#
# CONFIG_OPIESMB is not set
# CONFIG_OPIEIRC is not set
# CONFIG_OPIE-RDESKTOP is not set
# CONFIG_OPIETOOTH is not set

#
# wellenreiter needs a libqpe and libopie2 (core+net+ui)
#

#
# Games
#
# CONFIG_BACKGAMMON is not set
# CONFIG_BOUNCE is not set
# CONFIG_BUZZWORD is not set
# CONFIG_FIFTEEN is not set
# CONFIG_GO is not set
# CONFIG_KBILL is not set
# CONFIG_KCHECKERS is not set
# CONFIG_KPACMAN is not set
# CONFIG_MINDBREAKER is not set
# CONFIG_MINESWEEP is not set
# CONFIG_YATZEE is not set
# CONFIG_PARASHOOT is not set
# CONFIG_QASTEROIDS is not set
# CONFIG_SFCAVE is not set
# CONFIG_SNAKE is not set
# CONFIG_SOLITAIRE is not set
# CONFIG_TETRIX is not set
# CONFIG_TICTAC is not set
# CONFIG_WORDGAME is not set
# CONFIG_ZLINES is not set
# CONFIG_ZSAME is not set

#
# Graphics and Multimedia
#
# CONFIG_DRAWPAD is not set
# CONFIG_OPIE_EYE is not set
# CONFIG_OPIEPLAYER is not set
# CONFIG_CAMERA is not set
# CONFIG_CAMERA2 is not set

#
# opieplayer2 requires libopie2core, libopie2ui and libxine
#

#
# opieplayer2 requires libopie2core, libopie2ui and libxine
#
# CONFIG_OPIEREC is not set
# CONFIG_POWERCHORD is not set
# CONFIG_TONLEITER is not set

#
# Input methods
#
CONFIG_DASHER=y
CONFIG_DVORAK=y
CONFIG_HANDWRITING=y

#
# opie-handwriting-classicset automatically selected
#

#
# opie-handwriting-graffitiset automatically selected
#
CONFIG_JUMPX=y
CONFIG_KEYBOARD=y
CONFIG_KJUMPX=y
CONFIG_MULTIKEY=y
CONFIG_PICKBOARD=y
CONFIG_UNIKEYBOARD=y

#
# Pim
#
CONFIG_OBEX=y
# CONFIG_ADDRESSBOOK is not set
# CONFIG_DATEBOOK is not set
# CONFIG_NOTES is not set
# CONFIG_OSEARCH is not set
# CONFIG_TODAY is not set
# CONFIG_TODO is not set

#
# Today Plugins ---
#
# CONFIG_TODAY_ADDRESSBOOK is not set
# CONFIG_TODAY_DATEBOOK is not set

#
# opie-today-mailplugin requires libopie2core, libopie2pim, and libmailwrapper
#
# CONFIG_TODAY_TODOLIST is not set

#
# Holiday Plugins ---
#

#
# Holiday Plugins
#
# CONFIG_DATEBOOK_BIRTHDAYS_HOLIDAY is not set
# CONFIG_DATEBOOK_CHRISTIAN_HOLIDAY is not set
# CONFIG_DATEBOOK_NATIONAL_HOLIDAY is not set

#
# Settings
#
# CONFIG_BUTTON-SETTINGS is not set
# CONFIG_CITYTIME is not set
# CONFIG_LAUNCHER-SETTINGS is not set
# CONFIG_LIGHT-AND-POWER is not set
# CONFIG_SECURITY is not set
# CONFIG_APPEARANCE2 is not set
# CONFIG_AQPKG is not set
# CONFIG_BACKUP is not set
CONFIG_DOCTAB=y
CONFIG_LANGUAGE=y
# CONFIG_MEDIUMMOUNT is not set
# CONFIG_NETSYSTEMTIME is not set
# CONFIG_INTERFACES is not set
# CONFIG_NS2CORE is not set
# CONFIG_SOUND is not set
# CONFIG_SSHKEYS is not set
# CONFIG_SYSINFO is not set
# CONFIG_USERMANAGER is not set

#
# Theming
#

#
# Decorations ---
#

#
# Decorations
#
CONFIG_DECO_FLAT=y
CONFIG_DECO_LIQUID=y
CONFIG_DECO_POLISHED=y

#
# Styles ---
#

#
# Styles
#
CONFIG_FLAT=y
CONFIG_FRESH=y
CONFIG_LIQUID=y
CONFIG_METAL=y
# CONFIG_PHASE is not set
CONFIG_THEME=y
# CONFIG_WEBSTYLE is not set

#
# Tools
#
# CONFIG_CALCULATOR2 is not set
# CONFIG_CALCULATOR is not set
# CONFIG_CLOCK is not set
# CONFIG_EUROCONV is not set
# CONFIG_FORMATTER is not set
CONFIG_OPIE-SH=y

#
# The pim converter needs libqpe, libopie2core, libopie2pim, libopie2db and SQL Backend for libopie2pim
#
# CONFIG_PYQUICKLAUNCHER is not set
# CONFIG_REMOTE is not set

#
# Development
#
# CONFIG_KEYVIEW is not set

#
# Examples
#
# CONFIG_EXAMPLES is not set

#
# 
#

#
# Unsupported / Unmaintained
#
# CONFIG_SHOWIMG is not set
# CONFIG_UBROWSER is not set

#
# 
#

#
# Experimental
#
# CONFIG_QWS is not set
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.