Re: amanda 2.4.2p1 on SUNOS 4.1.3 compile problems

2001-02-26 Thread Martin Hepworth

John

well the patch didn't seem to do much (the huge one needs autoconf etc
which I don't have). I forced a #define ssize_t int into the top of
amanda.h and things seem to compile and amcheck OK. Just leaves a test
backup and restore to do. 

I'll let you know how we get on.

--
Martin Hepworth
Senior Systems Administrator
Solid State Logic Ltd
+44 (0)1865 842300

"John R. Jackson" wrote:
 
 Still complains at the same place, same error...must be another issue
 somewhere
 
 That doesn't make any sense.  Please look at line 509 of amanda.h and
 post what it now is after you applied the patch.
 
 Martin Hepworth
 
 John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**



Re: amanda 2.4.2p1 on SUNOS 4.1.3 compile problems

2001-02-23 Thread Martin Hepworth

John
Still complains at the same place, same error...must be another issue
somewhere 

--
Martin Hepworth
Senior Systems Administrator
Solid State Logic Ltd
+44 (0)1865 842300

"John R. Jackson" wrote:
 
 anyway in common-src I get the following error
 
 gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -g -O2 -c
 alloc.c -o alloc.o
 In file included from alloc.c:33:
 amanda.h:509: parse error before `areads_dataready'
 amanda.h:509: warning: data definition has no type or storage class
 *** Error code 1
 ...
 
 This was reported with a patch just a couple of days ago.  Look in the
 E-mail archive for subject "file locking, 2.4.1 vs. 2.4.2".  I don't
 have a report back yet whether the patch fixes the problem.  I doubt
 it totally solves things because it needs a change to ./configure.in,
 which is hard to re-distribute.
 
 As an alternative, I think you could add this someplace:
 
   -Dssize_t=int
 
 Martin Hepworth
 
 John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**



amanda 2.4.2p1 on SUNOS 4.1.3 compile problems

2001-02-22 Thread Martin Hepworth


Hi all

trying to compile 2.4.2p1 on SunOS 4.1.3 (just the client side) with
gcc2.6 which acording to the readme has been done, althought I'd bet
with SUN's compiler rather than gcc.

anyway in common-src I get the following error 

gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -g -O2 -c
alloc.c -o alloc.o
In file included from alloc.c:33:
amanda.h:509: parse error before `areads_dataready'
amanda.h:509: warning: data definition has no type or storage class
*** Error code 1
make: Fatal error: Command failed for target `alloc.lo'
Current working directory /home/sol/martinh/amanda-2.4.2p1/common-src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

I'ce tried tracking the typedefs etc, but I'm not having much luck.

Anyone got a binary I can have for this, or any pointers to I can
compile it with such an old gcc?



--
Martin Hepworth
Senior Systems Administrator
Solid State Logic Ltd
+44 (0)1865 842300


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**



Re: amanda 2.4.2p1 on SUNOS 4.1.3 compile problems

2001-02-22 Thread John R. Jackson

anyway in common-src I get the following error 

gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -g -O2 -c
alloc.c -o alloc.o
In file included from alloc.c:33:
amanda.h:509: parse error before `areads_dataready'
amanda.h:509: warning: data definition has no type or storage class
*** Error code 1
...

This was reported with a patch just a couple of days ago.  Look in the
E-mail archive for subject "file locking, 2.4.1 vs. 2.4.2".  I don't
have a report back yet whether the patch fixes the problem.  I doubt
it totally solves things because it needs a change to ./configure.in,
which is hard to re-distribute.

As an alternative, I think you could add this someplace:

  -Dssize_t=int

Martin Hepworth

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]