Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (7) </ 1 [2] 3 4 5 6 7 ... >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: November Extensions< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 06 2007,07:19 QUOTE

...sorry - don't know how I missed that:blush:
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Nov. 07 2007,13:57 QUOTE

Hi all:
'xfonts-CN.tar.gz' is being worked on. It is named similarly to 'xfonts-JP.tar.gz'. Hope to submit this in a week or so.
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 10 2007,13:01 QUOTE

I've tested my compile-3.3.5 extension by compiling +/-10 programs now - all but two seemed to have compiled fine, including the 2.4.31 bluetooth modules.

Both obexftp and mt-daapd give a similar error as follows:
Code Sample
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/bluez-utils/include -I.. -I../includes -I/opt/compile-3.3.5/include -g -Wall -Wmissing-declarations -Wmissing-prototypes -Wall -MT obexftp_io.lo -MD -MP -MF .deps/obexftp_io.Tpo -c obexftp_io.c  -fPIC -DPIC -o .libs/obexftp_io.o
obexftp_io.c: In function `pathcat':
obexftp_io.c:143: error: `_POSIX_PATH_MAX' undeclared (first use in this function)
obexftp_io.c:143: error: (Each undeclared identifier is reported only once
obexftp_io.c:143: error: for each function it appears in.)
obexftp_io.c: In function `open_safe':
obexftp_io.c:159: error: `_POSIX_PATH_MAX' undeclared (first use in this function)
obexftp_io.c:159: warning: unused variable `diskname'
obexftp_io.c: In function `checkdir':
obexftp_io.c:181: error: `_POSIX_PATH_MAX' undeclared (first use in this function)
obexftp_io.c:181: warning: unused variable `newpath'
make[2]: *** [obexftp_io.lo] Error 1
make[2]: Leaving directory `/KNOPPIX/usr/src/obexftp-0.10.7/obexftp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/KNOPPIX/usr/src/obexftp-0.10.7'
make: *** [all] Error 2

and

if gcc -DHAVE_CONFIG_H -I. -I. -I..   -g -Wall -DHAVE_SQL -DHOST='"i686-pc-linux-gnu"' -DNOT_HAVE_SA_LEN -I/opt/firefly/include  -I/opt/compile-3.3.5/include -MT configfile.o -MD -MP -MF ".deps/configfile.Tpo" -c -o configfile.o configfile.c; \
then mv -f ".deps/configfile.Tpo" ".deps/configfile.Po"; else rm -f ".deps/configfile.Tpo"; exit 1; fi
configfile.c: In function `config_handler':
configfile.c:282: error: `PATH_MAX' undeclared (first use in this function)
configfile.c:282: error: (Each undeclared identifier is reported only once
configfile.c:282: error: for each function it appears in.)
configfile.c:282: warning: unused variable `path'
configfile.c:283: warning: unused variable `resolved_path'
configfile.c:284: warning: unused variable `web_root'
configfile.c: In function `config_emit_conffile':
configfile.c:470: error: `PATH_MAX' undeclared (first use in this function)
configfile.c:470: warning: unused variable `fullpath'
configfile.c: In function `config_emit_include':
configfile.c:785: error: `PATH_MAX' undeclared (first use in this function)
configfile.c:785: warning: unused variable `resolved_path'
configfile.c:786: warning: unused variable `path'
configfile.c:787: warning: unused variable `web_root'
make[3]: *** [configfile.o] Error 1
make[3]: Leaving directory `/ramdisk/usr/src/mt-daapd-svn-1417/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ramdisk/usr/src/mt-daapd-svn-1417/src'

The errors seem to be for the same reason and seem similar in type to the "make dep" error for which Curaga provided a fix (add "#include <sys/param.h>" at the beginning of ../scripts/mkdep.c). If I use gcc1-with-libs.dsl or install a compile environment from debs, the error with obexftp does not occur.

I guess the error is something to do with having the headers in /opt rather than in /usr, but so far google has not thrown up anything obvious - any ideas?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Nov. 10 2007,14:02 QUOTE

They look very similar to me - try the same thing again? Add that include to the conflicting files?

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Nov. 10 2007,14:30 QUOTE

I'd tried that with obexftp and it didn't work - however with mt-daapd it did work (I had to add the line in 5-6 *.c files), thanks.

...Question is, why do I need to do this?
Back to top
Profile PM 
30 replies since Nov. 05 2007,17:10 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (7) </ 1 [2] 3 4 5 6 7 ... >/
reply to topic new topic new poll
Quick Reply: November Extensions

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code