willz00 - 2007-02-15


I have the following issue when I run ./configure on Linux Fedora Core 3.

[root@cch-006785 docsis-0.9.5]# make
make  all-recursive
make[1]: Entering directory `/var/tmp/docsis-0.9.5'
Making all in src
make[2]: Entering directory `/var/tmp/docsis-0.9.5/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -g -O2 -Dlinux -I. -I/usr/local/include    -g -O2 -MT docsis_snmp.o -MD -MP -MF ".deps/docsis_snmp.Tpo" -c -o docsis_snmp.o docsis_snmp.c; \ then mv -f ".deps/docsis_snmp.Tpo" ".deps/docsis_snmp.Po"; else rm -f ".deps/docsis_snmp.Tpo"; exit 1; fi
In file included from docsis.h:27,
                 from docsis_snmp.h:33,
                 from docsis_snmp.c:23:
/usr/include/stdlib.h:597: error: conflicting types for 'free'
/usr/local/include/net-snmp/library/container.h:416: error: previous implicit declaration of 'free' was here
make[2]: *** [docsis_snmp.o] Error 1
make[2]: Leaving directory `/var/tmp/docsis-0.9.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/docsis-0.9.5'
make: *** [all] Error 2

Is this a problem with the compiler I am using?  Should I use gcc or cc?