[OPIE 0001905]: No obex.h file in compilation

From: <noreply_at_oszine.de>
Date: Mon, 17 Dec 2007 21:33:31 +0100

A NOTE has been added to this issue.
======================================================================
http://opie-bugs.oszine.de/view.php?id=1905
======================================================================
Reported By: Pryan
Assigned To:
======================================================================
Project: OPIE
Issue ID: 1905
Category: Build system
Reproducibility: always
Severity: crash
Priority: normal
Status: new
======================================================================
Date Submitted: 12-16-2007 12:24 CET
Last Modified: 12-17-2007 21:33 CET
======================================================================
Summary: No obex.h file in compilation
Description:
g++ -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -O2 -fPIC
-DOPIE_NO_DEBUG -DOPIE_NO_BUILTIN_SHUTDOWN -DUSE_FILE_NOTIFICATION
-DOPIE_SOUND_FRAGMENT_SHIFT=16 -DQT_NO_DEBUG
-I/root/opiehome/opie/mkspecs/qws/linux-generic-g++ -I.
-I/root/opiehome/opie/include -I/root/opiehome/opie/core/launcher
-I/root/opiehome/qt-2.3.10/include -I.moc/x86-linux/ -o
.obj/x86-linux/obex.o obex.cpp
In file included from obex.h:37,
                 from obex.cpp:32:
obexserver.h:41:27: error: openobex/obex.h: No such file or directory
obexserver.h:73: error: ISO C++ forbids declaration of 'obex_t' with no
type
obexserver.h:73: error: expected ';' before '*' token
/root/opiehome/qt-2.3.10/include/qdatetime.h:51: warning: 'class QDate'
has virtual functions but non-virtual destructor
obex.cpp: In member function 'virtual void OpieObex::Obex::receive()':
obex.cpp:60: error: 'OBEX_TRANS_IRDA' was not declared in this scope
make[1]: *** [.obj/x86-linux/obex.o] Error 1
make[1]: Leaving directory `/root/opiehome/opie/core/obex'
make: *** [core/obex] Error 2
Pryan opie #
======================================================================

----------------------------------------------------------------------
 BlueLightning - 12-16-07 20:29
----------------------------------------------------------------------
IIRC you need to set the include/lib dirs for OpenOBEX in "make
menuconfig".

----------------------------------------------------------------------
 Pryan - 12-17-07 18:43
----------------------------------------------------------------------
where ? explain it to me, i solved making a touch file.

----------------------------------------------------------------------
 BlueLightning - 12-17-07 21:09
----------------------------------------------------------------------
Set the following in "make menuconfig":

Dependencies -> Have OBEX FTP library
Dependencies -> OBEXFTP include dir
Dependencies -> OBEXFTP library dir

----------------------------------------------------------------------
 BlueLightning - 12-17-07 21:33
----------------------------------------------------------------------
Oops, that's wrong. You shouldn't need to set anything for this.

Do you have anything in the "/usr/include/openobex" directory? obex.h
should be in there if libopenobex is installed correctly.

Issue History
Date Modified Username Field Change
======================================================================
12-16-07 12:24 Pryan New Issue
12-16-07 20:29 BlueLightning Note Added: 0004762
12-17-07 18:43 Pryan Note Added: 0004766
12-17-07 21:09 BlueLightning Note Added: 0004770
12-17-07 21:33 BlueLightning Note Added: 0004771
======================================================================
Received on Mon Dec 17 2007 - 15:33:33 EST

This archive was generated by hypermail 2.2.0 : Mon Dec 17 2007 - 15:33:47 EST