pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/36778 (sysutils/strace fails to build on linux)
The following reply was made to PR pkg/36778; it has been noted by GNATS.
From: Yakovetsky Vladimir <yx%x.ua@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: christos%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/36778 (sysutils/strace fails to build on linux)
Date: Thu, 6 Dec 2007 17:49:25 +0200
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
Home |
Main Index |
Thread Index |
Old Index