Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000337graphvizBuild/Installpublic2004-02-15 23:442011-04-28 04:02
Reporterrenweibo 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Linux-fedora core 1OS Version
Summary0000337: src rpm compile on fedora core 1 error!
Description



After I download the file graphviz-1.10-1.src.rpm, I try to rebuild it.
But I encounter a compile error:



<CD>
... ...
 source='timing.c' object='timing.lo' libtool=yes \
depfile='.deps/timing.Plo' tmpdepfile='.deps/timing.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dotneato/dotgen -I../../dotneato/neatogen -I../../dotneato/twopigen -I../../graph -I../../cdt -I../../pathplan -I../../gd -O2 -g -pipe -march=i386 -mcpu=i686 -ffast-math -Wall -Wno-unknown-pragmas -c -o timing.lo `test -f timing.c || echo './'`timing.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dotneato/dotgen -I../../dotneato/neatogen -I../../dotneato/twopigen -I../../graph -I../../cdt -I../../pathplan -I../../gd -O2 -g -pipe -march=i386 -mcpu=i686 -ffast-math -Wall -Wno-unknown-pragmas -c timing.c -MT timing.lo -MD -MP -MF .deps/timing.TPlo -fPIC -DPIC -o timing.lo
timing.c: In function `elapsed_sec':
timing.c:49: warning: implicit declaration of function `sysconf'
timing.c:49: error: `_SC_CLK_TCK' undeclared (first use in this function)
timing.c:49: error: (Each undeclared identifier is reported only once
timing.c:49: error: for each function it appears in.)
make[3]: *** [timing.lo] Error 1
make[3]: Leaving directory `/home/rwb/rpmbuild/BUILD/graphviz-1.10/dotneato/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rwb/rpmbuild/BUILD/graphviz-1.10/dotneato'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rwb/rpmbuild/BUILD/graphviz-1.10'
make: *** [all] Error 2
error: Bad exit status from /home/rwb/rpmbuild/tmp/rpm-tmp.75820 (%build)
</CD>
Additional Information

[ellson]Please try a recent snapshot from:

   http://www.graphviz.org/pub/graphviz/CURRENT/ [^]

I've been building it myself on FC2-test, so it should work for you.

I don't have a recollection of this specific problem, but if you still have
problems with the snapshot I'll dig deeper.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
<CD>
add the following line in file 'dotneato/common/timing.c'
#include <unistd.h>
before
#include <time.h>
</CD>
FORMER-ID403
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     1.10
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user695


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