You were getting:
MCL_CURRENT and MCL_FUTURE are both defined in sys/mman.h, but are conditional on _P1003_1B_VISIBLE being defined. At the top of init.c, before the line #include <sys/mman.h>, add the following 3 lines:init.c:239: warning: implicit declaration of function `mlockall' init.c:239: `MCL_CURRENT' undeclared (first use in this function) init.c:239: (Each undeclared identifier is reported only once init.c:239: for each function it appears in.) init.c:239: `MCL_FUTURE' undeclared (first use in this function) make[2]: *** [init.o] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1
#ifndef _P1003_1B_VISIBLE
#define _P1003_1B_VISIBLE
#endif
You may also run into problems with main.c. I had to change max around line 1480 or so to MAX. Also, I had some problems with sel_error not being defined. I had to flank some code with:
#ifdef WIN32
...
#endif
If you run into this problem, let me know and I'll tell you exactly what to do.
Also, for the ./configure before the build, I did "./configure --prefix=/sw --build=powerpc-linux" which seemed to work.
On Wednesday, January 22, 2003, at 11:05 PM, Jeffrey Ellis wrote:
Hi, James--
You did?? How?
Can you tell me exactly what steps you took? Kow's last email showed a bunch
of warnings and three errors, and his output was the same as what I'm
getting.
All My Best,
Jeffrey
on 1/22/03 4:43 PM, James Gibbs at [EMAIL PROTECTED] wrote:
Hi Jeffrey, I was able to get opennap-ng -0.46 compiled completely. Were you able to get any help yet?
------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners
