help2: firewall TIS

help2: firewall TIS

Post by krypt » Wed, 12 Mar 1997 04:00:00



ok, I'm running into trouble to compile this TIS software to get it
to work on linux as a firewall or say proxy server.
the error message is shown below. I did my best to follow the Firewall-howto
instructions. Anyone know what went wrong from this make command output?
Is it a compiler problem or just my setup?

for a in lib auth smap smapd netacl plug-gw ftp-gw tn-gw rlogin-gw http-gw x-gw
ssl-gw; do \
        ( cd $a; echo all: `pwd`; make all ); \
done
all: /usr/src/fwtk-2.0/fwtk/lib
make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/fwtk-2.0/fwtk/lib'
all: /usr/src/fwtk-2.0/fwtk/auth
make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/auth'
gcc -g -static -o authmgr authmgr.o ../libauth.a ../libfwall.a  
ld: cannot open -lc: No such file or directory
make[1]: *** [authmgr] Error 1
make[1]: Leaving directory `/usr/src/fwtk-2.0/fwtk/auth'
all: /usr/src/fwtk-2.0/fwtk/smap
make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/smap'
gcc -g -static -o smap smap.o arpadate.o ../libfwall.a
ld: cannot open -lc: No such file or directory
make[1]: *** [smap] Error 1
make[1]: Leaving directory `/usr/src/fwtk-2.0/fwtk/smap'
all: /usr/src/fwtk-2.0/fwtk/smapd
make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/smapd'
gcc -g -static -o smapd smapd.o ../libfwall.a
ld: cannot open -lc: No such file or directory
make[1]: *** [smapd] Error 1
make[1]: Leaving directory `/usr/src/fwtk-2.0/fwtk/smapd'
all: /usr/src/fwtk-2.0/fwtk/netacl
make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/netacl'
gcc -g -static -o netacl netacl.o ../libfwall.a
ld: cannot open -lc: No such file or directory
make[1]: *** [netacl] Error 1
make[1]: Leaving directory `/usr/src/fwtk-2.0/fwtk/netacl'
all: /usr/src/fwtk-2.0/fwtk/plug-gw
make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/plug-gw'
gcc -g -static -o plug-gw plug-gw.o ../libfwall.a
ld: cannot open -lc: No such file or directory
make[1]: *** [plug-gw] Error 1
make[1]: Leaving directory `/usr/src/fwtk-2.0/fwtk/plug-gw'
all: /usr/src/fwtk-2.0/fwtk/ftp-gw
make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/ftp-gw'
gcc -g -static -o ftp-gw ftp-gw.o ../libauth.a ../libfwall.a
ld: cannot open -lc: No such file or directory
make[1]: *** [rlogin-gw] Error 1
make[1]: Leaving directory `/usr/src/fwtk-2.0/fwtk/rlogin-gw'
all: /usr/src/fwtk-2.0/fwtk/http-gw
make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/http-gw'
gcc -I.. -g -DLINUX -g -static -o http-gw hmain.o http-gw.o ftp.o gof2html.o \
        auth.o error.o icons.o gio.o ver.o noproxy.o \
        ../libfwall.a ../libauth.a
ld: cannot open -lc: No such file or directory
make[1]: *** [http-gw] Error 1
make[1]: Leaving directory `/usr/src/fwtk-2.0/fwtk/http-gw'
all: /usr/src/fwtk-2.0/fwtk/x-gw
make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/x-gw'
gcc -I.. -g -DLINUX -I/usr/X11/include   -c child.c -o child.o
In file included from child.c:14:
ulib.h:23: X11/Intrinsic.h: No such file or directory
make[1]: *** [child.o] Error 1
make[1]: Leaving directory `/usr/src/fwtk-2.0/fwtk/x-gw'
all: /usr/src/fwtk-2.0/fwtk/ssl-gw
make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/ssl-gw'
gcc -g -static -o ssl-gw ssl-gw.o ../libauth.a ../libfwall.a
ld: cannot open -lc: No such file or directory
make[1]: *** [ssl-gw] Error 1
make[1]: Leaving directory `/usr/src/fwtk-2.0/fwtk/ssl-gw'
make: *** [all] Error 2

--
                  _______________________________________________________
                  |                    Hiu-Man Cheung                   |
            I---; |      University of Minnesota at Twin Cities         |
       +----U ==| |      Pager Number: (612)319-6021                    |
       | :) U ==| |      WWW: http://www.umn.edu/nlhome/m503/cheu0018   |    

  |)___()  'U   |______====____   \_____________________________________|
 [_/,-,\"--"----- // ,-,  ,-,\\\     |/            //,-,  ,-,  ,-,\\ __#
   ( 0 )====#####// ( 0 )( 0 )''-    o             '( 0 )( 0 )( 0 )''      
----'-'--------------'-'--'-'------------------------'-'--'-'--'-'---------

 
 
 

help2: firewall TIS

Post by James Hall & Sara Roune » Thu, 13 Mar 1997 04:00:00



> ok, I'm running into trouble to compile this TIS software to get it
> to work on linux as a firewall or say proxy server.
> the error message is shown below. I did my best to follow the Firewall-howto
> instructions. Anyone know what went wrong from this make command output?
> Is it a compiler problem or just my setup?

[...]
Quote:> make[1]: Entering directory `/usr/src/fwtk-2.0/fwtk/auth'
> gcc -g -static -o authmgr authmgr.o ../libauth.a ../libfwall.a  
> ld: cannot open -lc: No such file or directory
> make[1]: *** [authmgr] Error 1

[...]

What did you do with libc.a????  (That's where the linker is
complaining that it can't find "-lc".)

Try adding your lib directory to your CFLAGS macro in the Makefile,
and see if that fixes it.

--
Those who do not understand Unix are condemned to reinvent it, poorly.
                -- Henry Spencer