Menu

#33 comilation failed on Linux Redhat - 8.0

open
nobody
None
5
2003-08-26
2003-08-26
Anonymous
No

i configured and when i ran make i got the following
errors . Please reply me back --
pramod@lantana.iitm.ernet.in

make[1]: Entering directory `/usr/local/src/mrt-2.2.0a/src'
Making lib
make[2]: Entering directory
`/usr/local/src/mrt-2.2.0a/src/lib'
cd bgp_attr; make
make[3]: Entering directory
`/usr/local/src/mrt-2.2.0a/src/lib/bgp_attr'
gcc -c -O2 -g -O2 -DHAVE_CONFIG_H -DFUNCPROTO
-I../../include -I/usr/local/include aspath.c
cc1: warning: changing search order for system
directory "/usr/local/include"
cc1: warning: as it has already been specified as a
non-system directory
In file included from ../../include/mrt_thread.h:11,
from ../../include/trace.h:14,
from ../../include/assert.h:10,
from ../../include/mrt.h:82,
from aspath.c:5:
../../include/pthread_fake.h:14: conflicting types for
`pthread_t'
/usr/include/bits/pthreadtypes.h:140: previous
declaration of `pthread_t'
../../include/pthread_fake.h:15: conflicting types for
`pthread_attr_t'
/usr/include/bits/pthreadtypes.h:52: previous
declaration of `pthread_attr_t'
../../include/pthread_fake.h:16: conflicting types for
`pthread_mutex_t'
/usr/include/bits/pthreadtypes.h:83: previous
declaration of `pthread_mutex_t'
../../include/pthread_fake.h:17: conflicting types for
`pthread_cond_t'
/usr/include/bits/pthreadtypes.h:60: previous
declaration of `pthread_cond_t'
../../include/pthread_fake.h:18: conflicting types for
`pthread_mutexattr_t'
/usr/include/bits/pthreadtypes.h:90: previous
declaration of `pthread_mutexattr_t'
../../include/pthread_fake.h:19: conflicting types for
`pthread_condattr_t'
/usr/include/bits/pthreadtypes.h:67: previous
declaration of `pthread_condattr_t'
make[3]: *** [aspath.o] Error 1
make[3]: Leaving directory
`/usr/local/src/mrt-2.2.0a/src/lib/bgp_attr'
cd bgp_proto; make
make[3]: Entering directory
`/usr/local/src/mrt-2.2.0a/src/lib/bgp_proto'
gcc -c -O2 -g -O2 -DHAVE_CONFIG_H -DFUNCPROTO
-I../../include -I/usr/local/include bgp_util.c
cc1: warning: changing search order for system
directory "/usr/local/include"
cc1: warning: as it has already been specified as a
non-system directory
In file included from ../../include/mrt_thread.h:11,
from ../../include/trace.h:14,
from ../../include/assert.h:10,
from ../../include/mrt.h:82,
from bgp_util.c:6:
../../include/pthread_fake.h:14: conflicting types for
`pthread_t'
/usr/include/bits/pthreadtypes.h:140: previous
declaration of `pthread_t'

Discussion


Log in to post a comment.