[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems compiling the RSVP modules...



Hi everyone,
lately I have been trying to install the RSVP implementation of Marc Greis
(http://titan.cs.uni-bonn.de/~greis/RSVP.html). Unfortunately, the
compilation failed giving the results that follow. I do not know where the
problem is or if I'm doing something wrong. The ns version that I'm using is
ns-2.1b5. Can anyone please help me?
Thanks in advance
Harry
--------- Compilation results -----------
xtb.c:50: macro `strcpy' used without args
xtb.c:50: parse error before `__extension__'
xtb.c: In function `xtb_lookup':
xtb.c:217: warning: passing arg 4 of `XFindContext' from incompatible
pointer ty
pe
make: *** [xtb.o] Error 1
Can not create xgraph; But xgraph is an optional package, continue...
...
gcc -I../include -L../lib -DFBSD -c geog.c -o geog.o
geog.c: In function `geo':
geog.c:154: `u_char' undeclared (first use in this function)
geog.c:154: (Each undeclared identifier is reported only once
geog.c:154: for each function it appears in.)
geog.c:154: `occ' undeclared (first use in this function)
geog.c:155: parse error before `register'
geog.c:157: `u_long' undeclared (first use in this function)
geog.c:169: `scale' undeclared (first use in this function)
geog.c:189: `G' undeclared (first use in this function)
geog.c:192: `nbytes' undeclared (first use in this function)
geog.c:195: parse error before `)'
geog.c:196: `mallocd' undeclared (first use in this function)
geog.c:198: parse error before `)'
geog.c:202: `i' undeclared (first use in this function)
geog.c:207: `vp' undeclared (first use in this function)
geog.c:208: `namestr' undeclared (first use in this function)
geog.c:213: invalid lvalue in assignment
geog.c:214: invalid operands to binary /
geog.c:214: invalid operands to binary %
geog.c:215: invalid operands to binary /
geog.c:215: invalid operands to binary %
geog.c:220: `up' undeclared (first use in this function)
geog.c:221: `j' undeclared (first use in this function)
make: *** [geog.o] Error 1
...

Charalampos Ladas
[email protected]
Department of Computer Science
University of Sheffield