Subject: Another libpcap problem, this time with port-sparc
To: None <current-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 09/27/2004 23:15:03
The most recent commit fixed my i386 errors, but crosscompiling from
i386 to port-sparc, I got this error:
dependall ===> lib/libpcap
# compile libpcap/gencode.ln
CC=/usr/cross/bin/sparc--netbsdelf-gcc /usr/cross/bin/sparc--netbsdelf-lint -chapbxzF -d /usr/src/obj.sparc/destdir.sparc/usr/include -I. -I/usr/src/lib/libpcap -I/usr/src/sys/dist/pf -DYYBISON -DINET6 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_NETINET_IF_ETHER_H -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IFADDRS_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SNPRINTF=1 -DHAVE_STRLCPY=1 -DHAVE_VSNPRINTF=1 -i /usr/src/lib/libpcap/gencode.c
/usr/src/lib/libpcap/gencode.c(125): warning: expression has null effect [129]
/usr/src/lib/libpcap/gencode.c(128): warning: conversion to 'unsigned long' due to prototype, arg #2 [259]
/usr/src/lib/libpcap/gencode.c(223): type does not match prototype: n [58]
/usr/src/lib/libpcap/gencode.c(246): warning: conversion from 'unsigned long' may lose accuracy [132]
/usr/src/lib/libpcap/gencode.c(250): warning: conversion from 'unsigned long' may lose accuracy [132]
/usr/src/lib/libpcap/gencode.c(275): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(275): warning: conversion from 'unsigned long' may lose accuracy, arg #1 [298]
/usr/src/lib/libpcap/gencode.c(287): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(300): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(348): warning: conversion to 'unsigned long' due to prototype, arg #2 [259]
/usr/src/lib/libpcap/gencode.c(375): warning: conversion to 'unsigned long' due to prototype, arg #2 [259]
/usr/src/lib/libpcap/gencode.c(1691): warning: bitwise operation on signed value possibly nonportable [117]
/usr/src/lib/libpcap/gencode.c(1691): warning: bitwise operation on signed value possibly nonportable [117]
/usr/src/lib/libpcap/gencode.c(1692): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(1703): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(1707): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(2053): warning: pointer casts may be troublesome [247]
/usr/src/lib/libpcap/gencode.c(2054): warning: pointer casts may be troublesome [247]
/usr/src/lib/libpcap/gencode.c(4329): warning: conversion to 'unsigned long' due to prototype, arg #3 [259]
/usr/src/lib/libpcap/gencode.c(4335): warning: pointer casts may be troublesome [247]
/usr/src/lib/libpcap/gencode.c(4336): warning: pointer casts may be troublesome [247]
/usr/src/lib/libpcap/gencode.c(4600): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(4620): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(5117): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(5138): warning: conversion from 'unsigned long' may lose accuracy [132]
/usr/src/lib/libpcap/gencode.c(5149): warning: conversion to 'unsigned int' due to prototype, arg #2 [259]
/usr/src/lib/libpcap/gencode.c(5149): warning: conversion from 'unsigned long' may lose accuracy, arg #2 [298]
/usr/src/lib/libpcap/gencode.c(5169): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(5169): warning: conversion from 'unsigned long' may lose accuracy, arg #1 [298]
/usr/src/lib/libpcap/gencode.c(5169): warning: conversion to 'unsigned int' due to prototype, arg #2 [259]
/usr/src/lib/libpcap/gencode.c(5169): warning: conversion from 'unsigned long' may lose accuracy, arg #2 [298]
/usr/src/lib/libpcap/gencode.c(5181): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(5202): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(5214): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(5231): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(109): warning: static variable orig_nl_nosnap set but not used [307]
*** Failed target: gencode.ln
*** Failed command: CC=/usr/cross/bin/sparc--netbsdelf-gcc /usr/cross/bin/sparc--netbsdelf-lint -chapbxzF -d /usr/src/obj.sparc/destdir.sparc/usr/include -I. -I/usr/src/lib/libpcap -I/usr/src/sys/dist/pf -DYYBISON -DINET6 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_NETINET_IF_ETHER_H -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IFADDRS_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SNPRINTF=1 -DHAVE_STRLCPY=1 -DHAVE_VSNPRINTF=1 -i /usr/src/lib/libpcap/gencode.c
*** Error code 1
Stop.
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte