Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128149 - Compilation errors due to u_int64_t definition in plptools on AMD64
Summary: Compilation errors due to u_int64_t definition in plptools on AMD64
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-30 11:20 UTC by Eugine V. Kosenko
Modified: 2009-07-30 12:57 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 Eugine V. Kosenko 2006-03-30 11:20:01 UTC
$ emerge --info plptools
Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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
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="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.org.ua/ http://gentoo.linux.kiev.ua/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org.ua/gentoo-portage"
USE="amd64 X alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dri dvd eds emboss encode esd exif expat fam fastbuild ffmpeg foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml idn imlib ipv6 isdnlog jpeg lcms lua lzw lzw-tiff mad memlimit mng mozilla mp3 mpeg mysql ncurses nls nptl nvidia ogg opengl pam pcre pdflib perl png posix pppd python quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xpm xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

$ LDFLAGS='-Wl,-z,now' ebuild /usr/portage/app-pda/plptools/plptools-0.13.ebuild clean compile

 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../intl -D_REENTRANT -O2 -march=k8 -O2 -pipe -fno-exceptions -fno-check-new -MT Enum.lo -MD -MP -MF .deps/Enum.Tpo -c Enum.cc  -fPIC -DPIC -o .libs/Enum.o
In file included from psitime.cc:24:
../include/plp_inttypes.h:30: error: conflicting declaration 'typedef long long unsigned int u_int64_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:200: error: 'u_int64_t' has a previous declaration as `typedef long unsigned int u_int64_t'
../include/plp_inttypes.h:30: error: declaration of `typedef long long unsigned int u_int64_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:200: error: conflicts with previous declaration `typedef long unsigned int u_int64_t'
../include/plp_inttypes.h:30: error: declaration of `typedef long long unsigned int u_int64_t'
/usr/include/gentoo-multilib/amd64/sys/types.h:200: error: conflicts with previous declaration `typedef long unsigned int u_int64_t'

It seems the excluding of the line 30 in the file "psitime.cc" resolves the problem. At least, the package is succesfully compiled and merged, and psion daemon is successfully started. I have not tested the actual functionality just now
Comment 1 Eugine V. Kosenko 2006-03-30 11:31:35 UTC
(In reply to comment #0)
> It seems the excluding of the line 30 in the file "psitime.cc"

Sorry, in the file 

include/plp_inttypes.h
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-07-30 12:57:52 UTC
Removed from tree.