FreeBSD doesn't defing PATH_MAX in /sys/sys/syslimits.h It's listed,
however it's commented out, as FreeBSD wants to call sysconf(), which in
turn points to pathconf(). The manpage for pathconf() uses
_PC_PATH_MAX_ instead of PATH_MAX. The funny thing is that PATH_MAX is
used when building ecore, which compiles and installs without error on
my system. Hopefully someone with more knowledge than me can identify
and fix this issue.
Thanks,
Mike M.
Ethan Grammatikidis wrote:
If I remember right I got this error building e17 on Mac OS X Tiger too,
which makes me wonder if it's a general *BSD problem and if autoconf
should take care of it. Or perhaps it's an easy_e17.sh problem, I used
easy_e17.sh too. I was using gcc 4.01, and fresh easy_e17.sh and
enlightenment cvs tree a couple of months ago. I no longer have OS X to
test.
btw I'm finding no such thing as sys/syslimits.h on my linux box. I am
finding syslimits.h in every gcc tree on the system, but none of them
define PATH_MAX. It is not defined in /usr/include/limits.h. It is
defined in /usr/include/linux/limits.h, which makes it look much like a
kernel thing rather than anything else. Perhaps *BSD kernels don't have
a path name length limitation?
On Mon, 28 Jul 2008 16:06:31 -0700, "M.McNeil" <[EMAIL PROTECTED]>
said:
I'm using the easy_e17.sh install script on FreeBSD 7.0. I haven't had
any issues compiling E17 in the past. I'll see if there are any updates
for GCC on FreeBSD 7.0. Thanks for the response.
*Mike McNeil *
Sr. Network Engineer
Information Systems and Technology
University of California Berkeley
Massimiliano Calamelli wrote:
2008/7/28 M.McNeil <[EMAIL PROTECTED]>:
Hi,
I tried installing a fresh copy of E17 this morning, but again, I'm getting
the following errors when trying to compile:
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
Platform (maybe FreeBSD)? Built by hand or using some shell script?
Looking at your output, it seems that the compiler don't know PATH_MAX
(defined in sys/syslimits.h).
Massimiliano
-------------------------------------------------------------------------
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
--
Mike McNeil
Sr. Network Engineer
IST-IS
University of California Berkeley
Email: [EMAIL PROTECTED]
-------------------------------------------------------------------------
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