Hi everyone,

I've built pfil-2.1.11 on a SPARCstation 5 running Solaris 7 (SPARC/32bit) and noticed that gcc 3.2.2 complains about assigning an integer to a pointer without a cast. I don't feel comfortable with this situation and would appreciate any help, from one of You experts, to remedy this issue.

Thank You!

// Rolf



# pwd
Path is : /somewhere/pfil
# echo $PATH
/usr/ccs/bin:/usr/local/bin:/usr/sbin:/usr/bin
# which make
/usr/ccs/bin/make
#
# isainfo -vk
32-bit sparc kernel modules
# uname -a
SunOS somehost 5.7 Generic_106541-25 sun4m sparc SUNW,SPARCstation-5
#
#
#
# echo $LD_LIBRARY_PATH
LD_LIBRARY_PATH: Undefined variable.
# echo $LD_RUN_PATH
LD_RUN_PATH: Undefined variable.
#
#
#
# make CC=gcc
i=`uname -s`; case $i in HP-UX) make hpux;; *) make $i;; esac
cp Makefile SunOS
make SunOS32
(cd SunOS; make pfil "BITS=32" OS=solaris DO=pfil "ADEF=-I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2="`uname -r | sed -e 's/[0-9]*\.\([0-9]*\).*/\1/'`" -DPFILDEBUG") gcc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=7 -DPFILDEBUG -c ../pfil.c -o pfil.o
gcc   -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=7 -DPFILDEBUG -c qif.c -o qif.o
gcc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=7 -DPFILDEBUG -c pfildrv.c -o pfildrv.o gcc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=7 -DPFILDEBUG -c ../pfilstream.c -o pfilstream.o
gcc   -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=7 -DPFILDEBUG -c pkt.c -o pkt.o
pkt.c: In function `pfil_makearpreq':
pkt.c:246: warning: assignment makes pointer from integer without a cast
gcc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=7 -DPFILDEBUG -c ../misc.c -o misc.o gcc -I.. -I. -D_KERNEL -DSUNDDI -DSOLARIS2=7 -DPFILDEBUG -c ../ndd.c -o ndd.o
ld -r pfil.o qif.o pfildrv.o pfilstream.o pkt.o misc.o ndd.o -o pfil32
#
#
# gcc --version
gcc (GCC) 3.2.2
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

___________________________________________e_n_d___o_f___m_e_s_s_a_g_e_

Reply via email to