Re: Problem while compiling amanda 2.5.0

2006-06-29 Thread John Franks
Problem while compiling amanda 2.5.0Let me guess: Solaris 10 with gcc installed 
from the sunfreeware site?


If so - use the following commands to fix the problem:
   cd /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/compiler 
version/install-tools


Put the line SHELL=/bin/sh on the first line of the mkheaders.conf file.  Then 
run:

./mkheaders

Regards,
John Franks
[EMAIL PROTECTED]

- Original Message - 
From: Carl Holzhauer

To: amanda-users@amanda.org
Sent: Friday, April 14, 2006 1:19 PM
Subject: Problem while compiling amanda 2.5.0




This is the error message I recieve when I run the make command:

-bash-3.00$ make
Making all in config
make  all-am
Making all in common-src
if /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I. 
./config -I./../regex-src  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64   -D_LARGE 
FILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT alloc.lo -MD -MP -MF .deps/alloc. 
Tpo -c -o alloc.lo alloc.c; \
then mv -f .deps/alloc.Tpo .deps/alloc.Plo; else rm -f .deps/alloc.Tpo; ex 
it 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -D_LARGEFILE_SOURCE -D 
_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT alloc 
.lo -MD -MP -MF .deps/alloc.Tpo -c alloc.c  -fPIC -DPIC -o .libs/alloc.o

In file included from /usr/include/wait.h:14,
from amanda.h:182,
from alloc.c:33:
/usr/include/sys/siginfo.h:259: error: parse error before ctid_t
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before ctid_t
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before k_siginfo_t
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
from /usr/include/wait.h:15,
from amanda.h:182,
from alloc.c:33:
/usr/include/sys/signal.h:85: error: parse error before siginfo_t
In file included from /usr/include/wait.h:16,
from amanda.h:182,
from alloc.c:33:
/usr/include/sys/wait.h:86: error: parse error before siginfo_t
In file included from amanda.h:182,
from alloc.c:33:
/usr/include/wait.h:26: error: parse error before siginfo_t
In file included from amanda.h:238,
from alloc.c:33:
/usr/include/signal.h:111: error: parse error before siginfo_t
/usr/include/signal.h:113: error: parse error before siginfo_t
*** Error code 1
make: Fatal error: Command failed for target `alloc.lo'
Current working directory /home/amanda/amanda-2.5.0/common-src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
 case $f in \
   *=* | --[!k]*);; \
   *k*) failcom='fail=yes';; \
 esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='config  common-srcclient-src dumper-src  recover-srcman docs e 
xample'; for subdir in $list; do \

 echo Making $target in $subdir; \
 if test $subdir = .; then \
   dot_seen=yes; \
   local_target=$target-am; \
 else \
   local_target=$target; \
 fi; \
 (cd $subdir  make  $local_target) \
 || eval $failcom; \
done; \
if test $dot_seen = no; then \
 make  $target-am || exit 1; \
fi; test -z $fail
make: Fatal error: Command failed for target `all-recursive




Message transport security by GatewayDefender
4:19:24 PM ET - 4/14/2006 



RE: Problem while compiling amanda 2.5.0

2006-04-17 Thread Carl Holzhauer
 I'm running Solaris 5.10 and compiling with gcc


-Original Message-
From: Stan Brown [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 15, 2006 5:25 AM
To: Carl Holzhauer
Cc: amanda-users@amanda.org
Subject: Re: Problem while compiling amanda 2.5.0

On Fri, Apr 14, 2006 at 04:19:20PM -0400, Carl Holzhauer wrote:
 
 This is the error message I recieve when I run the make command:
 

Waht OS? What compiler?

--
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite
Vietcong Terror
- New York Times 9/3/1967



__
Message transport security by GatewayDefender.com
5:25:12 AM ET - 4/15/2006


__
Message transport security by GatewayDefender.com
7:59:03 AM ET - 4/17/2006



Re: Problem while compiling amanda 2.5.0

2006-04-15 Thread stan
On Fri, Apr 14, 2006 at 04:19:20PM -0400, Carl Holzhauer wrote:
 
 This is the error message I recieve when I run the make command:
 

Waht OS? What compiler?

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967