loc2c.h make error

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

loc2c.h make error

Michael Dolan-2
I get this error trying to compile systemtap.... any ideas? Configure goes through fine...


loc2c.Tpo"; exit 1; fi
In file included from tapsets.cxx:33:
loc2c.h:21: error: parse error before `__attribute__'
loc2c.h: In function `location* c_translate_location(...)':
loc2c.h:64: error: parse error before `__attribute__'
loc2c.h: In function `void c_translate_fetch(...)':
loc2c.h:72: error: parse error before `__attribute__'
In file included from tapsets.cxx:36:
/usr/include/inttypes.h: In function `void c_translate_store(...)':
/usr/include/inttypes.h:302: error: non-local function `
   c_translate_store(...)::imaxdiv_t imaxdiv(long long int, long long int)'
   uses local type `c_translate_store(...)::imaxdiv_t'
tapsets.cxx:102: confused by earlier errors, bailing out
make[1]: *** [stap-tapsets.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory
`/var/tmp/portage/*systemtap*-0.0.1_pre20051217/work/sr                  
    c'
make: *** [all] Error 2

!!! ERROR: sys-kernel/*systemtap*-0.0.1_pre20051217 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status
message.

Reply | Threaded
Open this post in threaded view
|

Re: loc2c.h make error

Roland McGrath
Please check that your source is intact.  If possible, get the newest
source from CVS.  If the problem appears in a fresh build, then we need
some more info on the compiler et al on your system.


Thanks,
Roland