I have gcc (SUSE Linux) 4.7.2 20130108. pkg/build/libgap-4.5.7.p2/src/src/string.h doesn't include anything other than <string.h> for memcpy. It doesn't include pkg/build/libgap-4.5.7.p2/src/src/objects.h, where libGAP_LAST_REAL_TNUM is defined.
On Friday, May 31, 2013 4:05:06 AM UTC-7, Volker Braun wrote: > > Thats a normal #define in object.h. It seems like your toolchain is > broken. > > Does it work if you compile sage with "SAGE_INSTALL_GCC=yes make" > > > On Friday, May 31, 2013 8:18:12 AM UTC+1, Sancho McCann wrote: >> >> I'm building sage 5.9 on OpenSuSE 12.3 (x86_64). >> >> I get: >> >> Error building Sage. >> >> The following package(s) may have failed to build: >> >> package: libgap-4.5.7.p2 >> log file: /tmp/sage-5.9/logs/pkgs/libgap-4.5.7.p2.log >> build directory: /tmp/sage-5.9/spkg/build/libgap-4.5.7.p2 >> >> The only error displayed in the log file is this: >> >> In file included from system.c:45:0: >> ./string.h:213:56: error: 'libGAP_LAST_REAL_TNUM' undeclared here (not in >> a function) >> >> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.