[Nickle] Bugreport 2 compiling errors on Mac Os X 10.3.6

Martin Hoch hoch.martin at web.de
Thu Dec 9 05:00:04 PST 2004


Hi,

i have detected two compiling problems on my mac.

the first one:

	In file included from main.c:25:
	/usr/include/sys/resource.h:81: error: field `ru_utime' has incomplete 
type
	/usr/include/sys/resource.h:82: error: field `ru_stime' has incomplete 
type
	make[2]: *** [main.o] Error 1

i was going around with

	$ diff nickle-origin/config.h nickle-2004-12-02/config.
	83c83
	< #define HAVE_SYS_RESOURCE_H 1
	---
	> #define HAVE_SYS_RESOURCE_H 0

and the second one:

	main.c: In function `main':
	main.c:80: error: storage size of `lim' isn't known
	main.c:82: warning: implicit declaration of function `getrlimit'
	main.c:82: error: `RLIMIT_STACK' undeclared (first use in this 
function)
	main.c:82: error: (Each undeclared identifier is reported only once
	main.c:82: error: for each function it appears in.)
	main.c:85: warning: implicit declaration of function `setrlimit'
	main.c:80: warning: unused variable `lim'
	make[2]: *** [main.o] Error 1

i was going around with

	$ diff nickle-origin/config.h nickle-2004-12-02/config.h
	17c17
	< #define HAVE_GETRLIMIT 1
	---
	> #define HAVE_GETRLIMIT 0

after that, nickle compiled fine and seams to work properly.

if you need any more information don`t hesitant to ask me.

regards.

Martin Hoch




More information about the Nickle mailing list