glug: compilazione fallita?
Sirio The best
ziriuz84@yahoo.it
Mer 17 Ago 2005 08:26:06 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
[CUT]
>> 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
[CUT]
Controlla i warning
>> ../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...
>
I numeri credo sia perfettamente normale, se intendi
quel 0x08148430, che cambino sempre, visto che sono
indirizzi di memoria. Non č detto che il programma
scriva sempre negli stessi indirizzi. Visto che hai
messo l'attributo -g in gcc, hai provato a far partire
il programma con gdb? E' un ottimo debugger, vhe
potrebbe aiutarti a capire dove sta il problema.
>Grazie!
>
>Ste
Prego :)
Sirio
>--
>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_______________________________________________
> glug mailing list
> glug@genova.linux.it
> http://lists.linux.it/listinfo/glug
>
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
Maggiori informazioni sulla lista
glug