glug: compilazione fallita?

Stefano Costa stefano.costa@iosa.it
Lun 15 Ago 2005 18:25:43 CEST


Cari amici,
vi disturbo persino il giorno di ferragosto (giornata nuvolosa invero)
con i miei consueti problemi di compilazione. Il software č il solito di
sterofotogrammetria. Risolti i problemi con le xlibs-dev, il make ora mi
restituisce qualcosa di meglio, ma mi pare che comunque ci sia qualcosa
che non va troppo bene:

> stefano@chistane:~/stereo/stereo-0.2b$ make
> CONFIG_FILES= CONFIG_HEADERS=./config.h ./config.status
> creating ./config.h
> make all-recursive
> make[1]: Entering directory `/home/stefano/stereo/stereo-0.2b'
> for subdir in widget main; do           \
>   target=`echo all-recursive | sed s/-recursive//`; \
>   echo making $target in $subdir;       \
>   (cd $subdir && make $target)  \
>    || case "-w" in *k*) fail=yes;; *) exit 1;; esac; \
> done && test -z "$fail"
> making all in widget
> make[2]: Entering directory `/home/stefano/stereo/stereo-0.2b/widget'
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include 3dinit.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include 3dkit.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include 3dtext.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include ClientWin.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include bitmapbutton.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include cachedraw.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include clearevents.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include cmdlineopt.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include compatable.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include coolnext.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include coolwidget.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include dialog.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include dirtools.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include disable.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include dnd.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include drawings.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include edit.c
> edit.c: In function `edit_execute_command':
> edit.c:1710: warning: passing arg 2 of `edit_printf' makes pointer from integer without a cast
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include editcmd.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include editdraw.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include editlearnkeys.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include editmenu.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include editoptions.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include editwidget.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include filebrowser.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include focus.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include grlib.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include hintpos.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include imagewidget.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include initapp.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include loadfile.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include loadtiff.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include mad.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include manpage.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include mathfuncs.c
> /tmp/ccvJLxdQ.s: Assembler messages:
> /tmp/ccvJLxdQ.s:287: Warning: translating to `fst %st(1)'
> /tmp/ccvJLxdQ.s:287: Warning: translating to `fst %st(2)'
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include menu.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include options.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include pipe.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include quickmath.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include regex.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include striangle.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include stringtools.c
> stringtools.c: In function `vfmtlen':
> stringtools.c:509: warning: `short int' is promoted to `int' when passed through `...'
> stringtools.c:509: warning: (so you should pass `int' not `short int' to `va_arg')
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include swtriangle.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include textwidget.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include triangle.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include widget3d.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include wrapsurf.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I..   -g -O2  -I/usr/X11R6/include wtriangle.c
> rm -f libcw.a
> ar cru libcw.a 3dinit.o 3dkit.o 3dtext.o ClientWin.o bitmapbutton.o cachedraw.o clearevents.o cmdlineopt.o compatable.o coolnext.o coolwidget.o dialog.o dirtools.o disable.o dnd.o drawings.o edit.o editcmd.o editdraw.o editlearnkeys.o editmenu.o editoptions.o editwidget.o filebrowser.o focus.o grlib.o hintpos.o imagewidget.o initapp.o loadfile.o loadtiff.o mad.o manpage.o mathfuncs.o menu.o options.o pipe.o quickmath.o regex.o striangle.o stringtools.o swtriangle.o textwidget.o triangle.o widget3d.o wrapsurf.o wtriangle.o
> ranlib libcw.a
> make[2]: Leaving directory `/home/stefano/stereo/stereo-0.2b/widget'
> making all in main
> make[2]: Entering directory `/home/stefano/stereo/stereo-0.2b/main'
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include calibrate.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include camera.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include display.c
> display.c: In function `main':
> display.c:116: warning: return type of `main' is not `int'
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include desktop.c
> In file included from desktop.c:27:
> imagehandler.h:24:8: warning: extra tokens at end of #endif directive
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include fitline.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include hugeimage.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include matrix.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include simplex.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include loadcalfile.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include callback.c
> In file included from callback.c:27:
> imagehandler.h:24:8: warning: extra tokens at end of #endif directive
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include picsetup.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include imagehandler.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include displaycam.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include marker.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include output.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include imagefit.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include join.c
> gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -I../widget -I..  -g -O2  -I/usr/X11R6/include savewindow.c
> gcc -L/usr/X11R6/lib -o display calibrate.o camera.o display.o desktop.o fitline.o hugeimage.o matrix.o simplex.o loadcalfile.o callback.o picsetup.o imagehandler.o displaycam.o marker.o output.o imagefit.o join.o savewindow.o ../widget/libcw.a -lX11 -lm
> ../widget/libcw.a(stringtools.o)(.text+0x315): In function `get_current_wd':
> /home/stefano/stereo/stereo-0.2b/widget/stringtools.c:163: warning: the `getwd' function is dangerous and should not be used.
> make[2]: Leaving directory `/home/stefano/stereo/stereo-0.2b/main'
> make[1]: Leaving directory `/home/stefano/stereo/stereo-0.2b'

Cosė compilato il programma parte ma crasha con frequenza da battito
cardiaco, restituendomi errori del tipo

> *** glibc detected *** double free or corruption (!prev): 0x08148430 ***
> Abortito

in cui mediamente i numeri cambiano sempre.
Non pretendo nulla, solo se avete qualche suggerimento/idea...

Grazie!

Ste

-- 
Stefano Costa

Visita il mio sito: http://www.iosa.it - Software Open Source per
l'Archeologia
GnuPG Key ID: 1024D/0xD0D30245
Jabber: archeosteko@jabber.linux.it
Linux Registered User #385969 counter.li.org

Per favore non mandarmi allegati Word o PowerPoint.
Puoi utilizzare formati come pdf, html o testo semplice.
Per maggiori informazioni
visita:http://www.fsf.org/philosophy/no-word-attachments.it.html


Maggiori informazioni sulla lista glug