First off, thanks to Peter!!! Using the information he provided I was able to resolve the problem. I added #include </sys/limits.h> to e_fm_op.c and tried recompiling, but it failed again. I grep'd in /sys/sys/ for PATH_MAX and found that syslimits.h is what I needed to have included. I added that to e_fm_op.c and e17 compiled without error. Can someone fix this in CVS ?

Thanks again,

Mike McNeil

Peter Wehrfritz wrote:
M.McNeil schrieb:
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.


PATH_MAX is defined in limits.h. There shouldn't be actually an problem since this is POSIX-conform. Only thing is that it isn't included directly in the e_fm_op.c file, so maybe it is included through another header on linux, but not on freebsd. Can you add that line somewhere in the top of the file:
#include <limits.h>

It should work then, hopefully.

Peter

--

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

Reply via email to