Hello,

I have been reading through the archives and found a bit of information
that helped me.

for amanda 2.4.3b3, I received errors while compiling on a solaris8 (bybee)
machine.  I applied a change I found in reference to this error, and the
compiler error went away.  the wierd part: this error didn't happen on
different machines running solaris8(bramble), 7, 251, redhat 6.2-7.2, or 
freebsd3.4.

the change was to line 244 of client-src/sendbackup-dump.c:
        I changed "no_record" to "options->no_record".  

Interestingly enough, this appears to compile just as well on the other
machines too.

I have installed on both solaris machines:
        binutils-2.11.2-sol8-sparc-local
        bison-1.28-sol8-sparc-local
        flex-2.5.4a-sol8-sparc-local
        gcc-3.0.3-sol8-sparc-local
        libgcc-3.0.3-sol8-sparc-local
        make-3.79.1-sol8-sparc-local
        


I will include the compiler error messages below.  Please note that the
biggest difference between the compiling and non-compiling machines is
that the non-compiling machine has a slightly older os patch level, Veritas
File system and Veritas Volume manager installed, and is a clearcase
server.  Otherwise, the gcc, binutils, make, etc packages are all the same. 

What do you all think?

--jason


the error is:
        gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src  
                -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64     
                -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2   
                -c `test -f sendbackup-dump.c || echo './'`sendbackup-dump.c
        sendbackup-dump.c: In function `start_backup':
        sendbackup-dump.c:244: `no_record' undeclared (first use in this 
                function)
        sendbackup-dump.c:244: (Each undeclared identifier is reported only 
                once
        sendbackup-dump.c:244: for each function it appears in.)
        make[1]: *** [sendbackup-dump.o] Error 1
        make[1]: Leaving directory `/net/jetstream/jetstream1/amanda/bybee/client-src'
        make: *** [all-recursive] Error 1
        
        

-- 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jason Brooks ~ (503) 641-3440 x1861
      Direct ~ (503) 924-1861
System / Network Administrator 
Wind River Systems
8905 SW Nimbus ~ Suite 255      
Beaverton, Or 97008

Reply via email to