PDA

View Full Version : undefined reference to `_fxstat'


fortran01
13th December 2005, 03:30 AM
I get this error when compiling in Fedora Core 3:

g++ -o ../bin/doxygen ../objects/main.o -L../lib -ldoxygen -ldoxycfg
-lqtools -lpng -lmd5
../lib/libdoxygen.a(instdox.o)(.text+0x3cf): In function `writeInstallScript()':
: undefined reference to `_xstat'
../lib/libqtools.a(qfile_unix.o)(.text+0x1be): In function `QFile::open(int)':
: undefined reference to `_fxstat'
../lib/libqtools.a(qfile_unix.o)(.text+0x33e): In function `QFile::open(int)':
: undefined reference to `_fxstat'
../lib/libqtools.a(qfile_unix.o)(.text+0x6c8): In function
`QFile::open(int, __stdio_file*)':
: undefined reference to `_fxstat'
../lib/libqtools.a(qfile_unix.o)(.text+0x7bc): In function
`QFile::open(int, int)':
: undefined reference to `_fxstat'
../lib/libqtools.a(qfile_unix.o)(.text+0x890): In function
`QFile::size() const':
: undefined reference to `_fxstat'
../lib/libqtools.a(qfile_unix.o)(.text+0x8cc): In function
`QFile::size() const':
: undefined reference to `_xstat'
../lib/libqtools.a(qdir_unix.o)(.text+0x52d): In function
`QDir::currentDirPath()':
: undefined reference to `_xstat'
../lib/libqtools.a(qfileinfo_unix.o)(.text+0x44): In function
`QFileInfo::doStat() const':
: undefined reference to `_lxstat'
../lib/libqtools.a(qfileinfo_unix.o)(.text+0x91): In function
`QFileInfo::doStat() const':
: undefined reference to `_xstat'
collect2: ld returned 1 exit status
gmake[2]: *** [../bin/doxygen] Error 1
gmake[2]: Leaving directory `/home/prem/downloads/doxygen/doxygen-1.4.5/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/home/prem/downloads/doxygen/doxygen-1.4.5/src'
make: *** [all] Error 2