What's up with gcc?

Konstantin 'Ksee' Dmitryev (Zelgadis) no-reply-gw at fcp.homelinux.org
Thu Apr 7 18:05:27 UTC 2005


Error is always different...

For Beep Musical Player it looks like:

$./configure
...
$make
...
Making all in vorbis
make[3]: Entering directory `/root/tmp/bmp-0.9.6.1/Input/vorbis'
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../beep -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config     -I../../intl -I../..    -g -O2 -Wall -Wpointer-arith -finline-functions -ffast-math -funroll-all-loops -c -o fileinfo.lo `test -f 'fileinfo.c' || echo './'`fileinfo.c
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../beep -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I../../intl -I../.. -g -O2 -Wall -Wpointer-arith -finline-functions -ffast-math -funroll-all-loops -c fileinfo.c  -fPIC -DPIC -o .libs/fileinfo.o
fileinfo.c: In function `fail':
fileinfo.c:203: warning: implicit declaration of function `xmms_show_message_test'
fileinfo.c: In function `save_cb':
fileinfo.c:241: warning: assignment discards qualifiers from pointer target typefileinfo.c:242: warning: assignment discards qualifiers from pointer target typefileinfo.c:243: warning: assignment discards qualifiers from pointer target typefileinfo.c:244: warning: assignment discards qualifiers from pointer target typefileinfo.c:245: warning: assignment discards qualifiers from pointer target typefileinfo.c:246: warning: assignment discards qualifiers from pointer target typefileinfo.c:247: warning: assignment discards qualifiers from pointer target typefileinfo.c:256: warning: assignment discards qualifiers from pointer target typefileinfo.c:257: warning: assignment discards qualifiers from pointer target typefileinfo.c:258: warning: assignment discards qualifiers from pointer target typefileinfo.c:259: warning: assignment discards qualifiers from pointer target typefileinfo.c: In function `remove_cb':
fileinfo.c:325: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:326: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:327: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:328: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:329: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:330: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:331: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c: In function `press_save':
fileinfo.c:454: warning: passing arg 1 of `gtk_button_clicked' from incompatible pointer type
fileinfo.c: In function `vorbis_file_info_box':
fileinfo.c:565: warning: passing arg 1 of `gtk_table_attach' from incompatible pointer type
fileinfo.c:739: warning: passing arg 1 of `gtk_table_attach' from incompatible pointer type
fileinfo.c:743: warning: initialization from incompatible pointer type
fileinfo.c:744: warning: passing arg 1 of `gtk_container_add' from incompatible pointer type
fileinfo.c:744: warning: passing arg 2 of `gtk_container_add' from incompatible pointer type
fileinfo.c:755: warning: passing arg 1 of `gtk_table_attach' from incompatible pointer type
fileinfo.c:819: warning: passing arg 1 of `gtk_table_attach' from incompatible pointer type
fileinfo.c:826: warning: passing arg 1 of `gtk_table_attach' from incompatible pointer type
fileinfo.c:1108: warning: passing arg 1 of `gtk_window_set_position' from incompatible pointer type
fileinfo.c:485: warning: unused variable `replaygain_label'
fileinfo.c:485: warning: unused variable `audiophilegain_label'
fileinfo.c:485: warning: unused variable `peak_label'
fileinfo.c:486: warning: unused variable `replaygain_label_val'
fileinfo.c:486: warning: unused variable `audiophilegain_label_val'
fileinfo.c:487: warning: unused variable `peak_label_val'
fileinfo.c: At top level:
fileinfo.c:1147: error: conflicting types for 'xmms_show_message_test'
fileinfo.c:203: error: previous implicit declaration of 'xmms_show_message_test' was here
fileinfo.c: In function `xmms_show_message_test':
fileinfo.c:1183: warning: passing arg 1 of `gtk_window_set_position' from incompatible pointer type
fileinfo.c: At top level:
fileinfo.c:342: warning: 'rg_hide' defined but not used
fileinfo.c:1140: warning: 'vorbis_advanced_tag_edit' defined but not used
make[3]: *** [fileinfo.lo] Error 1
make[3]: Leaving directory `/root/tmp/bmp-0.9.6.1/Input/vorbis'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/tmp/bmp-0.9.6.1/Input'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/tmp/bmp-0.9.6.1'
make: *** [all] Error 2

Sorry for a long post.


-- 
This is an email sent via the webforum on http://fcp.homelinux.org
http://fcp.homelinux.org/modules/newbb/viewtopic.php?post_id=57673&topic_id=14438&forum=6#forumpost57673




More information about the users mailing list