Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002406graphvizBuild/Installpublic2013-12-19 04:502014-01-07 18:09
Assigned Toerg 
Platformi386OSMac OS XOS Version10.5.8
Summary0002406: error: 'AI_NUMERICSERV' undeclared (first use in this function)
DescriptionBuilding graphviz 2.35.20131218.0545 fails on Mac OS X 10.5.8:

Making all in unix
make[5]: Entering directory `/opt/local/var/macports/build/_Users_rschmidt_macports_dports_graphics_graphviz-devel/graphviz-devel/work/graphviz-2.35.20131218.0545/cmd/lefty/os/unix'
/bin/sh ../../../../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../lib/common -I../../../../cmd/lefty -I/opt/local/include -I/opt/local/include -pipe -Os -arch i386 -fno-common -Wall -MT io.lo -MD -MP -MF .deps/io.Tpo -c -o io.lo io.c
libtool: compile: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../lib/common -I../../../../cmd/lefty -I/opt/local/include -I/opt/local/include -pipe -Os -arch i386 -fno-common -Wall -MT io.lo -MD -MP -MF .deps/io.Tpo -c io.c -fno-common -DPIC -o .libs/io.o
io.c: In function 'serverconnect':
io.c:296: error: 'AI_NUMERICSERV' undeclared (first use in this function)
io.c:296: error: (Each undeclared identifier is reported only once
io.c:296: error: for each function it appears in.)
make[5]: *** [io.lo] Error 1

This was introduced in commit 682d3356245c987bf0981917208f883220c4c213; see 0002387.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0000656)
ryandesign (reporter)
2013-12-19 04:56
edited on: 2013-12-19 04:59

It looks like this constant has only been available since Mac OS X 10.6, and if you want to use it, you could define it to 0 if it's undefined. See [^]

User avatar (0000665)
erg (administrator)
2014-01-07 18:09

I folded in your suggestion. Thanks, as always.

- Issue History
Date Modified Username Field Change
2013-12-19 04:50 ryandesign New Issue
2013-12-19 04:56 ryandesign Note Added: 0000656
2013-12-19 04:59 ryandesign Note Edited: 0000656 View Revisions
2014-01-07 18:09 erg Note Added: 0000665
2014-01-07 18:09 erg Assigned To => erg
2014-01-07 18:09 erg Status new => resolved
2014-01-07 18:09 erg Resolution open => fixed

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker