Page 1 of 1

make gives errors

Posted: Mon Nov 15, 2004 1:36 pm
by Lars
Hai,
When i start the auto-config with ./Config everything goes alright, but when it's finished and i type: make i get the folowing error

Code: Select all

Building src
make[1]: Entering Folder `/etc/Unreal3.2/src'
gcc -I../include -I/etc/Unreal3.2/extras/regexp/include -pipe -g -O2 -funsigned-char -export-dynamic   -c auth.c
In file included from /usr/include/errno.h:36,
                 from /usr/include/sys/errno.h:1,
                 from ../include/sys.h:28,
                 from ../include/common.h:46,
                 from ../include/struct.h:43,
                 from auth.c:21:
/usr/include/bits/errno.h:25:26: linux/errno.h: Unknow file or folder
In file included from /usr/include/bits/posix1_lim.h:130,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:132,
                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:11,
                 from /usr/include/sys/param.h:22,
                 from ../include/sys.h:37,
                 from ../include/common.h:46,
                 from ../include/struct.h:43,
                 from auth.c:21:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: Unknow file or folder
In file included from ../include/sys.h:37,
                 from ../include/common.h:46,
                 from ../include/struct.h:43,
                 from auth.c:21:
/usr/include/sys/param.h:23:26: linux/limits.h: Unknow file or folder
/usr/include/sys/param.h:24:25: linux/param.h: Unknow file or folder
In file included from /usr/include/sys/socket.h:35,
                 from /usr/include/netinet/in.h:24,
                 from ../include/struct.h:49,
                 from auth.c:21:
/usr/include/bits/socket.h:305:24: asm/socket.h: Unknow file or folder
In file included from auth.c:21:
../include/struct.h:68:23: tre/regex.h: Unknow file or folder
In file included from auth.c:21:
../include/struct.h:804: parse-fout before "regex_t"
../include/struct.h:804: warning: no ; at the end of a struct or a union
../include/struct.h:807: parse-fout before '}' token
In file included from auth.c:21:
../include/struct.h:1210: parse-fout before "regex_t"
../include/struct.h:1210: warning: no ; at the end of a struct or a union
../include/struct.h:1292: parse-fout before "regex_t"
../include/struct.h:1292: warning: no ; at the end of a struct or a union
make[1]: *** [auth.o] Error 1
make[1]: Leaving folder `/etc/Unreal3.2/src'
make: *** [build] Error 2
I have translated the error because it was in dutch. So sorry if there is bad english in it.

Posted: Mon Nov 15, 2004 7:44 pm
by Syzop
Did you run ./Config, and did you see any errors?

Anyway, it seems your headers are f*cked up (/usr/include/linux and /usr/include/asm*, to be exact) :p.

Posted: Mon Nov 15, 2004 8:57 pm
by Lars
The only error that i saw was that there was no make file, but right after that error it shows that linux is creating a make file. But there are no other errors.

Greets,
Lars