Hi,
I was trying to build mame (an rpmfusion package) with gcc-4.7. I have
managed to get it to build, but it fails at the linking stage:
obj/sdl/libocore.a(sdlsocket.o): In function `operator new(unsigned long)':
/builddir/build/BUILD/mame-0.144u5/src/emu/emualloc.h:114: undefined
reference to `malloc_file_line(unsigned long, char const*, int)'
obj/sdl/libocore.a(sdlsocket.o): In function `operator delete(void*)':
/builddir/build/BUILD/mame-0.144u5/src/emu/emualloc.h:131: undefined
reference to `free_file_line(void*, char const*, int)'
collect2: error: ld returned 1 exit status
The same code builds with gcc-4.6 just fine. Were there any changes in
that regard?
The source RPM can be downloaded here:
https://share.ols.inode.at/HA19LXBVKCKBMUFIVMLO7TRLY6SYZR6G36PN41IN
Full build log:
http://belegdol.fedorapeople.org/build.log
Thank you for help in advance.
Regards,
Julian