public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* elfutils 0.128 build error
@ 2007-06-29 18:29 grundy
  2007-06-29 18:47 ` grundy
  2007-06-29 19:35 ` Roland McGrath
  0 siblings, 2 replies; 5+ messages in thread
From: grundy @ 2007-06-29 18:29 UTC (permalink / raw)
  To: systemtap

I ran into this with the new elfutils during systemtap build:

In file included from
../../../elfutils-0.128/libdwfl/linux-kernel-modules.c:63:
/usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with
-D_FILE_OFFSET_BITS==64"

I'm running Ubuntu Feisty on a 2 way x86, gcc version 4.1.2
I also hit the problem on OpenSUSE. The #undef of _FILE_OFFSET_BITS is
still there.

Thanks
Mike

=========================================
Michael Grundy - grundym@us.ibm.com
Advanced Linux Response Team (ALRT)
http://ltc.linux.ibm.com/teamweb/alrt/
845-435-8842 (T/L 295)

Money and widgets need managers, people need leaders.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elfutils 0.128 build error
  2007-06-29 18:29 elfutils 0.128 build error grundy
@ 2007-06-29 18:47 ` grundy
  2007-06-29 19:35 ` Roland McGrath
  1 sibling, 0 replies; 5+ messages in thread
From: grundy @ 2007-06-29 18:47 UTC (permalink / raw)
  To: systemtap

On Fri, Jun 29, 2007 at 02:29:19PM -0400, Michael Grundy wrote:
> ../../../elfutils-0.128/libdwfl/linux-kernel-modules.c:63:
> /usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with
> -D_FILE_OFFSET_BITS==64"
So, after reading fts.h (and paying attention this time), I added a
#undef __USE_FILE_OFFSET64
to linux-kernel-module.c in elfutils.

Thanks
Mike

=========================================
Michael Grundy - grundym@us.ibm.com
Advanced Linux Response Team (ALRT)
http://ltc.linux.ibm.com/teamweb/alrt/
845-435-8842 (T/L 295)

Money and widgets need managers, people need leaders.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elfutils 0.128 build error
  2007-06-29 18:29 elfutils 0.128 build error grundy
  2007-06-29 18:47 ` grundy
@ 2007-06-29 19:35 ` Roland McGrath
  2007-07-18  5:39   ` Mike Mason
  1 sibling, 1 reply; 5+ messages in thread
From: Roland McGrath @ 2007-06-29 19:35 UTC (permalink / raw)
  To: grundy; +Cc: systemtap

It needs this trivial fix.

sed -i /ifndef/s/PACKAGE/PACKAGE_NAME/ libdwfl/libdwflP.h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elfutils 0.128 build error
  2007-06-29 19:35 ` Roland McGrath
@ 2007-07-18  5:39   ` Mike Mason
  2007-07-18 13:22     ` Roland McGrath
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Mason @ 2007-07-18  5:39 UTC (permalink / raw)
  To: Roland McGrath; +Cc: grundy, systemtap

When will elfutils be updated so we don't have to apply this fix?

Mike

Roland McGrath wrote:
> It needs this trivial fix.
> 
> sed -i /ifndef/s/PACKAGE/PACKAGE_NAME/ libdwfl/libdwflP.h

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: elfutils 0.128 build error
  2007-07-18  5:39   ` Mike Mason
@ 2007-07-18 13:22     ` Roland McGrath
  0 siblings, 0 replies; 5+ messages in thread
From: Roland McGrath @ 2007-07-18 13:22 UTC (permalink / raw)
  To: Mike Mason; +Cc: grundy, systemtap

> When will elfutils be updated so we don't have to apply this fix?

There will probably be another release in the next couple of weeks.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-07-18  5:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-29 18:29 elfutils 0.128 build error grundy
2007-06-29 18:47 ` grundy
2007-06-29 19:35 ` Roland McGrath
2007-07-18  5:39   ` Mike Mason
2007-07-18 13:22     ` Roland McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).