[mpls-linux-general] mplsadm compile error
Status: Beta
Brought to you by:
jleu
|
From: <mes...@em...> - 2002-10-31 18:28:22
|
I have linux Red Hat 7.3, 2.4.14 kernel, mpls-linux-1.1.170.
I am having problems compiling mpls-linux. Kernel compiles fine with MPLS
support included.
But the when I run make mplsadm in /utils dir, it returns me these errors:
gcc -g -Wall -I/usr/include/linux -c -o mplsadm.o mplsadm.c
In file included from /usr/include/bits/types.h:143,
from /usr/include/stdio.h:36,
from mplsadm.c:2:
/usr/include/bits/pthreadtypes.h:48: parse error before `size_t'
/usr/include/bits/pthreadtypes.h:48: warning: no semicolon at end of struct or
union
/usr/include/bits/pthreadtypes.h:51: parse error before `__stacksize'
/usr/include/bits/pthreadtypes.h:51: warning: data definition has no type or
storage class
/usr/include/bits/pthreadtypes.h:52: warning: data definition has no type or
storage class
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:65,
from mplsadm.c:2:
/usr/include/gconv.h:72: parse error before `size_t'
/usr/include/gconv.h:85: parse error before `size_t'
/usr/include/gconv.h:94: parse error before `size_t'
/usr/include/gconv.h:170: parse error before `size_t'
/usr/include/gconv.h:170: warning: no semicolon at end of struct or union
/usr/include/gconv.h:173: parse error before `}'
/usr/include/gconv.h:173: warning: data definition has no type or storage
class
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:65,
from mplsadm.c:2:
/usr/include/_G_config.h:47: field `__cd' has incomplete type
/usr/include/_G_config.h:50: field `__cd' has incomplete type
/usr/include/_G_config.h:53: confused by earlier errors, bailing out
make: *** [mplsadm.o] Error 1
Can anyone help me, please. Is there something missing in my Makefile?
Thank you in advance.
Matevz
-------------------
http://www.email.si
|