I have problems compiling dia 0.85. What is wrong? Best regards Jesper Hansen make all-recursive make[1]: Entering directory `/usr/local/dia-0.85' Making all in lib make[2]: Entering directory `/usr/local/dia-0.85/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include/libxml -I/usr/include -I/usr/X11R6/include -I/usr/lib/glib/include -DDIA_SHEETDIR=\"/usr/local/share/dia/sheets\" -DLIBDIR=\"/usr/local/lib\" -DDATADIR=\"/usr/local/share/dia\" -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations -fomit -frame-pointer -finline-functions -fstrict-aliasing -c -o dia_xml.o `test -f dia_xml.c || echo './'`dia_xml.c dia_xml.c: In function `object_find_attribute': dia_xml.c:37: structure has no member named `childs' dia_xml.c:34: warning: `attr' might be used uninitialized in this function dia_xml.c: In function `composite_find_attribute': dia_xml.c:59: structure has no member named `childs' dia_xml.c:56: warning: `attr' might be used uninitialized in this function dia_xml.c: In function `attribute_num_data': dia_xml.c:80: structure has no member named `childs' dia_xml.c: In function `attribute_first_data': dia_xml.c:91: structure has no member named `childs' dia_xml.c:92: warning: control reaches end of non-void function dia_xml.c: In function `data_string': dia_xml.c:372: structure has no member named `childs' dia_xml.c:373: structure has no member named `childs' dia_xml.c: In function `attribute_num_data': dia_xml.c:77: warning: `data' might be used uninitialized in this function make[2]: *** [dia_xml.o] Error 1 make[2]: Leaving directory `/usr/local/dia-0.85/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/dia-0.85' make: *** [all-recursive-am] Error 2
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:611: checking for a BSD compatible install configure:664: checking whether build environment is sane configure:736: checking for gawk configure:766: checking whether make sets ${MAKE} configure:895: checking whether to enable maintainer-specific portions of Makefiles configure:944: checking how to run the C preprocessor configure:965: cc -E conftest.c >/dev/null 2>conftest.out configure:1076: checking host system type configure:1097: checking build system type configure:1117: checking for ranlib configure:1147: checking for gcc configure:1260: checking whether the C compiler (gcc ) works configure:1276: gcc -o conftest conftest.c 1>&5 configure:1302: checking whether the C compiler (gcc ) is a cross-compiler configure:1307: checking whether we are using GNU C configure:1316: gcc -E conftest.c configure:1335: checking whether gcc accepts -g configure:1374: checking dependency style of gcc configure:1430: checking for ld used by GCC configure:1492: checking if the linker (/usr/bin/ld) is GNU ld GNU ld version 2.9.1 (with BFD 2.9.1.0.24) configure:1508: checking for BSD-compatible nm configure:1544: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: gcc -c -g -O2 conftest.c 1>&5 ltconfig:629: checking for executable suffix ltconfig:630: gcc -o conftest -g -O2 conftest.c 1>&5 ltconfig:776: checking if gcc PIC flag -fPIC works ltconfig:777: gcc -c -g -O2 -fPIC -DPIC conftest.c 1>&5 ltconfig:829: checking if gcc supports -c -o file.o ltconfig:830: gcc -c -g -O2 -o out/conftest2.o conftest.c 1>&5 ltconfig:862: checking if gcc supports -c -o file.lo ltconfig:863: gcc -c -g -O2 -c -o conftest.lo conftest.c 1>&5 ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions ltconfig:915: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5 ltconfig:958: checking if gcc static flag -static works ltconfig:959: gcc -o conftest -g -O2 -static conftest.c 1>&5 GNU ld version 2.9.1 (with BFD 2.9.1.0.24) ltconfig:1635: checking if global_symbol_pipe works ltconfig:1636: gcc -c -g -O2 conftest.c 1>&5 ltconfig:1639: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1691: gcc -o conftest -g -O2 -fno-builtin -fno-rtti -fno-exceptions conftest.c conftstm.o 1>&5 configure:1735: checking whether build environment is sane configure:1776: checking for gcc configure:1889: checking whether the C compiler (gcc -g -O2 ) works configure:1905: gcc -o conftest -g -O2 conftest.c 1>&5 configure:1931: checking whether the C compiler (gcc -g -O2 ) is a cross-compiler configure:1936: checking whether we are using GNU C configure:1964: checking whether gcc accepts -g configure:2003: checking dependency style of gcc configure:2059: checking for a BSD compatible install configure:2112: checking whether ln -s works configure:2133: checking whether make sets ${MAKE} configure:2160: checking for POSIXized ISC configure:2231: checking for gtk-config configure:2266: checking for GTK - version >= 1.2.0 configure:2367: gcc -o conftest -g -O2 -I/usr/X11R6/include -I/usr/lib/glib/include conftest.c -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm 1>&5 configure:2455: checking whether GNOME specific code should be used configure:2535: checking for poptSetOtherOptionHelp in -lpopt configure:2554: gcc -o conftest -g -O2 conftest.c -lpopt 1>&5 configure:2582: checking for popt.h configure:2592: cc -E conftest.c >/dev/null 2>conftest.out configure:2661: checking for libart-config configure:2696: checking for LIBART - version >= 2.1.0 configure:2902: checking for gdk-pixbuf-config configure:2937: checking for GDK_PIXBUF - version >= 0.7.0 configure:3019: gcc -o conftest -g -O2 -I/usr/X11R6/include -I/usr/lib/glib/include conftest.c -L/usr/lib -lgdk_pixbuf -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm 1>&5 configure:3319: checking for png_read_info in -lpng configure:3338: gcc -o conftest -g -O2 conftest.c -lpng -lz -lm 1>&5 configure:3355: checking for png.h configure:3365: cc -E conftest.c >/dev/null 2>conftest.out configure:3394: checking for png_structp in png.h configure:3403: gcc -c -g -O2 conftest.c 1>&5 configure:3449: checking for ANSI C header files configure:3462: cc -E conftest.c >/dev/null 2>conftest.out configure:3529: gcc -o conftest -g -O2 conftest.c 1>&5 configure:3553: checking for working const configure:3607: gcc -c -g -O2 conftest.c 1>&5 configure:3628: checking for inline configure:3642: gcc -c -g -O2 conftest.c 1>&5 configure:3668: checking for off_t configure:3701: checking for size_t configure:3736: checking for working alloca.h configure:3748: gcc -o conftest -g -O2 conftest.c 1>&5 configure:3769: checking for alloca configure:3802: gcc -o conftest -g -O2 conftest.c 1>&5 configure:3971: checking for unistd.h configure:3981: cc -E conftest.c >/dev/null 2>conftest.out configure:4010: checking for getpagesize configure:4038: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4063: checking for working mmap configure:4211: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4239: checking for argz.h configure:4249: cc -E conftest.c >/dev/null 2>conftest.out configure:4239: checking for limits.h configure:4249: cc -E conftest.c >/dev/null 2>conftest.out configure:4239: checking for locale.h configure:4249: cc -E conftest.c >/dev/null 2>conftest.out configure:4239: checking for nl_types.h configure:4249: cc -E conftest.c >/dev/null 2>conftest.out configure:4239: checking for malloc.h configure:4249: cc -E conftest.c >/dev/null 2>conftest.out configure:4239: checking for string.h configure:4249: cc -E conftest.c >/dev/null 2>conftest.out configure:4239: checking for unistd.h configure:4239: checking for sys/param.h configure:4249: cc -E conftest.c >/dev/null 2>conftest.out configure:4279: checking for getcwd configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4279: checking for munmap configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4279: checking for putenv configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4279: checking for setenv configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4279: checking for setlocale configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4279: checking for strchr configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4279: checking for strcasecmp configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4279: checking for strdup configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4279: checking for __argz_count configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4279: checking for __argz_stringify configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4279: checking for __argz_next configure:4307: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4336: checking for stpcpy configure:4364: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4398: checking for LC_MESSAGES configure:4410: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4431: checking whether NLS is requested configure:4451: checking whether included gettext is requested configure:4470: checking for libintl.h configure:4480: cc -E conftest.c >/dev/null 2>conftest.out configure:4497: checking for gettext in libc configure:4509: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4623: checking for msgfmt configure:4657: checking for dcgettext configure:4685: gcc -o conftest -g -O2 conftest.c 1>&5 configure:4712: checking for gmsgfmt configure:4748: checking for xgettext configure:4788: gcc -o conftest -g -O2 conftest.c 1>&5 configure:5246: checking for catalogs to be installed configure:5354: checking for xml-config configure:5383: checking for libxml >= 1.8.5 configure:5403: checking for dirent.h that defines DIR configure:5416: gcc -c -g -O2 conftest.c 1>&5 configure:5441: checking for opendir in -ldir configure:5460: gcc -o conftest -g -O2 conftest.c -ldir 1>&5 /usr/bin/ld: cannot open -ldir: No such file or directory collect2: ld returned 1 exit status configure: failed program was: #line 5449 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char opendir(); int main() { opendir() ; return 0; } configure:5524: checking for ANSI C header files configure:5631: checking for stddef.h configure:5641: cc -E conftest.c >/dev/null 2>conftest.out configure:5631: checking for fcntl.h configure:5641: cc -E conftest.c >/dev/null 2>conftest.out configure:5631: checking for unistd.h configure:5669: checking for working const configure:5747: checking for select configure:5775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:5747: checking for strcspn configure:5775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:5747: checking for strdup configure:5747: checking for strtol configure:5775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:5747: checking for snprintf configure:5775: gcc -o conftest -g -O2 conftest.c 1>&5 configure:5808: checking if C compiler accepts -Wall configure:5819: gcc -c -g -O2 -Wall conftest.c 1>&5 configure:5833: checking if C compiler accepts -Wunused configure:5844: gcc -c -g -O2 -Wall -Wunused conftest.c 1>&5 configure:5858: checking if C compiler accepts -Winline configure:5869: gcc -c -g -O2 -Wall -Wunused -Winline conftest.c 1>&5 configure:5883: checking if C compiler accepts -Wmissing-prototypes configure:5894: gcc -c -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes conftest.c 1>&5 configure: In function `main': configure:5890: warning: no previous prototype for `somefunc' configure:5908: checking if C compiler accepts -Wmissing-declarations configure:5919: gcc -c -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations conftest.c 1>&5 configure: In function `main': configure:5915: warning: no previous prototype for `somefunc' configure:5936: checking if C compiler accepts -fomit-frame-pointer configure:5947: gcc -c -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations -fomit-frame-pointer conftest.c 1>&5 configure: In function `main': configure:5943: warning: no previous prototype for `somefunc' configure:5964: checking if C compiler accepts -finline-functions configure:5975: gcc -c -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations -fomit-frame-pointer -finline-functions conftest.c 1>&5 configure: In function `main': configure:5971: warning: no previous prototype for `somefunc' configure:5989: checking if C compiler accepts -fstrict-aliasing configure:6000: gcc -c -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations -fomit-frame-pointer -finline-functions -fstrict-aliasing conftest.c 1>&5 configure: In function `main': configure:5996: warning: no previous prototype for `somefunc'