[rrd-users] Problem with installation

pauline.vandenhove at orange-ftgroup.com pauline.vandenhove at orange-ftgroup.com
Fri Aug 8 14:28:04 CEST 2008


Hello everyone
 
I have tried to install RRDTool for a few days now, and I'm having some
problems...
 
The ./configure --prefix=/usr/local/rrdtool works properly, but when I
run the make command, I've always got the same mistakes :
 
.libs/pngsize.o(.text+0xaf0):/usr/include/sys/stat.h:379: first defined
here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xac0): In function
`lstat':
/usr/include/sys/stat.h:372: multiple definition of `lstat'
.libs/pngsize.o(.text+0xb30):/usr/include/sys/stat.h:372: first defined
here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xb00): In function
`stat':
/usr/include/sys/stat.h:365: multiple definition of `stat'
.libs/pngsize.o(.text+0xb70):/usr/include/sys/stat.h:365: first defined
here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xb40): In function
`getline':
/usr/include/bits/stdio.h:103: multiple definition of `getline'
.libs/pngsize.o(.text+0xc10):/usr/include/bits/stdio.h:103: first
defined here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xb80): In function
`putchar_unlocked':
/usr/include/bits/stdio.h:93: multiple definition of `putchar_unlocked'
.libs/pngsize.o(.text+0xc50):/usr/include/bits/stdio.h:93: first defined
here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xbd0): In function
`putc_unlocked':
/usr/include/bits/stdio.h:86: multiple definition of `putc_unlocked'
.libs/pngsize.o(.text+0xca0):/usr/include/bits/stdio.h:86: first defined
here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xc20): In function
`fputc_unlocked':
/usr/include/bits/stdio.h:76: multiple definition of `fputc_unlocked'
.libs/pngsize.o(.text+0xcf0):/usr/include/bits/stdio.h:76: first defined
here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xc70): In function
`putchar':
/usr/include/bits/stdio.h:68: multiple definition of `putchar'
.libs/pngsize.o(.text+0xd40):/usr/include/bits/stdio.h:68: first defined
here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xca0): In function
`getchar_unlocked':
/usr/include/bits/stdio.h:58: multiple definition of `getchar_unlocked'
.libs/pngsize.o(.text+0xd70):/usr/include/bits/stdio.h:58: first defined
here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xce0): In function
`getc_unlocked':
/usr/include/bits/stdio.h:51: multiple definition of `getc_unlocked'
.libs/pngsize.o(.text+0xdb0):/usr/include/bits/stdio.h:51: first defined
here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xd20): In function
`getchar':
/usr/include/bits/stdio.h:42: multiple definition of `getchar'
.libs/pngsize.o(.text+0xdf0):/usr/include/bits/stdio.h:42: first defined
here
./.libs/librrdupd.a(rrd_not_thread_safe.o)(.text+0xd50): In function
`vprintf':
/usr/include/bits/stdio.h:36: multiple definition of `vprintf'
.libs/pngsize.o(.text+0xe20):/usr/include/bits/stdio.h:36: first defined
here
collect2: ld returned 1 exit status
make[2]: *** [librrd.la] Error 1
make[2]: Leaving directory `/data/src/rrdtool-1.3.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/data/src/rrdtool-1.3.0'
make: *** [all] Error 2

And there are a lot like that...
 
When I do gcc -v, I obtain :
 
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ./configure --with-mpfr=/usr/local
--enable-languages=c,c++
Thread model: posix
gcc version 4.3.1 (GCC)
 
I am obliged to use that version of gcc... I don't know if it is because
of that.
 
The version of RRDTool I am trying to install is 1.3.0, but I have the
same errors with other versions...
 
Is there someone who can help ?
 
Thank you,
 
regards,
 
Pauline


*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080808/b9ff88f4/attachment-0001.html 


More information about the rrd-users mailing list