Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 47305

Summary: compile problem
Product: Gentoo Linux Reporter: federico <federicobusoli>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gcc-porting
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description federico 2004-04-08 23:16:09 UTC
print.c:258: warning: ISO C forbids braced-groups within expressions
print.c:269: error: `run_mode' undeclared (first use in this function)
print.c:269: error: syntax error before "param"
print.c:292: error: `export' undeclared (first use in this function)
make[3]: *** [print.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/include/gtk-2.0/gtk/gtk.h:90,
                 from print_gimp.h:36,
                 from gimp_color_window.c:30:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:51: warning: function declaration isn't a prototype
gimp_color_window.c: In function `gimp_build_dither_combo':
gimp_color_window.c:119: warning: passing arg 6 of `gimp_plist_build_combo' from incompatible pointer type
gimp_color_window.c: In function `gimp_create_color_adjust_window':
gimp_color_window.c:202: warning: passing arg 3 of `gimp_dialog_new' from incompatible pointer type
gimp_color_window.c:202: error: incompatible type for argument 4 of `gimp_dialog_new'
gimp_color_window.c:202: warning: passing arg 5 of `gimp_dialog_new' makes pointer from integer without a cast
make[3]: *** [gimp_color_window.o] Error 1
In file included from /usr/include/gtk-2.0/gtk/gtk.h:90,
                 from print_gimp.h:36,
                 from gimp_main_window.c:32:
/usr/include/gtk-2.0/gtk/gtkitemfactory.h:51: warning: function declaration isn't a prototype
gimp_main_window.c: In function `Combo_get_name':
gimp_main_window.c:231: warning: assignment discards qualifiers from pointer target type
gimp_main_window.c: In function `gimp_build_printer_combo':
gimp_main_window.c:316: warning: passing arg 6 of `gimp_plist_build_combo' from incompatible pointer type
gimp_main_window.c: In function `create_top_level_structure':
gimp_main_window.c:347: warning: passing arg 3 of `gimp_dialog_new' from incompatible pointer type
gimp_main_window.c:347: error: incompatible type for argument 4 of `gimp_dialog_new'
gimp_main_window.c:347: warning: passing arg 5 of `gimp_dialog_new' makes pointer from integer without a cast
gimp_main_window.c: In function `create_preview':
gimp_main_window.c:407: warning: string length `534' is greater than the length `509' ISO C89 compilers are required to support
gimp_main_window.c: In function `create_printer_dialog':
gimp_main_window.c:629: warning: passing arg 3 of `gimp_dialog_new' from incompatible pointer type
gimp_main_window.c:629: error: incompatible type for argument 4 of `gimp_dialog_new'
gimp_main_window.c:629: warning: passing arg 5 of `gimp_dialog_new' makes pointer from integer without a cast
gimp_main_window.c: In function `create_new_printer_dialog':
gimp_main_window.c:798: warning: passing arg 3 of `gimp_dialog_new' from incompatible pointer type
gimp_main_window.c:798: error: incompatible type for argument 4 of `gimp_dialog_new'
gimp_main_window.c:798: warning: passing arg 5 of `gimp_dialog_new' makes pointer from integer without a cast
gimp_main_window.c: In function `create_about_dialog':
gimp_main_window.c:833: warning: passing arg 3 of `gimp_dialog_new' from incompatible pointer type
gimp_main_window.c:833: error: incompatible type for argument 4 of `gimp_dialog_new'
gimp_main_window.c:833: warning: passing arg 5 of `gimp_dialog_new' makes pointer from integer without a cast
gimp_main_window.c:836: warning: string length `886' is greater than the length `509' ISO C89 compilers are required to support
gimp_main_window.c: In function `gimp_create_main_window':
gimp_main_window.c:1456: warning: implicit declaration of function `gimp_help_init'
gimp_main_window.c: In function `gimp_plist_callback':
gimp_main_window.c:1917: warning: passing arg 6 of `gimp_plist_build_combo' from incompatible pointer type
gimp_main_window.c:1947: warning: passing arg 6 of `gimp_plist_build_combo' from incompatible pointer type
gimp_main_window.c:1977: warning: passing arg 6 of `gimp_plist_build_combo' from incompatible pointer type
gimp_main_window.c:2007: warning: passing arg 6 of `gimp_plist_build_combo' from incompatible pointer type
gimp_main_window.c:2037: warning: passing arg 6 of `gimp_plist_build_combo' from incompatible pointer type
make[3]: *** [gimp_main_window.o] Error 1
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gimp-print-4.2.6/work/gimp-print-4.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gimp-print-4.2.6/work/gimp-print-4.2.6'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-gfx/gimp-print-4.2.6 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! compile problem


Reproducible: Always
Steps to Reproduce:
1.emerge -U media-gfx/gimp-print
2.
3.

Actual Results:  
nothing

Expected Results:  
it work

emerge info
Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X aalib accessibility alsa apm arts avi berkdb bonobo cdr crypt
cups directfb dvd dvdr encode esd evo fbcon ffmpeg foomaticdb gdbm gif gimpprint
gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib ipv6 java jpeg kde ldap
libg++ libwww mad matroska mikmod motif mozilla mpeg music mysql ncurses net nls
nptl offensive oggvorbis opengl openssh oss pam pdflib perl png ppds python qt
quicktime readline samba scanner sdk sdl serial slang spell ssl svga tcltk tcpd
tetex tiff transcode truetype unicode usb wxwindows x86 xml2 xmms xvid zlib"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-09 03:41:35 UTC
what's your gtk+ version?
Comment 2 federico 2004-04-09 05:44:05 UTC
gtk+ 2.2.4-r1
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-09 05:58:44 UTC
have you installed anything from ~x86 ?
Comment 4 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-09 05:59:48 UTC
maybe it's caused by glibc-2.3.3_pre20040207, it fails with this glibc as well here.
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-09 08:09:46 UTC

*** This bug has been marked as a duplicate of 46407 ***