I have the following issue when I run ./configure on Linux Fedora Core 3.
[root@cch-006785 docsis-0.9.5]# make
make: Entering directory `/var/tmp/docsis-0.9.5'
Making all in src
make: 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,
/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: *** [docsis_snmp.o] Error 1
make: Leaving directory `/var/tmp/docsis-0.9.5/src'
make: *** [all-recursive] Error 1
make: 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?
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.