Re: Strace on recent LFS (dev) build

2010-01-08 Thread Ken Moffat
2010/1/2 Bruce Dubbs : > I would think that > > sed -i -e "s;linux/socket;sys/socket;" configure.ac > autoreconf > > would do it for now.  Alternatively, wait for the next release. > >   -- Bruce In fact, doing something similar to configure itself (which avoids autofoo) is good enough for us. ĸe

Re: Strace on recent LFS (dev) build

2010-01-03 Thread Richard Melville
Ken Moffat wrote:- Yes, that's the one. Not sure what was wrong in the link - ah > I only pasted the part that was visible in the address bar > > http://strace.git.sourceforge.net/git/gitweb.cgi > p=strace/strace;a=commit;h=f0df31e71a58c6e79ba77c1a9d84b2f38d44bec7

Re: Strace on recent LFS (dev) build

2010-01-02 Thread Bruce Dubbs
Ken Moffat wrote: > 2010/1/2 Bruce Dubbs : >> Ken Moffat wrote: >> >>> http://strace.git.sourceforge.net/git/gitweb.cgip=strace/strace;a=commitdiff_plain;h=f0df31e >> The link didn't work for me. >> >> Is this it? >> >> projects / strace/strace / blobdiff >> >> --- a/configure.ac >> +++ b/configure

Re: Strace on recent LFS (dev) build

2010-01-02 Thread Ken Moffat
2010/1/2 Bruce Dubbs : > Ken Moffat wrote: > >> http://strace.git.sourceforge.net/git/gitweb.cgip=strace/strace;a=commitdiff_plain;h=f0df31e > > The link didn't work for me. > > Is this it? > > projects / strace/strace / blobdiff > > --- a/configure.ac > +++ b/configure.ac > @@ -258,7 +258,7 @@ AC_

Re: Strace on recent LFS (dev) build

2010-01-01 Thread Bruce Dubbs
Ken Moffat wrote: > http://strace.git.sourceforge.net/git/gitweb.cgip=strace/strace;a=commitdiff_plain;h=f0df31e The link didn't work for me. Is this it? projects / strace/strace / blobdiff --- a/configure.ac +++ b/configure.ac @@ -258,7 +258,7 @@ AC_CHECK_HEADERS([ \ ], [], []) AC_CHECK_H

Re: Strace on recent LFS (dev) build

2010-01-01 Thread Ken Moffat
2009/12/31 linux fan : > On 12/31/09, Bruce Dubbs wrote: >> I hope you don't update the headers when you replace the kernel.  That >> is asking for trouble.  Only replace the headers if you are rebuilding >> glibc -- and that probably means all of LFS. > > Right! > > But, anyone building lfs dev wi

Re: Strace on recent LFS (dev) build

2009-12-31 Thread linux fan
On 12/31/09, Bruce Dubbs wrote: > I hope you don't update the headers when you replace the kernel. That > is asking for trouble. Only replace the headers if you are rebuilding > glibc -- and that probably means all of LFS. Right! But, anyone building lfs dev with the 2.6.32 series is going to h

Re: Strace on recent LFS (dev) build

2009-12-31 Thread Bruce Dubbs
linux fan wrote: > On 12/28/09, linux fan wrote: >> On 12/28/09, linux fan wrote: >> >>> I compiled strace-4.5.18 on a very recent dev lfs build with 2.6.32.2 >>> and no problem. >>> >> DOH, but I used linux-headers 2.6.31.6. >> It was SVN-20091124 and then I upgraded kernel to 2.6.32.2. >> > > I

Re: Strace on recent LFS (dev) build

2009-12-31 Thread linux fan
On 12/28/09, linux fan wrote: > On 12/28/09, linux fan wrote: > >> I compiled strace-4.5.18 on a very recent dev lfs build with 2.6.32.2 >> and no problem. >> > DOH, but I used linux-headers 2.6.31.6. > It was SVN-20091124 and then I upgraded kernel to 2.6.32.2. > It seems the situation is known,

Re: Strace on recent LFS (dev) build

2009-12-28 Thread linux fan
On 12/28/09, linux fan wrote: > I compiled strace-4.5.18 on a very recent dev lfs build with 2.6.32.2 > and no problem. > DOH, but I used linux-headers 2.6.31.6. It was SVN-20091124 and then I upgraded kernel to 2.6.32.2. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://ww

Re: Strace on recent LFS (dev) build

2009-12-28 Thread linux fan
On 12/27/09, Matthew Burgess wrote: > Hi all, > > Trying to compile strace under a very recent LFS build (2.6.32.2 kernel) > results in: > > net.c:976: error: field 'nl' has incomplete type I compiled strace-4.5.18 on a very recent dev lfs build with 2.6.32.2 and no problem. -- http://linuxfromsc

Re: Strace on recent LFS (dev) build

2009-12-27 Thread Matthew Burgess
Matthew Burgess wrote: > Any ideas as to what's gone awry here would be much appreciated. Doing a bit more hunting around, I think http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=9c501935a3cdcf6b1d35aaee3aa11c7a7051a305 may be related. Changing the linux/socket

Strace on recent LFS (dev) build

2009-12-27 Thread Matthew Burgess
Hi all, Trying to compile strace under a very recent LFS build (2.6.32.2 kernel) results in: net.c:976: error: field 'nl' has incomplete type 'nl' in this case is of type sockaddr_nl, which should be defined in /usr/include/linux/netlink.h. config.log has this to say: configure:5882: gcc -c