Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125458 - gprolog failes to compile: atom.c:230: error: conflicting types for 'Create_Allocate_Atom'
Summary: gprolog failes to compile: atom.c:230: error: conflicting types for 'Create_A...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-08 03:52 UTC by Neagul Marian
Modified: 2006-03-21 02:42 UTC (History)
2 users (show)

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


Attachments
`emerge gprolog` output (bugs_gentoo,32.66 KB, text/plain)
2006-03-08 03:54 UTC, Neagul Marian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Neagul Marian 2006-03-08 03:52:30 UTC
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-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
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/tmp/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.ro.gentoo.org/gentoo-portage"
USE="x86 3dfx 3dnow X a52 aac acl alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr chm cpdflib crypt cscope ctype cups curl dbus dga directfb doc dri dv dvd dvdr dvdread eds emacs emboss encode esd ethereal examples exif expat fam fbcon ffmpeg flac foomaticdb fortran ftp gd gdbm geoip ggi gif glitz glut gmp gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal hardenedphp howl iconv idn imagemagick imap imlib ipv6 jack java javascript jikes jpeg junit kde lcms ldap libcaca libg++ libwww lirc lm_sensors lua mad maildir mhash mikmod mime mmap mmx mng mono motif mozilla mp3 mpeg mpi ncurses nls nptl nsplugin nvidia objc offensive ogg oggvorbis openal opengl pam pcre pdf pdflib perl php png posix ppds python qt quicktime readline real recode samba sdl slang sndfile sockets spell spreadsheet sqlite sse ssl svg sysvipc tcltk tcpd tetex threads tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vhosts vorbis win32codecs wv wxwindows xine xml xml2 xmms xosd xpm xrandr xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Neagul Marian 2006-03-08 03:54:18 UTC
Created attachment 81678 [details]
`emerge gprolog` output
Comment 2 Keri Harris (RETIRED) gentoo-dev 2006-03-09 02:23:57 UTC
Neagul, gprolog-1.2.16 is quite an old version of GNU Prolog and won't compile with >=gcc-3.3.3 for a few significant reasons. You can find a patch that can be applied against gprolog-1.2.16 in bug #104482 (comment #4 lists the reasons why the compile fails).

Alternatively, you can try out gprolog-1.2.19 which is a little newer and a little less fragile; an ebuild for -1.2.19 can be found in bug #116843.
Comment 3 Keri Harris (RETIRED) gentoo-dev 2006-03-21 02:42:16 UTC
gprolog-1.2.19 has been committed to cvs. It has been patched so that __attribute(...)__ always appears in the function definition as well as in
the forward declarations.