Hello,
I'm trying to compile Lush2 (http://lush.sourceforge.net/) on FreeBSD 10. I have fixed a few issues but I'm stumped by this:
u_int is defined in /usr/include/sys/types.h, which is included in file.h like this:
Can someone explain what I must do to overcome this error?
Thanks,
sprock
I'm trying to compile Lush2 (http://lush.sourceforge.net/) on FreeBSD 10. I have fixed a few issues but I'm stumped by this:
Code:
gmake
for d in src ; \
do ( cd $d && gmake all ) || exit ; done
gmake[1]: Entering directory `/home/rmason/Software/Lush2/lush-2.0.1/src'
gcc47 -std=gnu99 -I./gnu -I/home/rmason/Software/Lush2/lush-2.0.1/gnu/include -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -mmmx -msse -I../include -D_THREAD_SAFE -pthread -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -c dldbfd.c
In file included from dldbfd.c:44:0:
/usr/include/sys/file.h:208:2: error: unknown type name 'u_int'
u_int is defined in /usr/include/sys/types.h, which is included in file.h like this:
Code:
#ifndef _KERNEL
#include <sys/types.h> /* XXX */
Can someone explain what I must do to overcome this error?
Thanks,
sprock