FW: FW: Problem compiling bind 8.2.1 under AIX 4.3.2

Cam Miles Cam.Miles at TELUS.Com
Mon Sep 13 16:05:05 UTC 1999


I fixed up my assembler problem and got a lot further but now I am getting
the following error: If anyone can shed some
light to an inexperienced compiler. Thanks.

/apps/local/bind/src/lib/irs
        if test ! -d threaded ; then mkdir threaded ; fi
        (gcc  -g -O2 -I../../port/aix4/include -I../../include  -D_REENTRANT
-c 
dns.c  -o threaded/dns.o ;  : ld -x -r threaded/dns.o &&  : mv a.out
threaded/dn
s.o)
dns.c: In function `dns_res_get':
dns.c:116: `free' undeclared (first use in this function)
dns.c:116: (Each undeclared identifier is reported only once
dns.c:116: for each function it appears in.)
        gcc  -g -O2 -I../../port/aix4/include -I../../include  -c dns.c
dns.c: In function `dns_res_get':
dns.c:116: `free' undeclared (first use in this function)
dns.c:116: (Each undeclared identifier is reported only once
dns.c:116: for each function it appears in.)
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.

>     >> Thanks for responding Jim. Based on your response I think I
>     >> must be missing something BIG. As per INSTALL instructions, I
>     >> ran 1) make clean 2) make depend 3) make 4) make install.
>     >> 
>     >> I also get the following message from step 3) make
>     >> 
>     >> gcc -g -O2 -I../../port/aix4/include -I../../include -c noop.c
>     >> gcc: installation problem, cannot exec `as': A file or
>     >> directory in the path name does not exist.  make[2]: ***
>     >> [noop.o] Error 1
> 
> It looks to me that gcc is very badly broken on your system. The error
> message indicates that gcc was unable to find or execute the assembler
> (as). This means gcc can't compile anything: the assembly code output
> from the compiler can't be translated into code in .o files. If that
> happens, every time make invokes gcc, the compiler should terminate
> with a non-zero exit status. That should stop make.
> 


More information about the bind-users mailing list