_FORTIFY_SOURCE used in ubuntu (but not in debian) somehow breaks parsegen. natty is also not affected.
the simple fix would be to just disable the fortification for the 3 files it compiles.
cfg.c:600:7: sorry, unimplemented: called from here
/usr/include/bits/stdio2.h:96:1: sorry, unimplemented: inlining failed in call to 'fprintf': indirect function call with a yet undetermined callee
_FORTIFY_SOURCE used in ubuntu (but not in debian) somehow breaks parsegen. natty is also not affected.
the simple fix would be to just disable the fortification for the 3 files it compiles.
cfg.c:600:7: sorry, unimplemented: called from here bits/stdio2. h:96:1: sorry, unimplemented: inlining failed in call to 'fprintf': indirect function call with a yet undetermined callee
/usr/include/
--- zsnes-1. 510+bz2. orig/src/ Makefile. in 2011-08-06 00:11:41.000000000 +0200 510+bz2/ src/Makefile. in 2011-08-06 00:15:24.299201891 +0200 SOURCE= 0" -cheader $*.h -fname $* $*.o $<
+++ zsnes-1.
@@ -95,7 +95,7 @@
%.o: %.cpp
@CXX@ @CXXFLAGS@ -o $@ -c $<
%.o %.h: %.psr $(PSR)
- ./$(PSR) @PSRFLAGS@ -gcc @CC@ -compile -flags "@CFLAGS@ -O1" -cheader $*.h -fname $* $*.o $<
+ ./$(PSR) @PSRFLAGS@ -gcc @CC@ -compile -flags "@CFLAGS@ -O1 -D_FORTIFY_
default: main
all: main tools