LINUX.ORG.RU

Щшибка при сборке gwget


0

0

Чего ему не хватает?

../include/main_window.h:58: warning: `dragtypes' defined but not used
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_GWGET_LOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gwget/"\" -I../include -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wpointer-arith -Wmissing-prototypes -O1 -g -O3 -march=pentium3 -mfpmath=sse -mmmx -msse -MT gwget_data.o -MD -MP -MF ".deps/gwget_data.Tpo" \
-c -o gwget_data.o `test -f 'gwget_data.c' || echo './'`gwget_data.c; \
then mv -f ".deps/gwget_data.Tpo" ".deps/gwget_data.Po"; \
else rm -f ".deps/gwget_data.Tpo"; exit 1; \
fi
gwget_data.c: In function `gwget_data_update_statistics':
gwget_data.c:67: warning: `estimated' might be used uninitialized in this function
gwget_data.c: In function `gwget_gnotify_finished':
gwget_data.c:739: error: storage size of `sa' isn't known
gwget_data.c:743: warning: implicit declaration of function `inet_addr'
gwget_data.c:744: warning: implicit declaration of function `htons'
gwget_data.c:739: warning: unused variable `sa'
gwget_data.c: At top level:
../include/main_window.h:58: warning: `dragtypes' defined but not used
make[3]: *** [gwget_data.o] Ошибка 1
make[3]: Leaving directory `/home/vovans/new/new-1/gwget-0.95/src'
make[2]: *** [all] Ошибка 2
make[2]: Leaving directory `/home/vovans/new/new-1/gwget-0.95/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/vovans/new/new-1/gwget-0.95'
make: *** [all] Ошибка 2

★★★★★

Ответ на: комментарий от anonymous

Избавился, но всё то же:

main_window_cb.c: In function `new_download':
main_window_cb.c:232: warning: implicit declaration of function `gnome_vfs_mime_type_from_name'
main_window_cb.c: At top level:
../include/main_window.h:58: warning: `dragtypes' defined but not used
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_GWGET_LOCALEDIR=\""/usr/local/share/locale"\" -DDATADIR=\""/usr/local/share/gwget/"\" -I../include -DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/freetype2/config -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -Wall -Wimplicit -Wreturn-type -Wunused -Wswitch -Wcomment -Wuninitialized -Wparentheses -Wpointer-arith -Wmissing-prototypes -O1 -g -O2 -MT gwget_data.o -MD -MP -MF ".deps/gwget_data.Tpo" \
-c -o gwget_data.o `test -f 'gwget_data.c' || echo './'`gwget_data.c; \
then mv -f ".deps/gwget_data.Tpo" ".deps/gwget_data.Po"; \
else rm -f ".deps/gwget_data.Tpo"; exit 1; \
fi
gwget_data.c: In function `gwget_data_update_statistics':
gwget_data.c:67: warning: `estimated' might be used uninitialized in this function
gwget_data.c: In function `gwget_gnotify_finished':
gwget_data.c:739: error: storage size of `sa' isn't known
gwget_data.c:743: warning: implicit declaration of function `inet_addr'
gwget_data.c:744: warning: implicit declaration of function `htons'
gwget_data.c:739: warning: unused variable `sa'
gwget_data.c: At top level:
../include/main_window.h:58: warning: `dragtypes' defined but not used
make[3]: *** [gwget_data.o] Ошибка 1
make[3]: Leaving directory `/home/vovans/new/new-1/gwget-0.95/src'
make[2]: *** [all] Ошибка 2
make[2]: Leaving directory `/home/vovans/new/new-1/gwget-0.95/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Leaving directory `/home/vovans/new/new-1/gwget-0.95'
make: *** [all] Ошибка 2

vovans ★★★★★
() автор топика
Ответ на: комментарий от anonymous

Убрал и "-O1 -g", но результат тот же :(

vovans ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.