Amanda-Users

Compiling 2.4.4p1 with gcc on SunOs 4.1.3

2003-10-01 11:04:11
Subject: Compiling 2.4.4p1 with gcc on SunOs 4.1.3
From: "Stevens, Julian C" <julian.stevens AT amsjv DOT com>
To: "amanda users (E-mail)" <amanda-users AT amanda DOT org>
Date: Wed, 01 Oct 2003 15:54:00 +0100
I've been trying to compile Amanda 2.4.4p1 on SunOs 4.1.3 using gcc 2.8.1
The configure seems fine, but when I try to make it I get:

tapetype.c
tapetype.c: In function 'main':
tapetype.c:369: 'optind' undeclared (first use in this function)
tapetype.c:369: (each undeclared identifier is reportes only once
tapetype.c:369: for each function it appears in.)
*** Error code 1
make: Fatal error: Command failed for target 'tapetype.o'

Please can anyone suggest what the problem might be?

Thanks,

Julian.

********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************