On Mon, Jun 24, 2002 at 01:10:24PM -0700, Jason Brooks wrote:
> 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".  


I'm only looking at the 2.4.3.b"2" code, but I doubt it makes a difference.

Certainly your change is not the proper correction.  The "options" identifier
I see is a character pointer, not a structure pointer.  Also, the no_record
parameter should be in scope as an external integer.  It is a flag as to
whether the no record option is set in the configuration.

Check sendbackup.c.  In my code, line 55 has the declaration.
Check sendbackup.h.  In my code, line 65 has the definition.
Check sendbackup-dump.c and confirm sendbackup.h is being included.

If your correction is valid, there are lots of places around line 244 that
should be similarly corrected.

-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to