Subject: Re: pkg/36778 (sysutils/strace fails to build on linux)
To: None <gnats-bugs@NetBSD.org>
From: Yakovetsky Vladimir <yx@x.ua>
List: pkgsrc-bugs
Date: 12/06/2007 17:49:25
 URLs for first two original fixes:

>  1st failure (net.c sockpacketoptions):
>  ...
>  if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/i386 -I./linux/i386 -Ilinux -I./linux    -Wall -O2 -march=native -mfpmath=sse -msse -finline-functions -fomit-frame-pointer -ffast-math -MT net.o -MD -MP -MF ".deps/net.Tpo" -c -o net.o net.c;  then mv -f ".deps/net.Tpo" ".deps/net.Po"; else rm -f ".deps/net.Tpo"; exit 1; fi
>  net.c:809: error: 'PACKET_ADD_MEMBERSHIP' undeclared here (not in a function)
>  net.c:810: error: 'PACKET_DROP_MEMBERSHIP' undeclared here (not in a function)
>  
   fix: http://strace.cvs.sourceforge.net/strace/strace/net.c?r1=1.55&r2=1.56


>  2nd failure (probably `configure' with `linux-libc-dev' issue):
>  ...
>  checking for linux/if_packet.h... no
>  ...
>  if gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/i386 -I./linux/i386 -Ilinux -I./linux    -Wall -O2 -march=native -mfpmath=sse -msse -finline-functions -fomit-frame-pointer -ffast-math -MT net.o -MD -MP -MF ".deps/net.Tpo" -c -o net.o net.c;  then mv -f ".deps/net.Tpo" ".deps/net.Po"; else rm -f ".deps/net.Tpo"; exit 1; fi
>  net.c: In function 'printsock':
>  net.c:964: error: field 'll' has incomplete type
>  net.c:967: error: field 'nl' has incomplete type
>  
   fix: http://strace.cvs.sourceforge.net/strace/strace/configure.ac?r1=1.49&r2=1.50



Kind Regards,

-- 
Yakovetsky Vladimir