Number: 2047
Title: Build error: Undefined symbols: "_gvFinalize"
Submitter: Greg Tener
Date: Sat Oct 2 15:28:02 2010
Subsys: Build/Installation
Version: 2.26.3
System: x86-OSX-10.5.8
Severity: minor
Problem:

Build fails on OSX (10.5.8). Doing ./configure && make gives the following output:
..
Making all in dot
/bin/sh ../../libtool --tag=CC   --mode=link gcc  -g -O2 -fno-common -Wall  -L/usr/local/lib -o dot dot-dot.o dot-no_builtins.o ../../lib/gvc/libgvc.la
libtool: link: gcc -g -O2 -fno-common -Wall -o .libs/dot dot-dot.o dot-no_builtins.o  -L/Users/boris/apps/graphviz-2.26.3/lib/xdot/.libs -L/Users/boris/apps/graphviz-2.26.3/lib/graph/.libs -L/Users/boris/apps/graphviz-2.26.3/lib/cdt/.libs -L/Users/boris/apps/graphviz-2.26.3/lib/pathplan/.libs -L/usr/local/lib -L../../lib/gvc/.libs -lgvc -lxdot -lgraph -lcdt -lpathplan -L/usr/lib -lexpat -lz -lm
Undefined symbols:
  "_gvFinalize", referenced from:
      _main in dot-dot.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [dot] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Commenting line 215 in cmd/dot/dot.c "fixes" the error
Owner: *
Status: *