FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor


 
 
LinkBack Thread Tools
 
Old 06-06-2010, 02:38 PM
Lukáš Jirkovský
 
Default REG_RIP undeclared

Hello everyone,
recently I've a problem building rawstudio-svn on x86_64.
Unfortunately it seems that the problem doesn't lie in the rawstudio
itself, because I'm not able to build any older revision which I was
able to build before.

The error is:
application.c: In function ‘segfault_sigaction’:
application.c:599:56: error: ‘REG_RIP’ undeclared (first use in this function)
application.c:599:56: note: each undeclared identifier is reported
only once for each function it appears in
application.c:617:44: error: ‘REG_RAX’ undeclared (first use in this function)
application.c:619:30: error: ‘REG_RBX’ undeclared (first use in this function)
application.c:621:30: error: ‘REG_RCX’ undeclared (first use in this function)
application.c:623:30: error: ‘REG_RDX’ undeclared (first use in this function)
application.c:625:30: error: ‘REG_RSI’ undeclared (first use in this function)
application.c:627:30: error: ‘REG_RDI’ undeclared (first use in this function)
application.c:629:30: error: ‘REG_R8’ undeclared (first use in this function)
application.c:631:30: error: ‘REG_R9’ undeclared (first use in this function)
application.c:633:30: error: ‘REG_R10’ undeclared (first use in this function)
application.c:635:30: error: ‘REG_R11’ undeclared (first use in this function)
application.c:637:30: error: ‘REG_R12’ undeclared (first use in this function)
application.c:639:30: error: ‘REG_R13’ undeclared (first use in this function)
application.c:641:30: error: ‘REG_R14’ undeclared (first use in this function)
application.c:643:30: error: ‘REG_R15’ undeclared (first use in this function)
application.c:645:30: error: ‘REG_RSP’ undeclared (first use in this function)

I did a grep on /usr/include and /usr/lib but nothing defines any of
these. My guess is that the problem may be caused by a new gcc. I
should note I already searched on google but without any success (most
results were saying that instead of REG_EIP, REG_EAX and others the
REG_RIP etc. should be used on 64bit systems).

What do you think where is the source of the problem?

Regards,
Lukas
 

Thread Tools




All times are GMT. The time now is 08:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org