"Tony @ Home" wrote (last September):
>
> I have sorted my first problem and come across another one when running make
>
> I now get the error
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src
> -D_FILE_OFFSET_BITS=64 -g -c -fPIC -DPIC dgram.c
> dgram.c: In function `dgram_send':
> dgram.c:185: warning: assignment makes pointer from integer without a cast
> dgram.c:186: dereferencing pointer to incomplete type
> dgram.c:186: dereferencing pointer to incomplete type
> make[1]: *** [dgram.lo] Error 1
> make[1]: Leaving directory `/home/ts/amanda-2.4.0/common-src'
> make: *** [all-recursive] Error 1
>
Hmmmm. Tony, I get a similar error with Amanda 2.4.2p2:
Making all in config
make[1]: Entering directory
`/atm/kite/d0/src/amanda-2.4.2p2/Linux/i686/config'
make[1]: Leaving directory
`/atm/kite/d0/src/amanda-2.4.2p2/Linux/i686/config'
Making all in common-src
make[1]: Entering directory
`/atm/kite/d0/src/amanda-2.4.2p2/Linux/i686/common-src'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../config -I./../regex-src -D_FILE_OFFSET_BITS=64
-D_FILE_OFFSET_BITS=64 -g -O2 -c dgram.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src
-D_FILE_OFFSET_BITS=64 -D_FILE_OFFSET_BITS=64 -g -O2 -c dgram.c -o
dgram.o
dgram.c: In function `dgram_send':
dgram.c:222: warning: assignment makes pointer from integer without a
cast
dgram.c:230: dereferencing pointer to incomplete type
dgram.c:230: dereferencing pointer to incomplete type
make[1]: *** [dgram.lo] Error 1
make[1]: Leaving directory
`/atm/kite/d0/src/amanda-2.4.2p2/Linux/i686/common-src'
make: *** [all-recursive] Error 1
> >What OS and version?
>
> Redhat 6.2
Several versions, including RedHat 6.2, 7.0 and 7.1
>
> >What compiler and version?
>
> gcc version egcs-2.91.66
truk!jeffs 35 > gcc -v
Reading specs from
/g/rcs/sw/pkgs/pgcc-2.95.3/lib/gcc-lib/i686-pc-linux-gnu/pgcc-2.95.2/specs
gcc version pgcc-2.95.2 19991024 (release)
It also fails with
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
What is more interesting is that the file compiles cleanly under
Solaris/Intel.
>
> >What version of Amanda?
Amanda-2.4.2p2
>
> amanda-2.4.1p1
>
> TIA
>
> Tony
Any advice? I assume this problem was resolved, I just don't see the
resolution in the E-mails. Thank you.
Jeff
--
Jeff Silverman, sysadmin for the Research Computing Systems (RCS)
University of Washington, School of Engineering, Electrical Engineering
Dept.
Box 352500, Seattle, WA, 98125-2500 FAX: (206) 221-5264 Phone (206)
543-9378
[EMAIL PROTECTED] http://rcs.ee.washington.edu/~jeffs