[rancid] Erro with Rancid on solaris 10.

heasley heas at shrubbery.net
Fri May 2 19:09:30 UTC 2014

Thu, Apr 10, 2014 at 08:12:22AM -0700, Fabio Santos:
> Hi all,
> I'm trying to compile rancid 3.0 on solaris 10, the ./configure command works fine. but when i try make i received the erro above,
> 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#
> Someone know how can i fix this problem?

would you add -D__EXTENSIONS__ to the CFLAGS line in bin/Makefile and tell
me if that fixes this problem with gcc on solaris?

More information about the Rancid-discuss mailing list