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' |