A NOTE has been added to this issue.
======================================================================
http://opie-bugs.oszine.de/view.php?id=1906
======================================================================
Reported By: Pryan
Assigned To:
======================================================================
Project: OPIE
Issue ID: 1906
Category: Build system
Reproducibility: always
Severity: crash
Priority: normal
Status: new
======================================================================
Date Submitted: 12-16-2007 12:51 CET
Last Modified: 12-17-2007 19:39 CET
======================================================================
Summary: crash on 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/obexserver.o obexserver.cpp
obexserver.cpp: In constructor 'OpieObex::ObexServer::ObexServer(int)':
obexserver.cpp:55: error: 'm_obex' was not declared in this scope
obexserver.cpp: At global scope:
obexserver.cpp:101: error: 'obex_t' was not declared in this scope
obexserver.cpp:101: error: 'handle' was not declared in this scope
obexserver.cpp:101: error: 'obex_object_t' was not declared in this scope
obexserver.cpp:101: error: 'object' was not declared in this scope
obexserver.cpp:101: error: initializer expression list treated as compound
expression
obexserver.cpp:102: error: expected ',' or ';' before '{' token
obexserver.cpp:145: error: variable or field 'handle_request' declared
void
obexserver.cpp:145: error: 'obex_t' was not declared in this scope
obexserver.cpp:145: error: 'handle' was not declared in this scope
obexserver.cpp:145: error: 'obex_object_t' was not declared in this scope
obexserver.cpp:145: error: 'object' was not declared in this scope
obexserver.cpp:146: error: expected primary-expression before 'int'
obexserver.cpp:146: error: expected primary-expression before 'int'
obexserver.cpp:146: error: initializer expression list treated as compound
expression
obexserver.cpp:147: error: expected ',' or ';' before '{' token
obexserver.cpp:185: error: variable or field 'obex_conn_event' declared
void
obexserver.cpp:185: error: 'obex_t' was not declared in this scope
obexserver.cpp:185: error: 'handle' was not declared in this scope
obexserver.cpp:185: error: 'obex_object_t' was not declared in this scope
obexserver.cpp:185: error: 'object' was not declared in this scope
obexserver.cpp:186: error: expected primary-expression before 'int'
obexserver.cpp:186: error: expected primary-expression before 'int'
obexserver.cpp:186: error: expected primary-expression before 'int'
obexserver.cpp:186: error: expected primary-expression before 'int'
obexserver.cpp:186: error: initializer expression list treated as compound
expression
obexserver.cpp:187: error: expected ',' or ';' before '{' token
obexserver.cpp:237: error: variable or field 'obex_event' declared void
obexserver.cpp:237: error: 'obex_t' was not declared in this scope
obexserver.cpp:237: error: 'handle' was not declared in this scope
obexserver.cpp:237: error: 'obex_object_t' was not declared in this scope
obexserver.cpp:237: error: 'object' was not declared in this scope
obexserver.cpp:237: error: expected primary-expression before 'int'
obexserver.cpp:238: error: expected primary-expression before 'int'
obexserver.cpp:238: error: expected primary-expression before 'int'
obexserver.cpp:238: error: expected primary-expression before 'int'
obexserver.cpp:238: error: initializer expression list treated as compound
expression
obexserver.cpp:239: error: expected ',' or ';' before '{' token
obexserver.cpp: In member function 'int
OpieObex::ObexServer::initObex()':
obexserver.cpp:343: error: 'm_obex' was not declared in this scope
obexserver.cpp:345: error: 'm_obex' was not declared in this scope
obexserver.cpp:345: error: '::OBEX_Init' has not been declared
obexserver.cpp:350: error: 'OBEX_TRANS_BLUETOOTH' was not declared in this
scope
obexserver.cpp:351: error: '::BtOBEX_ServerRegister' has not been
declared
obexserver.cpp:355: error: '::OBEX_Cleanup' has not been declared
obexserver.cpp:359: error: 'OBEX_TRANS_IRDA' was not declared in this
scope
obexserver.cpp:360: error: '::IrOBEX_ServerRegister' has not been
declared
obexserver.cpp: In member function 'virtual bool
OpieObex::ObexServer::start(Opie::Core::OProcess::RunMode,
Opie::Core::OProcess::Communication)':
obexserver.cpp:443: error: 'm_obex' was not declared in this scope
obexserver.cpp:443: error: 'OBEX_HandleInput' was not declared in this
scope
obexserver.cpp: At global scope:
obexserver.cpp:70: warning: 'int file_received(uint8_t*, const uint8_t*,
size_t)' defined but not used
obexserver.cpp:101: warning: 'put_done' defined but not used
obexserver.cpp:145: warning: 'handle_request' defined but not used
obexserver.cpp:185: warning: 'obex_conn_event' defined but not used
make[1]: *** [.obj/x86-linux/obexserver.o] Error 1
make[1]: Leaving directory `/root/opiehome/opie/core/obex'
make: *** [core/obex] Error 2
Pryan opie #
======================================================================
----------------------------------------------------------------------
BlueLightning - 12-16-07 20:45
----------------------------------------------------------------------
Sounds like this is related to your other error somehow. obex_t is provided
by the OpenOBEX library.
----------------------------------------------------------------------
Pryan - 12-17-07 19:39
----------------------------------------------------------------------
emerging obexftp have solutioned the problem.
Issue History
Date Modified Username Field Change
======================================================================
12-16-07 12:51 Pryan New Issue
12-16-07 20:45 BlueLightning Note Added: 0004764
12-17-07 18:44 Pryan Note Added: 0004767
12-17-07 19:38 Pryan Note Deleted: 0004767
12-17-07 19:39 Pryan Note Added: 0004768
======================================================================
Received on Mon Dec 17 2007 - 13:39:22 EST
This archive was generated by hypermail 2.2.0 : Mon Dec 17 2007 - 13:40:52 EST