On 20110530@15:02, Nobuhiro Iwamatsu wrote: > Source: fim > Version: 0.3-beta-prerelease-1.2 > Severity: serious > > Hi, > > fim FTBFS on latest unstable. > > ----- > g++ -DHAVE_CONFIG_H -g -O2 -I/usr/include/libpng12 -I/usr/include > -c -o FramebufferDevice.o FramebufferDevice.cpp > FramebufferDevice.cpp: In member function 'int > fim::FramebufferDevice::fb_init(const char*, char*, int, int)': > FramebufferDevice.cpp:659:60: error: '__sysconf' was not declared in this > scope > FramebufferDevice.cpp: In constructor > 'fim::FramebufferDevice::FramebufferDevice(fim::MiniConsole&)': > FramebufferDevice.cpp:1781:15: warning: deprecated conversion from > string constant to 'char*' [-Wwrite-strings] > make[5]: *** [FramebufferDevice.o] Error 1 > ----- > > I attached full build log. > Could you check your pakcage? > > Best regards, > Nobuhiro
Thank you Nobuhiro for reporting, I propose to continue the discussion on bugreport #628262, as this bugreport (#628551) is a duplicate. The problem may be due to a defined PAGE_MASK macro, but with some other header (the one declaring __sysconf) missing. As far as I know (I may be wrong, though) sys/user.h is the header declaring PAGE_MASK. If not, fim shall be patched for including the header(s) necessary to PAGE_MASK. Could someone attach the contents of the config.log file, so we may see whether sys/user.h was detected by the ./configure script ?
pgp37WbNkRZMs.pgp
Description: PGP signature