Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136074 - conflicting declarations of uint64_t in system headers
Summary: conflicting declarations of uint64_t in system headers
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Other
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-08 07:36 UTC by Patrick Stinson
Modified: 2006-06-16 16:38 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 Patrick Stinson 2006-06-08 07:36:20 UTC
in Trying to compile juce I get the collowing gcc errors for what seem to be problems with system headers and uint64_t declarations:


juce_Socket.cpp
In file included from /usr/include/sys/types.h:8,
                 from ../../src/juce_core/io/network/juce_Socket.cpp:44:
/usr/include/gentoo-multilib/amd64/sys/types.h:46: error: conflicting declaration 'typedef __loff_t loff_t'
/usr/include/linux/types.h:72: error: 'loff_t' has a previous declaration as `typedef __kernel_loff_t loff_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:46: error: declaration of `typedef __loff_t loff_t'
/usr/include/linux/types.h:72: error: conflicts with previous declaration `typedef __kernel_loff_t loff_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:46: error: declaration of `typedef __loff_t loff_t'
/usr/include/linux/types.h:72: error: conflicts with previous declaration `typedef __kernel_loff_t loff_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:62: error: conflicting declaration 'typedef __dev_t dev_t'
/usr/include/linux/types.h:25: error: 'dev_t' has a previous declaration as `typedef __kernel_dev_t dev_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:62: error: declaration of `typedef __dev_t dev_t'
/usr/include/linux/types.h:25: error: conflicts with previous declaration `typedef __kernel_dev_t dev_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:62: error: declaration of `typedef __dev_t dev_t'
/usr/include/linux/types.h:25: error: conflicts with previous declaration `typedef __kernel_dev_t dev_t'
In file included from /usr/include/sys/types.h:8,
                 from ../../src/juce_core/io/network/juce_Socket.cpp:44:
/usr/include/gentoo-multilib/amd64/sys/types.h:194: error: conflicting declaration 'typedef long int int64_t'
/usr/include/linux/types.h:140: error: 'int64_t' has a previous declaration as `typedef __s64 int64_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:194: error: declaration of `typedef long int int64_t'
/usr/include/linux/types.h:140: error: conflicts with previous declaration `typedef __s64 int64_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:194: error: declaration of `typedef long int int64_t'
/usr/include/linux/types.h:140: error: conflicts with previous declaration `typedef __s64 int64_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:200: error: conflicting declaration 'typedef long unsigned int u_int64_t'
/usr/include/linux/types.h:139: error: 'u_int64_t' has a previous declaration as `typedef __u64 u_int64_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:200: error: declaration of `typedef long unsigned int u_int64_t'
/usr/include/linux/types.h:139: error: conflicts with previous declaration `typedef __u64 u_int64_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:200: error: declaration of `typedef long unsigned int u_int64_t'
/usr/include/linux/types.h:139: error: conflicts with previous declaration `typedef __u64 u_int64_t'
In file included from /usr/include/sys/select.h:8,
                 from /usr/include/gentoo-multilib/amd64/sys/types.h:216,
                 from /usr/include/sys/types.h:8,
                 from ../../src/juce_core/io/network/juce_Socket.cpp:44:
/usr/include/gentoo-multilib/amd64/sys/select.h:78: error: conflicting declaration 'typedef struct fd_set fd_set'
/usr/include/linux/types.h:22: error: 'fd_set' has a previous declaration as `typedef struct __kernel_fd_set fd_set'
/usr/include/gentoo-multilib/amd64/sys/select.h:78: error: declaration of `typedef struct fd_set fd_set'
/usr/include/linux/types.h:22: error: conflicts with previous declaration `typedef struct __kernel_fd_set fd_set'
/usr/include/gentoo-multilib/amd64/sys/select.h:78: error: declaration of `typedef struct fd_set fd_set'
/usr/include/linux/types.h:22: error: conflicts with previous declaration `typedef struct __kernel_fd_set fd_set'
/usr/include/gentoo-multilib/amd64/sys/select.h:78: error: declaration of `typedef struct fd_set fd_set'
/usr/include/linux/types.h:22: error: conflicts with previous declaration `typedef struct __kernel_fd_set fd_set'
In file included from /usr/include/stdint.h:8,
                 from /usr/include/gentoo-multilib/amd64/netinet/in.h:23,
                 from /usr/include/netinet/in.h:8,
                 from /usr/include/gentoo-multilib/amd64/netdb.h:28,
                 from /usr/include/netdb.h:8,
                 from ../../src/juce_core/io/network/juce_Socket.cpp:45:
/usr/include/gentoo-multilib/amd64/stdint.h:56: error: conflicting declaration 'typedef long unsigned int uint64_t'
/usr/include/linux/types.h:138: error: 'uint64_t' has a previous declaration as `typedef __u64 uint64_t'
/usr/include/gentoo-multilib/amd64/stdint.h:56: error: declaration of `typedef long unsigned int uint64_t'
/usr/include/linux/types.h:138: error: conflicts with previous declaration `typedef __u64 uint64_t'
/usr/include/gentoo-multilib/amd64/stdint.h:56: error: declaration of `typedef long unsigned int uint64_t'
/usr/include/linux/types.h:138: error: conflicts with previous declaration `typedef __u64 uint64_t'
make[1]: *** [../../bin/intermediate_linux/Debug/juce_Socket.o] Error 1
make: *** [JUCE] Error 2
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-06-15 11:47:42 UTC
Please post "emerge --info" output to every bug report, like the form asks
Comment 2 Patrick Stinson 2006-06-15 11:53:49 UTC
(In reply to comment #1)
> Please post "emerge --info" output to every bug report, like the form asks
> 

Hmmm. seems like the wording should change to mean that emerge --info is "required", as opposed to "almost always oppropriate".


Portage 2.1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.6.14
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
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 -march=k8 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/overlay/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acpi alsa audiofile avi bash-completion berkdb bitmap-fonts cairo caps cdda cdparanoia cdr cli corba crypt daap distcc doc dri dvb dvd dxr3 eds emacs emboss encode examples fbcon flac foomaticdb fortran ftp ggi gif glitz gmp gnutls gpm gtk2 i8x0 imagemagic imlib ipv6 isdnlog jack javascript jpeg kde ladcca ladspa lzw lzw-tiff mad matroska mp3 mpeg ncurses nls nvidia oggvorbis opengl pam pcre pdflib perl png povray pppd python qt quicktime readline reflection samba sdl session sndfile sox spell spl sqlite ssl subversion svg tcpd threads tiff tkinter truetype truetype-fonts type1-fonts usb vcd vcxd vorbis wifi xine xinerama xml xml2 xmms xorg xpm xv zercoonf zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_elographics kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-06-15 12:51:38 UTC
It's not always appropriate, sometimes people are filing bugs about broken links on the website, system-independant things like that. For any problem with the actual distribution, post it, even if you are unsure.
Comment 4 Tim Yamin (RETIRED) gentoo-dev 2006-06-16 16:38:40 UTC
Looks like a problem with the header ordering in juce itself; I don't see this package anywhere in Portage so please contact upstream.