[K68-user] Compile error
Status: Alpha
Brought to you by:
jstembridge
From: Markus R. <mar...@gm...> - 2003-10-27 19:35:44
|
I have a Problem compiling k68. With openobex 0.9.8 configure fails (this is ok, because 1.0.0++ is required), with 1.0.0 and 1.0.1 the make fails[0]. Any Suggestion? Markus [0] gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I/usr/X11R6/include -I/usr/include -DQT_THREAD_SUPPORT -D_REENTRANT -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2 -c `test -f 'serialtransport.c' || echo './'`serialtransport.c In file included from serialtransport.c:24: /usr/include/openobex/obex.h:44: parse error before `/' /usr/include/openobex/obex.h:52: parse error before `*' In file included from /usr/include/openobex/obex.h:58, from serialtransport.c:24: /usr/include/openobex/obex_const.h:42: parse error before `*' /usr/include/openobex/obex_const.h:43: parse error before `*' /usr/include/openobex/obex_const.h:44: parse error before `*' /usr/include/openobex/obex_const.h:45: parse error before `*' /usr/include/openobex/obex_const.h:46: parse error before `*' In file included from serialtransport.c:24: /usr/include/openobex/obex.h:63: parse error before `*' /usr/include/openobex/obex.h:63: ANSI C forbids data definition with no type or storage class /usr/include/openobex/obex.h:64: parse error before `*' /usr/include/openobex/obex.h:65: parse error before `*' /usr/include/openobex/obex.h:66: parse error before `*' /usr/include/openobex/obex.h:67: parse error before `*' /usr/include/openobex/obex.h:68: parse error before `*' /usr/include/openobex/obex.h:69: parse error before `*' /usr/include/openobex/obex.h:71: parse error before `*' /usr/include/openobex/obex.h:72: parse error before `*' /usr/include/openobex/obex.h:73: parse error before `*' /usr/include/openobex/obex.h:75: parse error before `*' /usr/include/openobex/obex.h:76: parse error before `*' /usr/include/openobex/obex.h:77: parse error before `*' /usr/include/openobex/obex.h:78: parse error before `*' /usr/include/openobex/obex.h:80: parse error before `*' /usr/include/openobex/obex.h:81: parse error before `*' /usr/include/openobex/obex.h:81: parse error before `*' /usr/include/openobex/obex.h:81: ANSI C forbids data definition with no type or storage class /usr/include/openobex/obex.h:82: parse error before `*' /usr/include/openobex/obex.h:83: parse error before `*' /usr/include/openobex/obex.h:85: parse error before `*' /usr/include/openobex/obex.h:86: parse error before `*' /usr/include/openobex/obex.h:88: parse error before `*' /usr/include/openobex/obex.h:90: parse error before `*' /usr/include/openobex/obex.h:93: parse error before `*' /usr/include/openobex/obex.h:99: parse error before `*' /usr/include/openobex/obex.h:112: parse error before `*' /usr/include/openobex/obex.h:117: parse error before `*' /usr/include/openobex/obex.h:118: parse error before `*' /usr/include/openobex/obex.h:123: parse error before `*' /usr/include/openobex/obex.h:124: parse error before `*' /usr/include/openobex/obex.h:129: parse error before `*' /usr/include/openobex/obex.h:130: parse error before `*' /usr/include/openobex/obex.h:135: parse error before `*' In file included from serialtransport.c:26: serialtransport.h:27: parse error before `*' serialtransport.h:28: parse error before `*' serialtransport.h:29: parse error before `*' serialtransport.h:30: parse error before `*' serialtransport.c:158: parse error before `*' serialtransport.c:159: warning: no previous prototype for `serial_connect' serialtransport.c: In function `serial_connect': serialtransport.c:164: `handle' undeclared (first use in this function) serialtransport.c:164: (Each undeclared identifier is reported only once serialtransport.c:164: for each function it appears in.) serialtransport.c:166: `userdata' undeclared (first use in this function) serialtransport.c:161: warning: `ud' might be used uninitialized in this function serialtransport.c: At top level: serialtransport.c:234: parse error before `*' serialtransport.c:235: warning: no previous prototype for `serial_disconnect' serialtransport.c: In function `serial_disconnect': serialtransport.c:239: `handle' undeclared (first use in this function) serialtransport.c:241: `userdata' undeclared (first use in this function) serialtransport.c:236: warning: `ud' might be used uninitialized in this function serialtransport.c: At top level: serialtransport.c:270: parse error before `*' serialtransport.c:271: warning: no previous prototype for `serial_write' serialtransport.c: In function `serial_write': serialtransport.c:275: `handle' undeclared (first use in this function) serialtransport.c:277: `userdata' undeclared (first use in this function) serialtransport.c:279: `buffer' undeclared (first use in this function) serialtransport.c:279: `length' undeclared (first use in this function) serialtransport.c:272: warning: `ud' might be used uninitialized in this function serialtransport.c: At top level: serialtransport.c:289: parse error before `*' serialtransport.c:290: warning: no previous prototype for `serial_handleinput' serialtransport.c: In function `serial_handleinput': serialtransport.c:295: `userdata' undeclared (first use in this function) serialtransport.c:298: `timeout' undeclared (first use in this function) serialtransport.c:305: `handle' undeclared (first use in this function) serialtransport.c:291: warning: `ud' might be used uninitialized in this function make[2]: *** [serialtransport.o] Fehler 1 |