Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146589 - dev-dotnet/libgdiplus-1.1.17 compilation error: conflicting types for 'gdip_load_jpeg_image_from_stream_delegate'
Summary: dev-dotnet/libgdiplus-1.1.17 compilation error: conflicting types for 'gdip_l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-06 11:41 UTC by Antoine Martin
Modified: 2006-10-23 17:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Martin 2006-09-06 11:41:07 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cairo/pixman/src -I../cairo/pixman/src -I../cairo/src -I../cairo/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2 -Wall -Wno-unused -Wno-format -O2 -fno-inline-functions -pthread -MT imageattributes.lo -MD -MP -MF .deps/imageattributes.Tpo -c imageattributes.c -o imageattributes.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cairo/pixman/src -I../cairo/pixman/src -I../cairo/src -I../cairo/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/freetype2   -I/usr/include/freetype2     -Wall -Wno-unused -Wno-format    -O2 -fno-inline-functions -pthread -MT jpegcodec.lo -MD -MP -MF ".deps/jpegcodec.Tpo" -c -o jpegcodec.lo jpegcodec.c; \
then mv -f ".deps/jpegcodec.Tpo" ".deps/jpegcodec.Plo"; else rm -f ".deps/jpegcodec.Tpo"; exit 1; fi
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cairo/pixman/src -I../cairo/pixman/src -I../cairo/src -I../cairo/src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2 -Wall -Wno-unused -Wno-format -O2 -fno-inline-functions -pthread -MT jpegcodec.lo -MD -MP -MF .deps/jpegcodec.Tpo -c jpegcodec.c  -fPIC -DPIC -o .libs/jpegcodec.o
jpegcodec.c:826: error: conflicting types for 'gdip_load_jpeg_image_from_stream_delegate'
jpegcodec.h:20: error: previous declaration of 'gdip_load_jpeg_image_from_stream_delegate' was here
make[2]: *** [jpegcodec.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.17/work/libgdiplus-1.1.17/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.17/work/libgdiplus-1.1.17'
make: *** [all] Error 2

Portage 2.1.1_rc1-r5 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17.11 x86_64)
=================================================================
System uname: 2.6.17.11 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.4
Last Sync: Wed, 06 Sep 2006 18:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.blueyonder.co.uk/ ftp://mirrors.blueyonder.co.uk/mirrors/gentoo"
LINGUAS="en_GB en fr"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa arts asf berkdb bitmap-fonts bluetooth cdr cli crypt cups dga directfb dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc esd extensions fbcon ffmpeg firefox flac font-server fortran gdbm ggi gimp gimpprint glut gphoto2 gpm hal ieee1394 imagemagick input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_vmmouse ipv6 isdnlog jack java joystick kernel_linux libcaca libclamav libg++ linguas_en linguas_en_GB linguas_fr lirc lirc_devices_creative live lm_sensors lzo mad matrox mng mysql nas ncurses network nls nptl nptlonly nsplugin ogg opengl oss pam pcre perl ppds pppd python qt3 quotas rdesktop readline reflection rtc samba scanner sdl sensord session smp speex spl ssl startup-notification stream svg sysfs tcpd theora threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_apm video_cards_fbdev video_cards_fglrx video_cards_mga video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vga video_cards_vmware vlm vorbis wifi wmf xanim xine xinerama xml xorg xosd xrandr xv xvid xvmc zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Philip Lorenz 2006-09-20 03:48:22 UTC
By adding the "jpeg" USE-Flag this compiles fine.

(In reply to comment #0)
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cairo/pixman/src
> -I../cairo/pixman/src -I../cairo/src -I../cairo/src -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2
> -Wall -Wno-unused -Wno-format -O2 -fno-inline-functions -pthread -MT
> imageattributes.lo -MD -MP -MF .deps/imageattributes.Tpo -c imageattributes.c
> -o imageattributes.o >/dev/null 2>&1
> if /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc
> -DHAVE_CONFIG_H -I. -I. -I.. -I../cairo/pixman/src -I../cairo/pixman/src
> -I../cairo/src -I../cairo/src -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include   -I/usr/include/freetype2  
> -I/usr/include/freetype2     -Wall -Wno-unused -Wno-format    -O2
> -fno-inline-functions -pthread -MT jpegcodec.lo -MD -MP -MF
> ".deps/jpegcodec.Tpo" -c -o jpegcodec.lo jpegcodec.c; \
> then mv -f ".deps/jpegcodec.Tpo" ".deps/jpegcodec.Plo"; else rm -f
> ".deps/jpegcodec.Tpo"; exit 1; fi
>  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cairo/pixman/src
> -I../cairo/pixman/src -I../cairo/src -I../cairo/src -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2
> -Wall -Wno-unused -Wno-format -O2 -fno-inline-functions -pthread -MT
> jpegcodec.lo -MD -MP -MF .deps/jpegcodec.Tpo -c jpegcodec.c  -fPIC -DPIC -o
> .libs/jpegcodec.o
> jpegcodec.c:826: error: conflicting types for
> 'gdip_load_jpeg_image_from_stream_delegate'
> jpegcodec.h:20: error: previous declaration of
> 'gdip_load_jpeg_image_from_stream_delegate' was here
> make[2]: *** [jpegcodec.lo] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/libgdiplus-1.1.17/work/libgdiplus-1.1.17/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/libgdiplus-1.1.17/work/libgdiplus-1.1.17'
> make: *** [all] Error 2
> 
> Portage 2.1.1_rc1-r5 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3,
> 2.6.17.11 x86_64)
> =================================================================
> System uname: 2.6.17.11 x86_64 AMD Opteron(tm) Processor 246
> Gentoo Base System version 1.12.4
> Last Sync: Wed, 06 Sep 2006 18:00:01 +0000
> app-admin/eselect-compiler: [Not Present]
> dev-lang/python:     2.3.5-r2, 2.4.3-r1
> dev-python/pycrypto: 2.0.1-r5
> dev-util/ccache:     [Not Present]
> dev-util/confcache:  [Not Present]
> sys-apps/sandbox:    1.2.17
> sys-devel/autoconf:  2.13, 2.59-r7
> sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
> sys-devel/binutils:  2.16.1-r3
> sys-devel/gcc-config: 1.3.13-r3
> sys-devel/libtool:   1.5.22
> virtual/os-headers:  2.6.11-r2
> ACCEPT_KEYWORDS="amd64"
> AUTOCLEAN="yes"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config
> /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config"
> CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
> CXXFLAGS="-O2"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms
> strict"
> GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
> ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/
> http://gentoo.blueyonder.co.uk/ ftp://mirrors.blueyonder.co.uk/mirrors/gentoo"
> LINGUAS="en_GB en fr"
> PKGDIR="/usr/portage/packages"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
> --force --whole-file --delete --delete-after --stats --timeout=180
> --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="amd64 X a52 aac aalib acpi alsa arts asf berkdb bitmap-fonts bluetooth cdr
> cli crypt cups dga directfb dlloader dri dts dv dvb dvd dvdr dvdread
> elibc_glibc esd extensions fbcon ffmpeg firefox flac font-server fortran gdbm
> ggi gimp gimpprint glut gphoto2 gpm hal ieee1394 imagemagick
> input_devices_evdev input_devices_joystick input_devices_keyboard
> input_devices_mouse input_devices_vmmouse ipv6 isdnlog jack java joystick
> kernel_linux libcaca libclamav libg++ linguas_en linguas_en_GB linguas_fr lirc
> lirc_devices_creative live lm_sensors lzo mad matrox mng mysql nas ncurses
> network nls nptl nptlonly nsplugin ogg opengl oss pam pcre perl ppds pppd
> python qt3 quotas rdesktop readline reflection rtc samba scanner sdl sensord
> session smp speex spl ssl startup-notification stream svg sysfs tcpd theora
> threads truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l
> v4l2 vcd video_cards_apm video_cards_fbdev video_cards_fglrx video_cards_mga
> video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vga
> video_cards_vmware vlm vorbis wifi wmf xanim xine xinerama xml xorg xosd xrandr
> xv xvid xvmc zeroconf zlib"
> Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
> MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
> 
Comment 2 Antoine Martin 2006-09-20 14:25:03 UTC
it does - but that's still a bug right? otherwise, what's the point of the use flag?
Comment 3 Jurek Bartuszek (RETIRED) gentoo-dev 2006-10-23 16:38:31 UTC
Please, try merging libgdiplus-1.1.18 and tell me if it solves the problem for you.
Comment 4 Antoine Martin 2006-10-23 17:19:22 UTC
both with and without jpeg use flag now build fine.

good work!
Thanks Antoine