[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Building bbproxy fails
- To: hobbit (at) hswn.dk
- Subject: Building bbproxy fails
- From: "Lee J. Imber" <toaster (at) imber.com>
- Date: Mon, 30 Apr 2007 15:06:59 -0400
Hi, trying to build bbproxy and it keeps failing.
$ pwd
/usr/home/hobbit/hobbit-4.2.0/bbproxy
$ gmake
cc -c -o bbproxy.o bbproxy.c
bbproxy.c:13:20: config.h: No such file or directory
bbproxy.c:36:21: version.h: No such file or directory
bbproxy.c:37:22: libbbgen.h: No such file or directory
bbproxy.c: In function `main':
bbproxy.c:248: error: `save_errbuf' undeclared (first use in this
function)
bbproxy.c:248: error: (Each undeclared identifier is reported only once
bbproxy.c:248: error: for each function it appears in.)
bbproxy.c:356: warning: comparison between pointer and integer
bbproxy.c:361: warning: passing arg 1 of `strdup' makes pointer from
integer without a cast
bbproxy.c:373: error: `debug' undeclared (first use in this function)
bbproxy.c:376: error: `VERSION' undeclared (first use in this function)
bbproxy.c:545: error: `timestamp' undeclared (first use in this
function)
gmake: *** [bbproxy.o] Error 1
$ uname -a
FreeBSD ss1 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06
UTC 2005 root (at) harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/
GENERIC i386
$
I have also tried,
$ gcc -I../include -o bbproxy bbproxy.c ../lib/hobbitclient.a
In file included from ../include/libbbgen.h:59,
from bbproxy.c:37:
../include/../lib/loadalerts.h:19:18: pcre.h: No such file or directory
In file included from ../include/libbbgen.h:59,
from bbproxy.c:37:
../include/../lib/loadalerts.h:53: error: syntax error before "pcre"
../include/../lib/loadalerts.h:55: error: syntax error before "pcre"
../include/../lib/loadalerts.h:57: error: syntax error before "pcre"
../include/../lib/loadalerts.h:59: error: syntax error before "pcre"
../include/../lib/loadalerts.h:61: error: syntax error before "pcre"
../include/../lib/loadalerts.h:63: error: syntax error before "pcre"
../include/../lib/loadalerts.h:65: error: syntax error before "pcre"
../include/../lib/loadalerts.h:67: error: syntax error before "pcre"
../include/../lib/loadalerts.h:69: error: syntax error before "pcre"
../include/../lib/loadalerts.h:71: error: syntax error before "pcre"
In file included from ../include/libbbgen.h:62,
from bbproxy.c:37:
../include/../lib/matching.h:18: error: syntax error before '*' token
../include/../lib/matching.h:18: warning: data definition has no type
or storage class
../include/../lib/matching.h:19: error: syntax error before '*' token
../include/../lib/matching.h:19: warning: data definition has no type
or storage class
../include/../lib/matching.h:20: error: syntax error before "pcre"
../include/../lib/matching.h:21: error: syntax error before '*' token
../include/../lib/matching.h:22: error: syntax error before "pcre"
$
Found that in the archives.
Any ideas?
Thanks,
Lee