Fabio Santos
2014-12-02 17:57:28 UTC
Hi all,
Someone can help me, how can I solve this?
during make command...
Making all in bin
#CPPFLAGS += @PG_CPPFLAGS@
#INCLUDES += -I$(top_srcdir)/include @PG_CPPFLAGS@
#INCLUDES += -I$(top_srcdir)/include
#CFLAGS += -g
CFLAGS = -g -O0 -D__EXTENSIONS__
But i had same problem, any other idea?
Someone can help me, how can I solve this?
during make command...
Making all in bin
gmake[1]: Entering directory `/tmp/rancid-3.0/bin'
gcc -DHAVE_CONFIG_H -I. -I../include   -g -O0 -MT hpuifilter.o -MD -MP -MF .deps/hpuifilter.Tpo -c -o hpuifilter.o hpuifilter.c
mv -f .deps/hpuifilter.Tpo .deps/hpuifilter.Po
gcc  -g -O0  -o hpuifilter hpuifilter.o
gcc -DHAVE_CONFIG_H -I. -I../include   -g -O0 -MT par.o -MD -MP -MF .deps/par.Tpo -c -o par.o par.c
mv -f .deps/par.Tpo .deps/par.Po
gcc  -g -O0  -o par par.o
Undefined            first referenced
 symbol               in file
asprintf               par.o
ld: fatal: Symbol referencing errors. No output written to par
gmake[1]: *** [par] Error 1
gmake[1]: Leaving directory `/tmp/rancid-3.0/bin'
make: *** [all-recursive] Error 1
bash-3.00#
Â
I put flags on Make filegcc -DHAVE_CONFIG_H -I. -I../include   -g -O0 -MT hpuifilter.o -MD -MP -MF .deps/hpuifilter.Tpo -c -o hpuifilter.o hpuifilter.c
mv -f .deps/hpuifilter.Tpo .deps/hpuifilter.Po
gcc  -g -O0  -o hpuifilter hpuifilter.o
gcc -DHAVE_CONFIG_H -I. -I../include   -g -O0 -MT par.o -MD -MP -MF .deps/par.Tpo -c -o par.o par.c
mv -f .deps/par.Tpo .deps/par.Po
gcc  -g -O0  -o par par.o
Undefined            first referenced
 symbol               in file
asprintf               par.o
ld: fatal: Symbol referencing errors. No output written to par
gmake[1]: *** [par] Error 1
gmake[1]: Leaving directory `/tmp/rancid-3.0/bin'
make: *** [all-recursive] Error 1
bash-3.00#
Â
#CPPFLAGS += @PG_CPPFLAGS@
#INCLUDES += -I$(top_srcdir)/include @PG_CPPFLAGS@
#INCLUDES += -I$(top_srcdir)/include
#CFLAGS += -g
CFLAGS = -g -O0 -D__EXTENSIONS__
But i had same problem, any other idea?