$ ./configure configuring eclipse... compiled sysconf successfully ***** eclipse configure detecting local OS............. Linux 2.6.27-7-server - linux computing bits per byte........ 8 detecting byte-order........... little endian (intel) looking for a C compiler....... using [/usr/bin/gcc] all optimizations on looking for the qfits library searching in ./qfits... found in ./qfits detecting basic size types sizeof(char)................... 1 sizeof(short).................. 2 sizeof(int).................... 4 sizeof(long)................... 4 sizeof(float).................. 4 sizeof(double)................. 8 done $ make configuring qfits... compiled sysconf successfully detecting local OS............. Linux 2.6.27-7-server - linux detected x86 architecture...... 686 computing bits per byte........ 8 detecting byte-order........... little endian (intel) looking for a C compiler....... using [/usr/bin/gcc] all optimizations on static library................. yes shared library................. no setting installation prefix as: [/usr/local] detecting basic size types sizeof(char)................... 1 sizeof(short).................. 2 sizeof(int).................... 4 sizeof(long)................... 4 sizeof(float).................. 4 sizeof(double)................. 8 done make[1]: Entering directory `/local/usr/local/lib/eclipse/eclipse-5.0.0/qfits' compiling src/byteswap.c ... compiling src/cache.c ... compiling src/expkey.c ... compiling src/fits_h.c ... src/fits_h.c: In function 'qfits_header_dump': src/fits_h.c:1240: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result src/fits_h.c: In function 'qfits_header_dump_hdr': src/fits_h.c:1274: warning: format not a string literal and no format arguments compiling src/fits_md5.c ... compiling src/fits_p.c ... compiling src/fits_rw.c ... src/fits_rw.c: In function 'qfits_zeropad': src/fits_rw.c:368: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result src/fits_rw.c: In function 'is_fits_file': src/fits_rw.c:397: warning: ignoring return value of 'fread', declared with attribute warn_unused_result compiling src/get_name.c ... compiling src/ieeefp-compat.c ... compiling src/md5.c ... compiling src/pafs.c ... compiling src/pixio.c ... src/pixio.c: In function 'qfits_pixdump': src/pixio.c:949: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result compiling src/qerror.c ... compiling src/simple.c ... compiling src/t_iso8601.c ... compiling src/tfits.c ... src/tfits.c: In function 'qfits_table_append_data': src/tfits.c:2358: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result src/tfits.c:2368: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result compiling src/version.c ... compiling src/xmemory.c ... In function 'open', inlined from 'xmemory_malloc' at src/xmemory.c:595: /usr/include/bits/fcntl2.h:51: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT in second argument needs 3 arguments make[1]: *** [src/xmemory.o] Error 1 make[1]: Leaving directory `/local/usr/local/lib/eclipse/eclipse-5.0.0/qfits' make: *** [pkg_qfits] Error 2