Jump to content
XCOMUFO & Xenocide

Compilation Issues On Gentoo


dimko

Recommended Posts

localhost dimko # emerge -pv games-strategy/ufo2000

 

These are the packages that would be merged, in order:

 

Calculating dependencies... done!

[ebuild N ] games-strategy/ufo2000-0.7.1062 USE="vorbis" 0 kB

 

Total: 1 package (1 new), Size of downloads: 0 kB

 

 

 

 

 

(I was checking out what is needed by program)

Below is output of compilation.

 

 

 

 

 

x86_64-pc-linux-gnu-gcc -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exported\" -DDATA_DIR=\"/usr/share/games/ufo2000\" -O2 -pipe -march=k8 -I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO -DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c src/agup/aphoton.c -o obj/aphoton.o

x86_64-pc-linux-gnu-gcc -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exported\" -DDATA_DIR=\"/usr/share/games/ufo2000\" -O2 -pipe -march=k8 -I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO -DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c src/agup/awin95.c -o obj/awin95.o

x86_64-pc-linux-gnu-gcc -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exported\" -DDATA_DIR=\"/usr/share/games/ufo2000\" -O2 -pipe -march=k8 -I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO -DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c src/jpgalleg/decode.c -o obj/decode.o

x86_64-pc-linux-gnu-gcc -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exported\" -DDATA_DIR=\"/usr/share/games/ufo2000\" -O2 -pipe -march=k8 -I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO -DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c src/jpgalleg/encode.c -o obj/encode.o

x86_64-pc-linux-gnu-gcc -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exported\" -DDATA_DIR=\"/usr/share/games/ufo2000\" -O2 -pipe -march=k8 -I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO -DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c src/jpgalleg/io.c -o obj/io.o

src/jpgalleg/encode.c: In function ?write_header?:

src/jpgalleg/encode.c:556: warning: pointer targets in passing argument 1 of ?_jpeg_chunk_puts? differ in signedness

x86_64-pc-linux-gnu-gcc -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exported\" -DDATA_DIR=\"/usr/share/games/ufo2000\" -O2 -pipe -march=k8 -I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO -DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c src/jpgalleg/jpgalleg.c -o obj/jpgalleg.o

x86_64-pc-linux-gnu-gcc -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exported\" -DDATA_DIR=\"/usr/share/games/ufo2000\" -O2 -pipe -march=k8 -I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO -DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c src/scale2x/scale2x.c -o obj/scale2x.o

x86_64-pc-linux-gnu-gcc -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua -I src/luasqlite3 -DDEBUGMODE -DUFO_SVNVERSION=\"exported\" -DDATA_DIR=\"/usr/share/games/ufo2000\" -O2 -pipe -march=k8 -I/usr/include/freetype2 -DHAVE_FREETYPE -DGLYPH_TARGET=GLYPH_TARGET_ALLEGRO -DGK_NO_LEGACY -DHAVE_DUMBOGG -DHAVE_PNG -DLINUX -I/usr/include -c src/glyphkeeper/glyph.c -o obj/glyph.o

src/glyphkeeper/glyph.c:20:10: error: #include expects "FILENAME" or <FILENAME>

In file included from src/glyphkeeper/glyph.c:271:

src/glyphkeeper/glyph_face.c: In function ?gk_face_driver_name?:

src/glyphkeeper/glyph_face.c:41: error: dereferencing pointer to incomplete type

src/glyphkeeper/glyph_face.c:41: error: dereferencing pointer to incomplete type

src/glyphkeeper/glyph_face.c:42: error: dereferencing pointer to incomplete type

In file included from src/glyphkeeper/glyph.c:277:

src/glyphkeeper/glyph_index.c: In function ?glyph_index_size?:

src/glyphkeeper/glyph_index.c:58: warning: cast from pointer to integer of different size

src/glyphkeeper/glyph_index.c:64: warning: cast from pointer to integer of different size

src/glyphkeeper/glyph_index.c: In function ?unload_glyph?:

src/glyphkeeper/glyph_index.c:230: warning: cast from pointer to integer of different size

src/glyphkeeper/glyph_index.c:236: warning: cast from pointer to integer of different size

src/glyphkeeper/glyph_index.c:242: warning: cast from pointer to integer of different size

src/glyphkeeper/glyph_index.c: In function ?gk_keeper_debug?:

src/glyphkeeper/glyph_index.c:509: warning: cast from pointer to integer of different size

In file included from src/glyphkeeper/glyph.c:283:

src/glyphkeeper/glyph_rend.c: In function ?rend_remove_size_object?:

src/glyphkeeper/glyph_rend.c:205: warning: implicit declaration of function ?FT_Done_Size?

src/glyphkeeper/glyph_rend.c: In function ?gk_rend_set_face?:

src/glyphkeeper/glyph_rend.c:289: warning: implicit declaration of function ?FT_New_Size?

src/glyphkeeper/glyph_rend.c: In function ?gk_rend_set_size_subpixel?:

src/glyphkeeper/glyph_rend.c:312: warning: implicit declaration of function ?FT_Activate_Size?

src/glyphkeeper/glyph_rend.c: In function ?rend_update_matrix?:

src/glyphkeeper/glyph_rend.c:357: warning: implicit declaration of function ?FT_Matrix_Multiply?

src/glyphkeeper/glyph_rend.c: In function ?rend_workout?:

src/glyphkeeper/glyph_rend.c:507: error: dereferencing pointer to incomplete type

src/glyphkeeper/glyph_rend.c:508: error: dereferencing pointer to incomplete type

src/glyphkeeper/glyph_rend.c:510: error: dereferencing pointer to incomplete type

make: *** [obj/glyph.o] Error 1

make: *** Waiting for unfinished jobs....

*

* ERROR: games-strategy/ufo2000-0.7.1062 failed.

* Call stack:

* ebuild.sh, line 49: Called src_compile

* environment, line 2332: Called die

* The specific snippet of code:

* emake DATA_DIR="${GAMES_DATADIR}/${PN}" OPTFLAGS="${CXXFLAGS}" UFO_SVNVERSION=exported $(use vorbis || echo no_dumbogg=1) || die "emake failed"

* The die message:

* emake failed

*

* If you need support, post the topmost build error, and the call stack if relevant.

* A complete build log is located at '/var/tmp/portage/games-strategy/ufo2000-0.7.1062/temp/build.log'.

* The ebuild environment file is located at '/var/tmp/portage/games-strategy/ufo2000-0.7.1062/temp/environment'.

*

 

* Messages for package games-strategy/ufo2000-0.7.1062:

 

*

* ERROR: games-strategy/ufo2000-0.7.1062 failed.

* Call stack:

* ebuild.sh, line 49: Called src_compile

* environment, line 2332: Called die

* The specific snippet of code:

* emake DATA_DIR="${GAMES_DATADIR}/${PN}" OPTFLAGS="${CXXFLAGS}" UFO_SVNVERSION=exported $(use vorbis || echo no_dumbogg=1) || die "emake failed"

* The die message:

* emake failed

*

* If you need support, post the topmost build error, and the call stack if relevant.

* A complete build log is located at '/var/tmp/portage/games-strategy/ufo2000-0.7.1062/temp/build.log'.

* The ebuild environment file is located at '/var/tmp/portage/games-strategy/ufo2000-0.7.1062/temp/environment'.

*

 

 

 

 

I have turned off -fomit-frame-pointer for sake of clarity.

 

 

 

 

CFLAGS="-O2 -pipe -march=k8 "#-fomit-frame-pointer"

CXXFLAGS="${CFLAGS}"

MAKEOPTS="-j3"

 

USE="mmx sse sse2 3dnow 3dnowext 52 7zip a a52 aac aalib ace acpi aiglx alisp alsa

amrwb amuled apache2 asf atm audacious audiofile automount

bash-completion big-iron binary-drivers bzip2 cairo cdda cddb cdinstall

cdparanoia cdr cdrom chroot clamav clamd cpudetection css cursors

custom-cflags dbus dedicated dts dga dhcp distribution divx dmx dnd -doc dvb

dvd dvdnav dvdr dvdread emacs emerald enca encode exif fame fbcon ffmpeg

-firefox flac flash ftp gif gimp gimpprint gnome gnome-print graphviz

gstreamer gtk gtkhtml glibc-omitfp hal html httpd ieee1394 injection iproute2 iris

jack jpeg jpeg2k lame libcaca libsamplerate linuxthreads-tls lm_sensors mad md5sum

mikmod mime mjpeg mmx mmxext mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer nfs nls

nvidia nptl ogg openal opengl oss pdg player png pnm polling posix pulseaudio

radio rar rc5 real resolvconf samba sdl see2 skins smp spell sse2 sse sse3 ssse3 stream

streamripper submenu subtitles svg svgz swat syslog theora thesaurus

transcode truetype unzip v4l2 vcd videos vorbis wma x264 xine xscreensaver xv xvmc

xvid yv12 mmap -qt-static esd djbfft unicode"

 

I have -X in make.conf, but in most of cases when I run emerge command I add 'USE="X" ' (i don't want additional X support in some commands, so I am very pedantic about it)

 

Well, that's pretty much it.

Any ideas?

I checked forum before and didn't find anything for myself, but that could mine issues with English language.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...