Discussion:
[rancid] Fail on Solaris 10
Fabio Santos
2014-12-02 17:57:28 UTC
Permalink
Hi all,
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 file
#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?
heasley
2014-12-02 18:21:12 UTC
Permalink
Post by Fabio Santos
Hi all,
Someone can help me, how can I solve this?
during make command...
do you have sunProCC? it builds fine for me with sunPro; I believe because
gcc destroys the includes in its so-called fixincludes script. if not, i've
added an emulation function for the next release, but i'd rather not spend
time walking you through that if its not necessary.

Loading...