You are not logged in.

#1 2012-06-25 01:58:33

Doritos
Member
Registered: 2012-06-25
Posts: 4

p-uae and Arch

After using Linux since 2004, I've still never got anything to compile.

Here's what I want:

https://aur.archlinux.org/packages.php? … _Search=Go

makepkg! Wonderful, I thought. Something that handles compiling stuff for me.

Nope. Here, have some garbage that GCC threw at me when it decided not to work:

[doritos@Capricorn-One Downloads]$ makepkg
==> Determining latest git revision...
  -> Version found: 20120625
==> Making package: puae-git 20120625-1 (Mon Jun 25 02:28:57 BST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to GIT server....
Already up-to-date.
==> The local files are updated.
==> GIT checkout done or server timeout
==> Starting make...
Cloning into '/home/doritos/Downloads/src/PUAE-build'...
done.
.
.
Please Wait..
.
..almost over..
.
Done. Thank you.
.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for objcc... no
checking for objc... no
checking for gcc... gcc
checking dependency style of gcc... gcc3
checking if Objective C compiler works... no
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ar... ar
checking for makedepend... not-found
checking for file... /usr/bin/file
checking for wrc... not-found
checking for rcl... not-found
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for _oss_ioctl in -lossaudio... no
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.24.10)
checking QT version via qmake... configure: QMAKE env not set..
4.8.2 
checking QT: Meta Object Compiler... configure: QT_MOC env not set..
/usr/bin/moc 
checking QT: User Interface Compiler... /usr/bin/uic 
checking QT: Resource Compiler... /usr/bin/rcc 
checking QT HEADERS via qmake... /usr/include 
checking QT LIBS via qmake... /usr/lib 
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking for sys/stat.h... (cached) yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking libraries/cybergraphics.h usability... no
checking libraries/cybergraphics.h presence... no
checking for libraries/cybergraphics.h... no
checking cybergraphx/cybergraphics.h usability... no
checking cybergraphx/cybergraphics.h presence... no
checking for cybergraphx/cybergraphics.h... no
checking devices/ahi.h usability... no
checking devices/ahi.h presence... no
checking for devices/ahi.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking sun/audioio.h usability... no
checking sun/audioio.h presence... no
checking for sun/audioio.h... no
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking machine/joystick.h usability... no
checking machine/joystick.h presence... no
checking for machine/joystick.h... no
checking amigainput/amigainput.h usability... no
checking amigainput/amigainput.h presence... no
checking for amigainput/amigainput.h... no
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_blocks... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working volatile... yes
checking whether byte ordering is bigendian... no
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking size of void *... 8
checking for socklen_t... yes
checking whether gcc needs -traditional... no
checking for working memcmp... yes
checking return type of signal handlers... void
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for gettimeofday... yes
checking for sigaction... yes
checking for select... yes
checking for strerror... yes
checking for isnan... yes
checking for isinf... yes
checking for setitimer... yes
checking for alarm... yes
checking for sync... yes
checking for readdir_r... yes
checking for strdup... yes
checking for strstr... yes
checking for strcasecmp... yes
checking for stricmp... no
checking for strcmpi... no
checking for nanosleep... yes
checking for usleep... yes
checking for sleep... yes
checking for vprintf... yes
checking for vsprintf... yes
checking for vfprintf... yes
checking for localtime_r... yes
checking for timegm... yes
checking for gmtime_r... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for bswap_16... yes
checking for bswap_32... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/fs_types.h usability... no
checking sys/fs_types.h presence... no
checking for sys/fs_types.h... no
checking for sys/mount.h... yes
checking how to get filesystem space usage...
checking for statvfs function (SVR4)... no
checking for 3-argument statfs function (DEC OSF/1)... no
checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unsigned long long... yes
checking for fcntl.h... (cached) yes
checking dustat.h usability... no
checking dustat.h presence... no
checking for dustat.h... no
checking sys/fs/s5param.h usability... no
checking sys/fs/s5param.h presence... no
checking for sys/fs/s5param.h... no
checking sys/filsys.h usability... no
checking sys/filsys.h presence... no
checking for sys/filsys.h... no
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for statfs that truncates block counts... no
checking for inflateEnd in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for library containing sem_init... none required
checking for dlopen in -ldl... yes
checking whether sys/soundcard.h or machine/soundcard.h works... yes
checking host OS support... linux
checking host cpu support... amd64
checking for GCC 2.7 or higher... yes
checking for GCC 3.0 or higher... yes
checking for GCC 4.0 or higher... yes
./configure: line 9898: dnlfi: command not found
checking configuration options... ok
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for waddch in -lncurses... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking whether to build JIT compiler... no
checking for graphics target to build... "SDL"
configure: ================================================================
checking for sound target to build... "ALSA"
checking which UI target to build... "GTK+"
checking whether to build AMAX support... no
checking whether to build GAYLE IDE emulation... no
checking whether to build NCR SCSI emulation... no
checking whether to build A2065 Ethernet emulation... no
checking whether to build A2091 SCSI emulation... no
checking whether to build AGA emulation... yes
checking whether to build support for Autoconfig devices... yes
checking whether to build SCSI emulation... no
no
checking whether to have Catweasel support... no
checking whether to build CDTV emulation... no
checking whether to build CD32 emulation... no
checking whether to build bsdsocket.library emulation... yes
checking whether to build with threads... yes
checking which thread target to build... SDL
checking caps/capsimage.h usability... no
checking caps/capsimage.h presence... no
checking for caps/capsimage.h... no
checking whether to build internal debugger/monitor... yes
checking whether to build support for saving/loading emulator state... yes
checking whether to build with enforcer... yes
checking whether to build Action Replay emulation... yes
checking whether to include keymaps for X-Arcade joysticks... yes
checking want floppy drive sound emulation... yes
checking whether to build serial port emulation... no
checking whether CPU is 64bit... yes
checking whether to use CPU Specific GCC Optimizations... no
configure: ================================================================
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/archivers/dms/Makefile
config.status: creating src/archivers/zip/Makefile
config.status: creating src/caps/Makefile
config.status: creating src/md-generic/Makefile
config.status: creating src/md-i386-gcc/Makefile
config.status: creating src/md-ppc-gcc/Makefile
config.status: creating src/md-ppc/Makefile
config.status: creating src/md-68k/Makefile
config.status: creating src/md-amd64-gcc/Makefile
config.status: creating src/od-generic/Makefile
config.status: creating src/od-linux/Makefile
config.status: creating src/od-amiga/Makefile
config.status: creating src/od-beos/Makefile
config.status: creating src/od-macosx/Makefile
config.status: creating src/od-macosx/Info.plist
config.status: creating src/od-macosx/Credits.rtf
config.status: creating src/od-win32/Makefile
config.status: creating src/td-none/Makefile
config.status: creating src/td-amigaos/Makefile
config.status: creating src/td-beos/Makefile
config.status: creating src/td-posix/Makefile
config.status: creating src/td-sdl/Makefile
config.status: creating src/td-win32/Makefile
config.status: creating src/gfx-amigaos/Makefile
config.status: creating src/gfx-beos/Makefile
config.status: creating src/gfx-x11/Makefile
config.status: creating src/gfx-sdl/Makefile
config.status: creating src/gfx-curses/Makefile
config.status: creating src/gfx-cocoa/Makefile
config.status: creating src/sd-alsa/Makefile
config.status: creating src/sd-amigaos/Makefile
config.status: creating src/sd-beos/Makefile
config.status: creating src/sd-none/Makefile
config.status: creating src/sd-sdl/Makefile
config.status: creating src/sd-solaris/Makefile
config.status: creating src/sd-uss/Makefile
config.status: creating src/jd-none/Makefile
config.status: creating src/jd-amigainput/Makefile
config.status: creating src/jd-amigaos/Makefile
config.status: creating src/jd-beos/Makefile
config.status: creating src/jd-linuxold/Makefile
config.status: creating src/jd-sdl/Makefile
config.status: creating src/gui-none/Makefile
config.status: creating src/gui-beos/Makefile
config.status: creating src/gui-cocoa/Makefile
config.status: creating src/gui-gtk/Makefile
config.status: creating src/gui-muirexx/Makefile
config.status: creating src/gui-qt/Makefile
config.status: creating src/keymap/Makefile
config.status: creating src/test/Makefile
config.status: creating src/sysconfig.h
config.status: linking src/targets/t-unix.h to src/target.h
config.status: linking src/md-amd64-gcc to src/machdep
config.status: linking src/include/fpp-ieee.h to src/md-fpp.h
config.status: linking src/od-linux to src/osdep
config.status: linking src/gfx-sdl to src/gfxdep
config.status: linking src/sd-alsa to src/sounddep
config.status: linking src/td-sdl to src/threaddep
config.status: linking src/jd-sdl to src/joydep
config.status: linking src/gui-gtk to src/guidep
config.status: executing depfiles commands
=== configuring in src/tools (/home/doritos/Downloads/src/PUAE-build/src/tools)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--with-sdl' '--with-sdl-gfx' '--with-sdl-gl' '--with-alsa' 
'--enable-bsdsock' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' 
'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 
-D_FORTIFY_SOURCE=2' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of __int64... 0
checking size of void *... 8
checking whether gcc needs -traditional... no
checking for vprintf... yes
checking for _doprnt... no
checking for strdup... yes
checking for strcasecmp... yes
checking for strcmpi... no
checking for stricmp... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sysconfig.h
config.status: linking ../missing.c to missing.c
config.status: linking ../writelog.c to writelog.c
config.status: linking ../readcpu.c to readcpu.c
config.status: linking ../build68k.c to build68k.c
config.status: linking ../gencpu.c to gencpu.c
config.status: linking ../gencomp.c to gencomp.c
config.status: linking ../genblitter.c to genblitter.c
config.status: linking ../blitops.c to blitops.c
config.status: linking ../genlinetoscr.c to genlinetoscr.c
Making all in src
make[1]: Entering directory `/home/doritos/Downloads/src/PUAE-build/src'
make -C tools genblitter
make[2]: Entering directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
gcc -I. -I./../include/ -I. -c  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wno-unused 
-D__inline__=inline    genblitter.c -o genblitter.o
gcc -I. -I./../include/ -I. -c  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wno-unused 
-D__inline__=inline    blitops.c -o blitops.o
gcc -I. -I./../include/ -I. -c  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wno-unused 
-D__inline__=inline    writelog.c -o writelog.o
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro -o genblitter genblitter.o blitops.o writelog.o
make[2]: Leaving directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
./tools/genblitter i >blit.h
./tools/genblitter h >blitfunc.h
./tools/genblitter f >blitfunc.c
./tools/genblitter t >blittable.c
make -C tools genlinetoscr
make[2]: Entering directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
gcc -I. -I./../include/ -I. -c  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wno-unused 
-D__inline__=inline    genlinetoscr.c -o genlinetoscr.o
genlinetoscr.c: In function 'main':
genlinetoscr.c:472:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro -o genlinetoscr genlinetoscr.o
make[2]: Leaving directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
./tools/genlinetoscr  >linetoscr.c
make -C tools build68k
make[2]: Entering directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
gcc -I. -I./../include/ -I. -c  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wno-unused 
-D__inline__=inline    build68k.c -o build68k.o
build68k.c: In function 'main':
build68k.c:212:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro -o build68k build68k.o writelog.o
make[2]: Leaving directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
./tools/build68k <../src/table68k >cpudefs.c
make -C tools gencpu
make[2]: Entering directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
gcc -I. -I./../include/ -I. -c  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wno-unused 
-D__inline__=inline    gencpu.c -o gencpu.o
gencpu.c: In function 'gen_nextiword':
gencpu.c:303:5: warning: too many arguments for format [-Wformat-extra-args]
gencpu.c: In function 'gen_nextibyte':
gencpu.c:337:5: warning: too many arguments for format [-Wformat-extra-args]
gencpu.c: In function 'genamode_fixup':
gencpu.c:815:5: warning: too many arguments for format [-Wformat-extra-args]
gencpu.c:811:4: warning: enumeration value 'Dreg' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'Areg' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'Aind' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'Ad16' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'Ad8r' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'absw' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'absl' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'PC16' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'PC8r' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'imm' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'imm0' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'imm1' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'imm2' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'immi' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'am_unknown' not handled in switch [-Wswitch]
gencpu.c:811:4: warning: enumeration value 'am_illg' not handled in switch [-Wswitch]
gencpu.c: In function 'genflags_normal':
gencpu.c:1228:2: warning: enumeration value 'flag_z' not handled in switch [-Wswitch]
gencpu.c: In function 'gen_opcode':
gencpu.c:2193:7: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat]
gencpu.c:2214:4: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat]
gencpu.c:2219:6: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat]
gencpu.c:2277:3: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat]
gencpu.c:2305:3: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat]
gencpu.c: In function 'generate_one_opcode':
gencpu.c:3696:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat]
gencpu.c:3696:4: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat]
gencpu.c:3799:4: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long int' [-Wformat]
gencpu.c:3799:4: warning: format '%d' expects argument of type 'int', but argument 7 has type 'long int' [-Wformat]
gencpu.c: In function 'read_counts':
gencpu.c:100:10: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
gencpu.c: In function 'generate_cpu':
gencpu.c:3860:11: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
gcc -I. -I./../include/ -I. -c  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wno-unused 
-D__inline__=inline    readcpu.c -o readcpu.o
readcpu.c:33:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:33:2: warning: (near initialization for 'lookuptab[0].friendlyname') [-Wmissing-field-initializers]
readcpu.c:34:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:34:2: warning: (near initialization for 'lookuptab[1].friendlyname') [-Wmissing-field-initializers]
readcpu.c:35:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:35:2: warning: (near initialization for 'lookuptab[2].friendlyname') [-Wmissing-field-initializers]
readcpu.c:36:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:36:2: warning: (near initialization for 'lookuptab[3].friendlyname') [-Wmissing-field-initializers]
readcpu.c:37:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:37:2: warning: (near initialization for 'lookuptab[4].friendlyname') [-Wmissing-field-initializers]
readcpu.c:38:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:38:2: warning: (near initialization for 'lookuptab[5].friendlyname') [-Wmissing-field-initializers]
readcpu.c:39:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:39:2: warning: (near initialization for 'lookuptab[6].friendlyname') [-Wmissing-field-initializers]
readcpu.c:40:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:40:2: warning: (near initialization for 'lookuptab[7].friendlyname') [-Wmissing-field-initializers]
readcpu.c:41:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:41:2: warning: (near initialization for 'lookuptab[8].friendlyname') [-Wmissing-field-initializers]
readcpu.c:42:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:42:2: warning: (near initialization for 'lookuptab[9].friendlyname') [-Wmissing-field-initializers]
readcpu.c:43:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:43:2: warning: (near initialization for 'lookuptab[10].friendlyname') [-Wmissing-field-initializers]
readcpu.c:44:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:44:2: warning: (near initialization for 'lookuptab[11].friendlyname') [-Wmissing-field-initializers]
readcpu.c:45:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:45:2: warning: (near initialization for 'lookuptab[12].friendlyname') [-Wmissing-field-initializers]
readcpu.c:46:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:46:2: warning: (near initialization for 'lookuptab[13].friendlyname') [-Wmissing-field-initializers]
readcpu.c:47:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:47:2: warning: (near initialization for 'lookuptab[14].friendlyname') [-Wmissing-field-initializers]
readcpu.c:48:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:48:2: warning: (near initialization for 'lookuptab[15].friendlyname') [-Wmissing-field-initializers]
readcpu.c:49:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:49:2: warning: (near initialization for 'lookuptab[16].friendlyname') [-Wmissing-field-initializers]
readcpu.c:50:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:50:2: warning: (near initialization for 'lookuptab[17].friendlyname') [-Wmissing-field-initializers]
readcpu.c:51:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:51:2: warning: (near initialization for 'lookuptab[18].friendlyname') [-Wmissing-field-initializers]
readcpu.c:52:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:52:2: warning: (near initialization for 'lookuptab[19].friendlyname') [-Wmissing-field-initializers]
readcpu.c:53:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:53:2: warning: (near initialization for 'lookuptab[20].friendlyname') [-Wmissing-field-initializers]
readcpu.c:54:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:54:2: warning: (near initialization for 'lookuptab[21].friendlyname') [-Wmissing-field-initializers]
readcpu.c:55:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:55:2: warning: (near initialization for 'lookuptab[22].friendlyname') [-Wmissing-field-initializers]
readcpu.c:56:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:56:2: warning: (near initialization for 'lookuptab[23].friendlyname') [-Wmissing-field-initializers]
readcpu.c:57:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:57:2: warning: (near initialization for 'lookuptab[24].friendlyname') [-Wmissing-field-initializers]
readcpu.c:58:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:58:2: warning: (near initialization for 'lookuptab[25].friendlyname') [-Wmissing-field-initializers]
readcpu.c:59:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:59:2: warning: (near initialization for 'lookuptab[26].friendlyname') [-Wmissing-field-initializers]
readcpu.c:60:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:60:2: warning: (near initialization for 'lookuptab[27].friendlyname') [-Wmissing-field-initializers]
readcpu.c:61:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:61:2: warning: (near initialization for 'lookuptab[28].friendlyname') [-Wmissing-field-initializers]
readcpu.c:62:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:62:2: warning: (near initialization for 'lookuptab[29].friendlyname') [-Wmissing-field-initializers]
readcpu.c:63:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:63:2: warning: (near initialization for 'lookuptab[30].friendlyname') [-Wmissing-field-initializers]
readcpu.c:64:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:64:2: warning: (near initialization for 'lookuptab[31].friendlyname') [-Wmissing-field-initializers]
readcpu.c:65:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:65:2: warning: (near initialization for 'lookuptab[32].friendlyname') [-Wmissing-field-initializers]
readcpu.c:66:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:66:2: warning: (near initialization for 'lookuptab[33].friendlyname') [-Wmissing-field-initializers]
readcpu.c:67:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:67:2: warning: (near initialization for 'lookuptab[34].friendlyname') [-Wmissing-field-initializers]
readcpu.c:68:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:68:2: warning: (near initialization for 'lookuptab[35].friendlyname') [-Wmissing-field-initializers]
readcpu.c:69:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:69:2: warning: (near initialization for 'lookuptab[36].friendlyname') [-Wmissing-field-initializers]
readcpu.c:70:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:70:2: warning: (near initialization for 'lookuptab[37].friendlyname') [-Wmissing-field-initializers]
readcpu.c:71:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:71:2: warning: (near initialization for 'lookuptab[38].friendlyname') [-Wmissing-field-initializers]
readcpu.c:74:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:74:2: warning: (near initialization for 'lookuptab[41].friendlyname') [-Wmissing-field-initializers]
readcpu.c:75:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:75:2: warning: (near initialization for 'lookuptab[42].friendlyname') [-Wmissing-field-initializers]
readcpu.c:76:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:76:2: warning: (near initialization for 'lookuptab[43].friendlyname') [-Wmissing-field-initializers]
readcpu.c:77:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:77:2: warning: (near initialization for 'lookuptab[44].friendlyname') [-Wmissing-field-initializers]
readcpu.c:78:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:78:2: warning: (near initialization for 'lookuptab[45].friendlyname') [-Wmissing-field-initializers]
readcpu.c:79:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:79:2: warning: (near initialization for 'lookuptab[46].friendlyname') [-Wmissing-field-initializers]
readcpu.c:80:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:80:2: warning: (near initialization for 'lookuptab[47].friendlyname') [-Wmissing-field-initializers]
readcpu.c:81:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:81:2: warning: (near initialization for 'lookuptab[48].friendlyname') [-Wmissing-field-initializers]
readcpu.c:82:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:82:2: warning: (near initialization for 'lookuptab[49].friendlyname') [-Wmissing-field-initializers]
readcpu.c:83:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:83:2: warning: (near initialization for 'lookuptab[50].friendlyname') [-Wmissing-field-initializers]
readcpu.c:84:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:84:2: warning: (near initialization for 'lookuptab[51].friendlyname') [-Wmissing-field-initializers]
readcpu.c:85:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:85:2: warning: (near initialization for 'lookuptab[52].friendlyname') [-Wmissing-field-initializers]
readcpu.c:86:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:86:2: warning: (near initialization for 'lookuptab[53].friendlyname') [-Wmissing-field-initializers]
readcpu.c:87:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:87:2: warning: (near initialization for 'lookuptab[54].friendlyname') [-Wmissing-field-initializers]
readcpu.c:88:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:88:2: warning: (near initialization for 'lookuptab[55].friendlyname') [-Wmissing-field-initializers]
readcpu.c:89:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:89:2: warning: (near initialization for 'lookuptab[56].friendlyname') [-Wmissing-field-initializers]
readcpu.c:90:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:90:2: warning: (near initialization for 'lookuptab[57].friendlyname') [-Wmissing-field-initializers]
readcpu.c:91:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:91:2: warning: (near initialization for 'lookuptab[58].friendlyname') [-Wmissing-field-initializers]
readcpu.c:92:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:92:2: warning: (near initialization for 'lookuptab[59].friendlyname') [-Wmissing-field-initializers]
readcpu.c:93:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:93:2: warning: (near initialization for 'lookuptab[60].friendlyname') [-Wmissing-field-initializers]
readcpu.c:94:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:94:2: warning: (near initialization for 'lookuptab[61].friendlyname') [-Wmissing-field-initializers]
readcpu.c:95:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:95:2: warning: (near initialization for 'lookuptab[62].friendlyname') [-Wmissing-field-initializers]
readcpu.c:96:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:96:2: warning: (near initialization for 'lookuptab[63].friendlyname') [-Wmissing-field-initializers]
readcpu.c:97:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:97:2: warning: (near initialization for 'lookuptab[64].friendlyname') [-Wmissing-field-initializers]
readcpu.c:98:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:98:2: warning: (near initialization for 'lookuptab[65].friendlyname') [-Wmissing-field-initializers]
readcpu.c:99:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:99:2: warning: (near initialization for 'lookuptab[66].friendlyname') [-Wmissing-field-initializers]
readcpu.c:100:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:100:2: warning: (near initialization for 'lookuptab[67].friendlyname') [-Wmissing-field-initializers]
readcpu.c:101:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:101:2: warning: (near initialization for 'lookuptab[68].friendlyname') [-Wmissing-field-initializers]
readcpu.c:102:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:102:2: warning: (near initialization for 'lookuptab[69].friendlyname') [-Wmissing-field-initializers]
readcpu.c:103:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:103:2: warning: (near initialization for 'lookuptab[70].friendlyname') [-Wmissing-field-initializers]
readcpu.c:104:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:104:2: warning: (near initialization for 'lookuptab[71].friendlyname') [-Wmissing-field-initializers]
readcpu.c:105:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:105:2: warning: (near initialization for 'lookuptab[72].friendlyname') [-Wmissing-field-initializers]
readcpu.c:106:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:106:2: warning: (near initialization for 'lookuptab[73].friendlyname') [-Wmissing-field-initializers]
readcpu.c:107:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:107:2: warning: (near initialization for 'lookuptab[74].friendlyname') [-Wmissing-field-initializers]
readcpu.c:108:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:108:2: warning: (near initialization for 'lookuptab[75].friendlyname') [-Wmissing-field-initializers]
readcpu.c:109:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:109:2: warning: (near initialization for 'lookuptab[76].friendlyname') [-Wmissing-field-initializers]
readcpu.c:110:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:110:2: warning: (near initialization for 'lookuptab[77].friendlyname') [-Wmissing-field-initializers]
readcpu.c:111:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:111:2: warning: (near initialization for 'lookuptab[78].friendlyname') [-Wmissing-field-initializers]
readcpu.c:112:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:112:2: warning: (near initialization for 'lookuptab[79].friendlyname') [-Wmissing-field-initializers]
readcpu.c:113:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:113:2: warning: (near initialization for 'lookuptab[80].friendlyname') [-Wmissing-field-initializers]
readcpu.c:114:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:114:2: warning: (near initialization for 'lookuptab[81].friendlyname') [-Wmissing-field-initializers]
readcpu.c:118:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:118:2: warning: (near initialization for 'lookuptab[84].friendlyname') [-Wmissing-field-initializers]
readcpu.c:119:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:119:2: warning: (near initialization for 'lookuptab[85].friendlyname') [-Wmissing-field-initializers]
readcpu.c:120:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:120:2: warning: (near initialization for 'lookuptab[86].friendlyname') [-Wmissing-field-initializers]
readcpu.c:121:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:121:2: warning: (near initialization for 'lookuptab[87].friendlyname') [-Wmissing-field-initializers]
readcpu.c:122:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:122:2: warning: (near initialization for 'lookuptab[88].friendlyname') [-Wmissing-field-initializers]
readcpu.c:123:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:123:2: warning: (near initialization for 'lookuptab[89].friendlyname') [-Wmissing-field-initializers]
readcpu.c:124:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:124:2: warning: (near initialization for 'lookuptab[90].friendlyname') [-Wmissing-field-initializers]
readcpu.c:125:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:125:2: warning: (near initialization for 'lookuptab[91].friendlyname') [-Wmissing-field-initializers]
readcpu.c:126:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:126:2: warning: (near initialization for 'lookuptab[92].friendlyname') [-Wmissing-field-initializers]
readcpu.c:127:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:127:2: warning: (near initialization for 'lookuptab[93].friendlyname') [-Wmissing-field-initializers]
readcpu.c:128:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:128:2: warning: (near initialization for 'lookuptab[94].friendlyname') [-Wmissing-field-initializers]
readcpu.c:129:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:129:2: warning: (near initialization for 'lookuptab[95].friendlyname') [-Wmissing-field-initializers]
readcpu.c:130:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:130:2: warning: (near initialization for 'lookuptab[96].friendlyname') [-Wmissing-field-initializers]
readcpu.c:131:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:131:2: warning: (near initialization for 'lookuptab[97].friendlyname') [-Wmissing-field-initializers]
readcpu.c:132:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:132:2: warning: (near initialization for 'lookuptab[98].friendlyname') [-Wmissing-field-initializers]
readcpu.c:133:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:133:2: warning: (near initialization for 'lookuptab[99].friendlyname') [-Wmissing-field-initializers]
readcpu.c:134:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:134:2: warning: (near initialization for 'lookuptab[100].friendlyname') [-Wmissing-field-initializers]
readcpu.c:135:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:135:2: warning: (near initialization for 'lookuptab[101].friendlyname') [-Wmissing-field-initializers]
readcpu.c:136:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:136:2: warning: (near initialization for 'lookuptab[102].friendlyname') [-Wmissing-field-initializers]
readcpu.c:137:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:137:2: warning: (near initialization for 'lookuptab[103].friendlyname') [-Wmissing-field-initializers]
readcpu.c:138:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:138:2: warning: (near initialization for 'lookuptab[104].friendlyname') [-Wmissing-field-initializers]
readcpu.c:139:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:139:2: warning: (near initialization for 'lookuptab[105].friendlyname') [-Wmissing-field-initializers]
readcpu.c:140:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:140:2: warning: (near initialization for 'lookuptab[106].friendlyname') [-Wmissing-field-initializers]
readcpu.c:141:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:141:2: warning: (near initialization for 'lookuptab[107].friendlyname') [-Wmissing-field-initializers]
readcpu.c:142:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:142:2: warning: (near initialization for 'lookuptab[108].friendlyname') [-Wmissing-field-initializers]
readcpu.c:143:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:143:2: warning: (near initialization for 'lookuptab[109].friendlyname') [-Wmissing-field-initializers]
readcpu.c:144:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:144:2: warning: (near initialization for 'lookuptab[110].friendlyname') [-Wmissing-field-initializers]
readcpu.c:145:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:145:2: warning: (near initialization for 'lookuptab[111].friendlyname') [-Wmissing-field-initializers]
readcpu.c:147:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:147:2: warning: (near initialization for 'lookuptab[112].friendlyname') [-Wmissing-field-initializers]
readcpu.c:148:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:148:2: warning: (near initialization for 'lookuptab[113].friendlyname') [-Wmissing-field-initializers]
readcpu.c:149:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:149:2: warning: (near initialization for 'lookuptab[114].friendlyname') [-Wmissing-field-initializers]
readcpu.c:150:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:150:2: warning: (near initialization for 'lookuptab[115].friendlyname') [-Wmissing-field-initializers]
readcpu.c:151:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:151:2: warning: (near initialization for 'lookuptab[116].friendlyname') [-Wmissing-field-initializers]
readcpu.c:152:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:152:2: warning: (near initialization for 'lookuptab[117].friendlyname') [-Wmissing-field-initializers]
readcpu.c:153:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:153:2: warning: (near initialization for 'lookuptab[118].friendlyname') [-Wmissing-field-initializers]
readcpu.c:155:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:155:2: warning: (near initialization for 'lookuptab[119].friendlyname') [-Wmissing-field-initializers]
readcpu.c:156:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:156:2: warning: (near initialization for 'lookuptab[120].friendlyname') [-Wmissing-field-initializers]
readcpu.c:157:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:157:2: warning: (near initialization for 'lookuptab[121].friendlyname') [-Wmissing-field-initializers]
readcpu.c:158:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:158:2: warning: (near initialization for 'lookuptab[122].friendlyname') [-Wmissing-field-initializers]
readcpu.c:159:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:159:2: warning: (near initialization for 'lookuptab[123].friendlyname') [-Wmissing-field-initializers]
readcpu.c:161:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:161:2: warning: (near initialization for 'lookuptab[124].friendlyname') [-Wmissing-field-initializers]
readcpu.c:162:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:162:2: warning: (near initialization for 'lookuptab[125].friendlyname') [-Wmissing-field-initializers]
readcpu.c:163:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:163:2: warning: (near initialization for 'lookuptab[126].friendlyname') [-Wmissing-field-initializers]
readcpu.c:164:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:164:2: warning: (near initialization for 'lookuptab[127].friendlyname') [-Wmissing-field-initializers]
readcpu.c:166:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:166:2: warning: (near initialization for 'lookuptab[128].friendlyname') [-Wmissing-field-initializers]
readcpu.c:167:2: warning: missing initializer [-Wmissing-field-initializers]
readcpu.c:167:2: warning: (near initialization for 'lookuptab[129].friendlyname') [-Wmissing-field-initializers]
readcpu.c: In function 'build_insn':
readcpu.c:736:4: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]
./build68k <./../table68k >cpudefs.c
gcc -I. -I./../include/ -I. -c  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wno-unused 
-D__inline__=inline    cpudefs.c -o cpudefs.o
gcc -I. -I./../include/ -I. -c  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wno-unused 
-D__inline__=inline    missing.c -o missing.o
missing.c: In function 'xmalloc':
missing.c:33:3: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' [-Wformat]
missing.c: In function 'xcalloc':
missing.c:43:3: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' [-Wformat]
missing.c: In function 'xfree':
missing.c:52:2: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [enabled by default]
In file included from missing.c:11:0:
/usr/include/stdlib.h:488:13: note: expected 'void *' but argument is of type 'const void *'
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro -o gencpu gencpu.o readcpu.o cpudefs.o missing.o writelog.o
make[2]: Leaving directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
./tools/gencpu 
make -C tools gencomp
make[2]: Entering directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
gcc -I. -I./../include/ -I. -c  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -W -Wno-unused 
-D__inline__=inline    gencomp.c -o gencomp.o
gencomp.c: In function 'main':
gencomp.c:3128:13: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
gencomp.c: In function 'read_counts':
gencomp.c:101:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
gencomp.c: In function 'generate_func':
gencomp.c:1500:15: warning: 'op' may be used uninitialized in this function [-Wmaybe-uninitialized]
gencomp.c:1491:12: note: 'op' was declared here
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro -o gencomp gencomp.o readcpu.o missing.o cpudefs.o writelog.o
make[2]: Leaving directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
./tools/gencomp
(CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/sh /home/doritos/Downloads/src/PUAE-build/missing --run autoheader)
rm -f stamp-h1
touch sysconfig.h.in
cd .. && /bin/sh ./config.status src/sysconfig.h
config.status: creating src/sysconfig.h
make  all-recursive
make[2]: Entering directory `/home/doritos/Downloads/src/PUAE-build/src'
Making all in tools
make[3]: Entering directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/doritos/Downloads/src/PUAE-build/src/tools'
Making all in md-amd64-gcc
make[3]: Entering directory `/home/doritos/Downloads/src/PUAE-build/src/md-amd64-gcc'
gcc -DHAVE_CONFIG_H -I. -I../../src  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -DCPUEMU_0 -DCPUEMU_11 -DCPUEMU_12 -DCPUEMU_20 -DCPUEMU_21 
-DCPUEMU_31 -DMMU -DFPUEMU -DAGA -DAUTOCONFIG -DFILESYS -DBSDSOCKET -DSUPPORT_THREADS -DUSE_SDL -DFDI2RAW -DDEBUGGER -DSAVESTATE -DENFORCER -DACTION_REPLAY 
-DXARCADE -DDRIVESOUND -D__x86_64__  -I../../src/include -I../../src -I../../src  -fomit-frame-pointer -ffast-math   -Wall -Wno-unused -Wno-format -W 
-Wmissing-prototypes -Wstrict-prototypes -DREGPARAM= -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 
-DUSE_GL   -std=c99 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT support.o -MD -MP -MF 
.deps/support.Tpo -c -o support.o support.c
In file included from ../../src/md-i386-gcc/support.c:13:0,
                 from support.c:10:
../../src/include/options.h:564:50: warning: 'struct zfile' declared inside parameter list [enabled by default]
../../src/include/options.h:564:50: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
In file included from ../../src/md-i386-gcc/support.c:17:0,
                 from support.c:10:
../../src/include/events.h:37:27: error: conflicting types for 'syncbase'
In file included from ../../src/md-i386-gcc/support.c:15:0,
                 from support.c:10:
../../src/machdep/rpt.h:35:22: note: previous declaration of 'syncbase' was here
In file included from support.c:10:0:
../../src/md-i386-gcc/support.c:37:14: warning: no previous prototype for 'linux_get_tsc_freq' [-Wmissing-prototypes]
In file included from support.c:10:0:
../../src/md-i386-gcc/support.c:274:6: warning: no previous prototype for 'machdep_save_options' [-Wmissing-prototypes]
../../src/md-i386-gcc/support.c: In function 'machdep_save_options':
../../src/md-i386-gcc/support.c:276:5: warning: implicit declaration of function 'cfgfile_write' [-Wimplicit-function-declaration]
../../src/md-i386-gcc/support.c: At top level:
../../src/md-i386-gcc/support.c:279:5: warning: no previous prototype for 'machdep_parse_option' [-Wmissing-prototypes]
../../src/md-i386-gcc/support.c: In function 'machdep_parse_option':
../../src/md-i386-gcc/support.c:281:5: warning: passing argument 4 of 'cfgfile_yesno' from incompatible pointer type [enabled by default]
In file included from ../../src/md-i386-gcc/support.c:13:0,
                 from support.c:10:
../../src/include/options.h:592:12: note: expected '_Bool *' but argument is of type 'int *'
In file included from support.c:10:0:
../../src/md-i386-gcc/support.c: At top level:
../../src/md-i386-gcc/support.c:284:6: warning: no previous prototype for 'machdep_default_options' [-Wmissing-prototypes]
make[3]: *** [support.o] Error 1
make[3]: Leaving directory `/home/doritos/Downloads/src/PUAE-build/src/md-amd64-gcc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/doritos/Downloads/src/PUAE-build/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/doritos/Downloads/src/PUAE-build/src'
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

I'm going to take a deep breath and go to bed. Anyone have any idea why a script custom tailored to installing P-UAE on Arch doesn't work?

How do I fix this in a way that doesn't involve learning the ins and outs of GCC? At this point I'm sure I'm cursed, since I can download source and compile it in my sleep on literally anything but linux.

Last edited by Doritos (2012-06-25 02:38:55)

Offline

#2 2012-06-25 02:04:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 20,086
Website

Re: p-uae and Arch

Please use code, not quote, tags for pasting code: https://wiki.archlinux.org/index.php/Fo … s_and_Code
it makes it much easier to scroll and read the output...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Online

#3 2012-06-25 02:33:03

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 14,776
Website

Re: p-uae and Arch

There was only one error:

../../src/include/events.h:37:27: error: conflicting types for 'syncbase'

This looks to be an upstream error.  Report it upstream, or check out line 37 of events.h yourself and fix the type.

While the laundry list of warnings is discouraging, it does seem the upstream git is being actively maintained (activity within the past month).  So you may have good luck reporting this there.

Last edited by Trilby (2012-06-25 02:38:02)


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#4 2012-06-25 02:49:06

Doritos
Member
Registered: 2012-06-25
Posts: 4

Re: p-uae and Arch

I shot the developer an email. I'm not going to try and fix that file, It's beyond me.

Offline

#5 2012-06-25 03:35:47

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 6,888

Re: p-uae and Arch

Doritos wrote:

After using Linux since 2004, I've still never got anything to compile.

I sure hope that's hyperbole.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2012-06-25 12:48:24

Doritos
Member
Registered: 2012-06-25
Posts: 4

Re: p-uae and Arch

I did get a hello world to once, but I don't think it counts if I typed it in myself.

E:

The dev got back to me, he's made several changes. Nothing works.

Linux.

Last edited by Doritos (2012-06-25 15:07:19)

Offline

Board footer

Powered by FluxBB