Am Fri, 25 Jul 2008 09:50:44 -0700 schrieb M.McNeil:

> Just tried again with a fresh copy of the sources from CVS and got
> this while compiling E:
> mv
> -f .deps/enlightenment_fm-e_sha1.Tpo .deps/enlightenment_fm-e_sha1.Po
> gcc: -lintl: linker input file unused because linking not done gcc:
> -liconv: linker input file unused because linking not done mv
> -f .deps/enlightenment_fm-e_prefix.Tpo .deps/enlightenment_fm-e_prefix.Po
> gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src/bin
> -I../../src/lib -DUSE_E_CONFIG_H -I/opt/e17/include
> -I/opt/e17/include/efreet -I/usr/local/include   -I/opt/e17/include
> -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
> -I/usr/local/include -DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3
> -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6 -DE17_PROFILE=SLOW_PC
> -DPACKAGE_BIN_DIR=\"/opt/e17/bin\" -DPACKAGE_LIB_DIR=\"/opt/e17/lib\"
> -DPACKAGE_DATA_DIR=\"/opt/e17/share/enlightenment\"
> -DLOCALE_DIR=\"/opt/e17/share/locale\"
> -DPACKAGE_SYSCONF_DIR=\"/opt/e17/etc\"  -I/usr/local/include
> -I/opt/e17/include  -lintl -liconv -L/usr/local/lib -L/usr/X11R6/lib
> -I/usr/local/include -I/usr/X11R6/include -MT e_init_main.o -MD -MP
> -MF .deps/e_init_main.Tpo -c -o e_init_main.o e_init_main.c gcc
> -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src/bin -I../../src/lib
> -DUSE_E_CONFIG_H -I/opt/e17/include -I/opt/e17/include/efreet
> -I/usr/local/include   -I/opt/e17/include
> -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
> -I/usr/local/include -DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3
> -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6 -DE17_PROFILE=SLOW_PC
> -DPACKAGE_BIN_DIR=\"/opt/e17/bin\" -DPACKAGE_LIB_DIR=\"/opt/e17/lib\"
> -DPACKAGE_DATA_DIR=\"/opt/e17/share/enlightenment\"
> -DLOCALE_DIR=\"/opt/e17/share/locale\"
> -DPACKAGE_SYSCONF_DIR=\"/opt/e17/etc\"  -I/usr/local/include
> -I/opt/e17/include -I../.. -I../../src/bin -I../../src/lib
> -DUSE_E_CONFIG_H -I/opt/e17/include -I/opt/e17/include/efreet
> -I/usr/local/include   -I/opt/e17/include
> -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include
> -I/usr/local/include -DLOWRES_PDA=1 -DMEDIUMRES_PDA=2 -DHIRES_PDA=3
> -DSLOW_PC=4 -DMEDIUM_PC=5 -DFAST_PC=6 -DE17_PROFILE=SLOW_PC
> -DPACKAGE_BIN_DIR=\"/opt/e17/bin\" -DPACKAGE_LIB_DIR=\"/opt/e17/lib\"
> -DPACKAGE_DATA_DIR=\"/opt/e17/share/enlightenment\"
> -DLOCALE_DIR=\"/opt/e17/share/locale\"
> -DPACKAGE_SYSCONF_DIR=\"/opt/e17/etc\" -lintl -liconv
> -L/usr/local/lib -L/usr/X11R6/lib -I/usr/local/include
> -I/usr/X11R6/include -MT enlightenment_fm_op-e_fm_op.o -MD -MP
> -MF .deps/enlightenment_fm_op-e_fm_op.Tpo -c -o
> enlightenment_fm_op-e_fm_op.o `test -f 'e_fm_op.c' || echo
> './'`e_fm_op.c gcc: -lintl: linker input file unused because linking
> not done gcc: -liconv: linker input file unused because linking not
> done mv -f .deps/e_init_main.Tpo .deps/e_init_main.Po e_fm_op.c: In
> function 'main': e_fm_op.c:120: error: 'PATH_MAX' undeclared (first
> use in this function) e_fm_op.c:120: error: (Each undeclared
> identifier is reported only once e_fm_op.c:120: error: for each
> function it appears in.) e_fm_op.c: In function '_e_fm_op_scan_idler':
> e_fm_op.c:622: error: 'PATH_MAX' undeclared (first use in this
> function) e_fm_op.c: In function '_e_fm_op_copy_link':
> e_fm_op.c:1015: error: 'PATH_MAX' undeclared (first use in this
> function) gmake[3]: *** [enlightenment_fm_op-e_fm_op.o] Error 1
> gmake[3]: *** Waiting for unfinished jobs....
> gmake[3]: Leaving directory
> `/usr/home/mmcneil/e17_cvs/e17/apps/e/src/bin' gmake[2]: ***
> [all-recursive] Error 1 gmake[2]: Leaving directory
> `/usr/home/mmcneil/e17_cvs/e17/apps/e/src' gmake[1]: ***
> [all-recursive] Error 1 gmake[1]: Leaving directory
> `/usr/home/mmcneil/e17_cvs/e17/apps/e' gmake: *** [all] Error 2

> > I'm running FreeBSD 7.0.

It seems PATH_MAX isn't defined on your platform or you didn't include
the correct headers for any reasons. Try to search /usr/include for
PATH_MAX. For local testing you could just include that header file
where it's defined or define this to get it compiling (as workaround):

/* # chars in a path name including nul (from linux/limits.h:12:#) */
define PATH_MAX        4096

For sure you would need a better integration of PATH_MAX for your
platform. I'm wondering that this happens. I thought more people are
developing on FreeBSD.

regards
Andreas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to