|
From: RCY <re...@ya...> - 2013-07-13 17:13:37
|
When I try to compile the svn version on , I get the error: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVGPV_x86_linux_vanilla=1 -I../coregrind -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -DVG_PLATFORM="\"x86-linux\"" -m32 -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -DENABLE_LINUX_TICKET_LOCK -Wno-long-long -Wwrite-strings -fno-stack-protector -MT libcoregrind_x86_linux_a-readstabs.o -MD -MP -MF .deps/libcoregrind_x86_linux_a-readstabs.Tpo -c -o libcoregrind_x86_linux_a-readstabs.o `test -f 'm_debuginfo/readstabs.c' || echo './'`m_debuginfo/readstabs.c m_debuginfo/readstabs.c:57:39: fatal error: a.out.h: No such file or directory compilation terminated. make[3]: *** [libcoregrind_x86_linux_a-readstabs.o] Error 1 make[3]: Leaving directory `/home/rc/Downloads/valgrind/coregrind' Any suggestions to fix the error are appreciated. uname -a: Linux Asus1 3.8.0-19-generic #30-Ubuntu SMP Wed May 1 16:35:23 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
|
From: Christoph S. <chr...@gm...> - 2013-07-13 17:40:52
|
On 13/07/2013 10:13 AM, RCY wrote: > When I try to compile the svn version on , I get the error: > [...] > m_debuginfo/readstabs.c:57:39: fatal error: a.out.h: No such file or directory > compilation terminated. > make[3]: *** [libcoregrind_x86_linux_a-readstabs.o] Error 1 > make[3]: Leaving directory `/home/rc/Downloads/valgrind/coregrind' > > > Any suggestions to fix the error are appreciated. I had the same problem with Debian Wheezy. My workaround was: cd /usr/include ln -s linux/a.out.h . (provided that /usr/include/linux/a.out.h is present) Apparently new Debian release changed the location of a.out.h, which should be determined by configure. As Ubuntu builds on Debian there is a chance that it is the same problem. cheers, Chris |
|
From: RCY <re...@ya...> - 2013-07-13 19:48:53
|
On Sat, Jul 13, 2013 at 1:40 PM, Christoph Schwarz <chr...@gm...> wrote: > On 13/07/2013 10:13 AM, RCY wrote: >> When I try to compile the svn version on , I get the error: >> > [...] >> m_debuginfo/readstabs.c:57:39: fatal error: a.out.h: No such file or directory >> compilation terminated. >> make[3]: *** [libcoregrind_x86_linux_a-readstabs.o] Error 1 >> make[3]: Leaving directory `/home/rc/Downloads/valgrind/coregrind' >> >> >> Any suggestions to fix the error are appreciated. > > I had the same problem with Debian Wheezy. My workaround was: > cd /usr/include > ln -s linux/a.out.h . > > (provided that /usr/include/linux/a.out.h is present) > > Apparently new Debian release changed the location of a.out.h, which > should be determined by configure. > > As Ubuntu builds on Debian there is a chance that it is the same problem. > > cheers, > Chris > Thanks, I included the full path to a.out.h in readstabs.C and the compilation completed successfully. |