[JDEV] problem building aim-transport

Gary Baker gbaker at outbackinc.com
Mon Jan 29 16:37:11 CST 2001


I had two problems building the latest CVS aim-transport. The last one I
could not resolve. The first problem is pth.h is included in jabberd.h and
the make file cannot find it.

Making all in src
make[1]: Entering directory `/jabber-pre2/aim-transport/src'
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/local/include -I../include
-I../libfaim -I/jabber-pre2/jabber-1.4pre2/jabberd/    -g -O2 -c auth.c
In file included from ../include/aimtrans.h:1,
                 from auth.c:1:
/jabber-pre2/jabber-1.4pre2/jabberd/jabberd.h:31: pth.h: No such file or
directory
make[1]: *** [auth.o] Error 1
make[1]: Leaving directory `/jabber-pre2/aim-transport/src'
make: *** [all-recursive] Error 1
[root at fosters aim-transport]#

This was resolved by putting pth.h in /usr/local/include. I do not know what
is causing this next problem.

Making all in src
make[1]: Entering directory `/jabber-pre2/aim-transport/src'
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/local/include -I../include
-I../libfaim -I/jabber-pre2/jabber-1.4pre2/jabberd/    -g -O2 -c auth.c
In file included from auth.c:1:
../include/aimtrans.h:22: parse error before `xht'
../include/aimtrans.h:22: warning: no semicolon at end of struct or union
../include/aimtrans.h:23: warning: data definition has no type or storage
class
../include/aimtrans.h:24: parse error before `iq__callbacks'
../include/aimtrans.h:24: warning: data definition has no type or storage
class
...
... was lots more in here
...
../include/aimtrans.h:233: parse error before `ti'
../include/aimtrans.h:234: parse error before `ti'
auth.c:25: parse error before `ti'
auth.c: In function `at_auth_user':
auth.c:30: `at_session' undeclared (first use in this function)
auth.c:30: (Each undeclared identifier is reported only once
auth.c:30: for each function it appears in.)
auth.c:30: parse error before `s'
auth.c:33: `ti' undeclared (first use in this function)
auth.c:33: `jp' undeclared (first use in this function)
auth.c: At top level:
auth.c:104: parse error before `ti'
auth.c: In function `at_auth_subscribe':
auth.c:112: `ti' undeclared (first use in this function)
auth.c:115: `jp' undeclared (first use in this function)
make[1]: *** [auth.o] Error 1
make[1]: Leaving directory `/jabber-pre2/aim-transport/src'
make: *** [all-recursive] Error 1
[root at fosters aim-transport]# 

Let me know if you need any more info.

--gary




More information about the JDev mailing list