ports/163084: bsnmptools fails to build
Eric Griff
setjmp at hotmail.com
Mon Dec 5 18:40:12 UTC 2011
The following reply was made to PR ports/163084; it has been noted by GNATS.
From: Eric Griff <setjmp at hotmail.com>
To: <bug-followup at FreeBSD.org>,
<setjmp at hotmail.com>
Cc:
Subject: Re: ports/163084: bsnmptools fails to build
Date: Mon, 5 Dec 2011 12:18:15 -0600
------=_NextPart_000_011D_01CCB347.F701EC10
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_011E_01CCB347.F701EC10"
------=_NextPart_001_011E_01CCB347.F701EC10
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
I was able to get it to build with:
make CFLAGS=3D'-O2 -fno-strict-aliasing -pipe -march=3Dnocona -I =
/usr/ports/net-mgmt/bsnmptools/work/bsnmptools/lib/ -L =
/usr/ports/net-mgmt/bsnmptools/work/bsnmptools/lib/'
I haven=E2=80=99t tested it=E2=80=99s actual workings yet, though this =
may be the trail to it=E2=80=99s fix=20
-----------WAS BEFORE THE ABOVE ----------
There may be deeper issues... Looks like an include file missing though
I attempted to use:
make =E2=80=93DNO_WERROR
and it did get further to:
make -DNO_WERROR
=3D=3D=3D> Building for bsnmptools-0.0.20060818_2
=3D=3D=3D> lib (all)
Warning: Object directory not changed from original =
/usr/ports/net-mgmt/bsnmptools/work/bsnmptools/lib
cc -O2 -fno-strict-aliasing -pipe -march=3Dnocona -std=3Dgnu99 =
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W =
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch =
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline =
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c bsnmptools.c
bsnmptools.c: In function 'parse_include':
bsnmptools.c:399: warning: 'value' may be used uninitialized in this =
function
cc -O2 -fno-strict-aliasing -pipe -march=3Dnocona -std=3Dgnu99 =
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W =
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch =
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline =
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c bsnmptc.c
building static bsnmptools library
ranlib libbsnmptools.a
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=3Dnocona =
-std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W =
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch =
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline =
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c bsnmpimport.c -o =
bsnmpimport.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=3Dnocona =
-std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W =
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch =
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline =
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c bsnmpmap.c -o =
bsnmpmap.So
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=3Dnocona =
-std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W =
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch =
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline =
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c bsnmptools.c -o =
bsnmptools.So
bsnmptools.c: In function 'parse_include':
bsnmptools.c:399: warning: 'value' may be used uninitialized in this =
function
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=3Dnocona =
-std=3Dgnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W =
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch =
-Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline =
-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c bsnmptc.c -o =
bsnmptc.So
building shared library libbsnmptools.so.0
=3D=3D=3D> tools (all)
=3D=3D=3D> tools/bsnmpget (all)
Warning: Object directory not changed from original =
/usr/ports/net-mgmt/bsnmptools/work/bsnmptools/tools/bsnmpget
cc -O2 -fno-strict-aliasing -pipe -march=3Dnocona -std=3Dgnu99 =
-fstack-protector -c bsnmpget.c
bsnmpget.c:47:21: error: bsnmptc.h: No such file or directory
bsnmpget.c:48:24: error: bsnmptools.h: No such file or directory
bsnmpget.c: In function 'parse_max_repetitions':
bsnmpget.c:122: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c: In function 'parse_non_repeaters':
bsnmpget.c:142: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c: In function 'parse_pdu_type':
bsnmpget.c:155: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c:157: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c:159: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c: In function 'snmpget_parse_options':
bsnmpget.c:176: warning: implicit declaration of function =
'parse_skip_access'
bsnmpget.c:181: warning: implicit declaration of function 'parse_buflen'
bsnmpget.c:186: warning: implicit declaration of function 'parse_debug'
bsnmpget.c:191: warning: implicit declaration of function 'parse_errors'
bsnmpget.c:196: warning: implicit declaration of function 'parse_help'
bsnmpget.c:200: warning: implicit declaration of function =
'parse_include'
bsnmpget.c:205: warning: implicit declaration of function 'parse_file'
bsnmpget.c:210: warning: implicit declaration of function =
'parse_local_path'
bsnmpget.c:225: warning: implicit declaration of function =
'parse_num_oids'
bsnmpget.c:230: warning: implicit declaration of function 'parse_output'
bsnmpget.c:240: warning: implicit declaration of function 'parse_retry'
bsnmpget.c:245: warning: implicit declaration of function 'parse_server'
bsnmpget.c:250: warning: implicit declaration of function =
'parse_timeout'
bsnmpget.c:255: warning: implicit declaration of function =
'parse_version'
bsnmpget.c: At top level:
bsnmpget.c:275: warning: 'struct snmp_object' declared inside parameter =
list
bsnmpget.c:275: warning: its scope is only this definition or =
declaration, which is probably not what you want
bsnmpget.c: In function 'snmpget_parse_stroid':
bsnmpget.c:277: error: 'MAXSTR' undeclared (first use in this function)
bsnmpget.c:277: error: (Each undeclared identifier is reported only once
bsnmpget.c:277: error: for each function it appears in.)
bsnmpget.c:292: warning: implicit declaration of function =
'snmp_parse_suboid'
bsnmpget.c:292: warning: assignment makes pointer from integer without a =
cast
bsnmpget.c:300: warning: implicit declaration of function =
'snmp_lookup_oidall'
bsnmpget.c:306: error: dereferencing pointer to incomplete type
bsnmpget.c:308: warning: implicit declaration of function =
'snmp_parse_index'
bsnmpget.c:308: warning: assignment makes pointer from integer without a =
cast
bsnmpget.c:310: error: dereferencing pointer to incomplete type
bsnmpget.c:310: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c:311: warning: implicit declaration of function =
'snmp_suboid_append'
bsnmpget.c:311: error: dereferencing pointer to incomplete type
bsnmpget.c: At top level:
bsnmpget.c:323: warning: 'struct snmp_object' declared inside parameter =
list
bsnmpget.c: In function 'snmpget_parse_oid':
bsnmpget.c:328: error: 'ISSET_NUMERIC' undeclared (first use in this =
function)
bsnmpget.c:329: warning: implicit declaration of function =
'snmp_parse_numoid'
bsnmpget.c:329: error: dereferencing pointer to incomplete type
bsnmpget.c:332: warning: passing argument 1 of 'snmpget_parse_stroid' =
from incompatible pointer type
bsnmpget.c: At top level:
bsnmpget.c:339: warning: 'struct snmp_object' declared inside parameter =
list
bsnmpget.c: In function 'snmpget_verify_vbind':
bsnmpget.c:341: error: dereferencing pointer to incomplete type
bsnmpget.c:346: error: 'ISSET_NUMERIC' undeclared (first use in this =
function)
bsnmpget.c:349: error: dereferencing pointer to incomplete type
bsnmpget.c: At top level:
bsnmpget.c:357: warning: 'struct snmp_object' declared inside parameter =
list
bsnmpget.c: In function 'snmpget_add_vbind':
bsnmpget.c:364: error: dereferencing pointer to incomplete type
bsnmpget.c:369: error: dereferencing pointer to incomplete type
bsnmpget.c: In function 'main':
bsnmpget.c:408: warning: implicit declaration of function =
'snmptool_init'
bsnmpget.c:411: warning: implicit declaration of function =
'snmp_tool_freeall'
bsnmpget.c:428: warning: implicit declaration of function =
'snmp_import_all'
bsnmpget.c:434: warning: implicit declaration of function =
'snmp_object_add'
bsnmpget.c:434: error: 'snmp_verify_inoid_f' undeclared (first use in =
this function)
bsnmpget.c:434: error: expected ')' before 'snmpget_parse_oid'
bsnmpget.c:445: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c:457: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c:459: warning: implicit declaration of function =
'snmp_pdu_add_bindings'
bsnmpget.c:459: error: 'snmp_verify_vbind_f' undeclared (first use in =
this function)
bsnmpget.c:459: error: expected ')' before 'snmpget_verify_vbind'
bsnmpget.c:461: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c:462: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c:462: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c:469: warning: implicit declaration of function =
'snmp_parse_resp'
bsnmpget.c:470: warning: implicit declaration of function =
'snmp_output_resp'
bsnmpget.c:474: warning: implicit declaration of function =
'snmp_output_err_resp'
bsnmpget.c:475: error: invalid use of undefined type 'struct =
snmp_toolinfo'
bsnmpget.c:475: error: 'ISSET_RETRY' undeclared (first use in this =
function)
bsnmpget.c:479: warning: implicit declaration of function =
'snmp_object_seterror'
bsnmpget.c:484: error: invalid use of undefined type 'struct =
snmp_toolinfo'
*** Error code 1
Stop in /usr/ports/net-mgmt/bsnmptools/work/bsnmptools/tools/bsnmpget.
*** Error code 1
Stop in /usr/ports/net-mgmt/bsnmptools/work/bsnmptools/tools.
*** Error code 1
Stop in /usr/ports/net-mgmt/bsnmptools/work/bsnmptools.
*** Error code 1
Stop in /usr/ports/net-mgmt/bsnmptools.
------=_NextPart_001_011E_01CCB347.F701EC10
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<HTML><HEAD></HEAD>
<BODY dir=3Dltr>
<DIV dir=3Dltr>
<DIV style=3D"FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>I was able to get it to build with:</DIV>
<DIV> </DIV>
<DIV>make CFLAGS=3D'-O2 -fno-strict-aliasing -pipe -march=3Dnocona -I=20
/usr/ports/net-mgmt/bsnmptools/work/bsnmptools/lib/ -L=20
/usr/ports/net-mgmt/bsnmptools/work/bsnmptools/lib/'</DIV>
<DIV> </DIV>
<DIV>I haven=E2=80=99t tested it=E2=80=99s actual workings yet, though =
this may be the trail to=20
it=E2=80=99s fix <IMG=20
style=3D"BORDER-BOTTOM-STYLE: none; BORDER-LEFT-STYLE: none; =
BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none"=20
class=3D"wlEmoticon wlEmoticon-smile" alt=3DSmile=20
src=3D"cid:70EE2A354FEE4FEEA215C35619D67C18 at ULTIMATE"></DIV>
<DIV> </DIV>
<DIV>-----------WAS BEFORE THE ABOVE ----------</DIV>
<DIV>There may be deeper issues... Looks like an include file missing=20
though</DIV>
<DIV> </DIV>
<DIV>I attempted to use:</DIV>
<DIV> </DIV>
<DIV>make =E2=80=93DNO_WERROR</DIV>
<DIV> </DIV>
<DIV>and it did get further to:</DIV>
<DIV> </DIV>
<DIV>make -DNO_WERROR</DIV>
<DIV>=3D=3D=3D> Building for bsnmptools-0.0.20060818_2</DIV>
<DIV>=3D=3D=3D> lib (all)</DIV>
<DIV>Warning: Object directory not changed from original=20
/usr/ports/net-mgmt/bsnmptools/work/bsnmptools/lib</DIV>
<DIV>cc -O2 -fno-strict-aliasing -pipe -march=3Dnocona -std=3Dgnu99=20
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W=20
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith=20
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align =
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs =
-Wredundant-decls=20
-Wno-pointer-sign -c bsnmptools.c</DIV>
<DIV>bsnmptools.c: In function 'parse_include':</DIV>
<DIV>bsnmptools.c:399: warning: 'value' may be used uninitialized in =
this=20
function</DIV>
<DIV>cc -O2 -fno-strict-aliasing -pipe -march=3Dnocona -std=3Dgnu99=20
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W=20
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith=20
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align =
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs =
-Wredundant-decls=20
-Wno-pointer-sign -c bsnmptc.c</DIV>
<DIV>building static bsnmptools library</DIV>
<DIV>ranlib libbsnmptools.a</DIV>
<DIV>cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=3Dnocona =
-std=3Dgnu99=20
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W=20
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith=20
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align =
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs =
-Wredundant-decls=20
-Wno-pointer-sign -c bsnmpimport.c -o bsnmpimport.So</DIV>
<DIV>cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=3Dnocona =
-std=3Dgnu99=20
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W=20
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith=20
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align =
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs =
-Wredundant-decls=20
-Wno-pointer-sign -c bsnmpmap.c -o bsnmpmap.So</DIV>
<DIV>cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=3Dnocona =
-std=3Dgnu99=20
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W=20
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith=20
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align =
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs =
-Wredundant-decls=20
-Wno-pointer-sign -c bsnmptools.c -o bsnmptools.So</DIV>
<DIV>bsnmptools.c: In function 'parse_include':</DIV>
<DIV>bsnmptools.c:399: warning: 'value' may be used uninitialized in =
this=20
function</DIV>
<DIV>cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe -march=3Dnocona =
-std=3Dgnu99=20
-fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W=20
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes =
-Wpointer-arith=20
-Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align =
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs =
-Wredundant-decls=20
-Wno-pointer-sign -c bsnmptc.c -o bsnmptc.So</DIV>
<DIV>building shared library libbsnmptools.so.0</DIV>
<DIV>=3D=3D=3D> tools (all)</DIV>
<DIV>=3D=3D=3D> tools/bsnmpget (all)</DIV>
<DIV>Warning: Object directory not changed from original=20
/usr/ports/net-mgmt/bsnmptools/work/bsnmptools/tools/bsnmpget</DIV>
<DIV>cc -O2 -fno-strict-aliasing -pipe -march=3Dnocona -std=3Dgnu99=20
-fstack-protector -c bsnmpget.c</DIV>
<DIV>bsnmpget.c:47:21: error: bsnmptc.h: No such file or directory</DIV>
<DIV>bsnmpget.c:48:24: error: bsnmptools.h: No such file or =
directory</DIV>
<DIV>bsnmpget.c: In function 'parse_max_repetitions':</DIV>
<DIV>bsnmpget.c:122: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c: In function 'parse_non_repeaters':</DIV>
<DIV>bsnmpget.c:142: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c: In function 'parse_pdu_type':</DIV>
<DIV>bsnmpget.c:155: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c:157: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c:159: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c: In function 'snmpget_parse_options':</DIV>
<DIV>bsnmpget.c:176: warning: implicit declaration of function=20
'parse_skip_access'</DIV>
<DIV>bsnmpget.c:181: warning: implicit declaration of function=20
'parse_buflen'</DIV>
<DIV>bsnmpget.c:186: warning: implicit declaration of function=20
'parse_debug'</DIV>
<DIV>bsnmpget.c:191: warning: implicit declaration of function=20
'parse_errors'</DIV>
<DIV>bsnmpget.c:196: warning: implicit declaration of function=20
'parse_help'</DIV>
<DIV>bsnmpget.c:200: warning: implicit declaration of function=20
'parse_include'</DIV>
<DIV>bsnmpget.c:205: warning: implicit declaration of function=20
'parse_file'</DIV>
<DIV>bsnmpget.c:210: warning: implicit declaration of function=20
'parse_local_path'</DIV>
<DIV>bsnmpget.c:225: warning: implicit declaration of function=20
'parse_num_oids'</DIV>
<DIV>bsnmpget.c:230: warning: implicit declaration of function=20
'parse_output'</DIV>
<DIV>bsnmpget.c:240: warning: implicit declaration of function=20
'parse_retry'</DIV>
<DIV>bsnmpget.c:245: warning: implicit declaration of function=20
'parse_server'</DIV>
<DIV>bsnmpget.c:250: warning: implicit declaration of function=20
'parse_timeout'</DIV>
<DIV>bsnmpget.c:255: warning: implicit declaration of function=20
'parse_version'</DIV>
<DIV>bsnmpget.c: At top level:</DIV>
<DIV>bsnmpget.c:275: warning: 'struct snmp_object' declared inside =
parameter=20
list</DIV>
<DIV>bsnmpget.c:275: warning: its scope is only this definition or =
declaration,=20
which is probably not what you want</DIV>
<DIV>bsnmpget.c: In function 'snmpget_parse_stroid':</DIV>
<DIV>bsnmpget.c:277: error: 'MAXSTR' undeclared (first use in this=20
function)</DIV>
<DIV>bsnmpget.c:277: error: (Each undeclared identifier is reported only =
once</DIV>
<DIV>bsnmpget.c:277: error: for each function it appears in.)</DIV>
<DIV>bsnmpget.c:292: warning: implicit declaration of function=20
'snmp_parse_suboid'</DIV>
<DIV>bsnmpget.c:292: warning: assignment makes pointer from integer =
without a=20
cast</DIV>
<DIV>bsnmpget.c:300: warning: implicit declaration of function=20
'snmp_lookup_oidall'</DIV>
<DIV>bsnmpget.c:306: error: dereferencing pointer to incomplete =
type</DIV>
<DIV>bsnmpget.c:308: warning: implicit declaration of function=20
'snmp_parse_index'</DIV>
<DIV>bsnmpget.c:308: warning: assignment makes pointer from integer =
without a=20
cast</DIV>
<DIV>bsnmpget.c:310: error: dereferencing pointer to incomplete =
type</DIV>
<DIV>bsnmpget.c:310: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c:311: warning: implicit declaration of function=20
'snmp_suboid_append'</DIV>
<DIV>bsnmpget.c:311: error: dereferencing pointer to incomplete =
type</DIV>
<DIV>bsnmpget.c: At top level:</DIV>
<DIV>bsnmpget.c:323: warning: 'struct snmp_object' declared inside =
parameter=20
list</DIV>
<DIV>bsnmpget.c: In function 'snmpget_parse_oid':</DIV>
<DIV>bsnmpget.c:328: error: 'ISSET_NUMERIC' undeclared (first use in =
this=20
function)</DIV>
<DIV>bsnmpget.c:329: warning: implicit declaration of function=20
'snmp_parse_numoid'</DIV>
<DIV>bsnmpget.c:329: error: dereferencing pointer to incomplete =
type</DIV>
<DIV>bsnmpget.c:332: warning: passing argument 1 of =
'snmpget_parse_stroid' from=20
incompatible pointer type</DIV>
<DIV>bsnmpget.c: At top level:</DIV>
<DIV>bsnmpget.c:339: warning: 'struct snmp_object' declared inside =
parameter=20
list</DIV>
<DIV>bsnmpget.c: In function 'snmpget_verify_vbind':</DIV>
<DIV>bsnmpget.c:341: error: dereferencing pointer to incomplete =
type</DIV>
<DIV>bsnmpget.c:346: error: 'ISSET_NUMERIC' undeclared (first use in =
this=20
function)</DIV>
<DIV>bsnmpget.c:349: error: dereferencing pointer to incomplete =
type</DIV>
<DIV>bsnmpget.c: At top level:</DIV>
<DIV>bsnmpget.c:357: warning: 'struct snmp_object' declared inside =
parameter=20
list</DIV>
<DIV>bsnmpget.c: In function 'snmpget_add_vbind':</DIV>
<DIV>bsnmpget.c:364: error: dereferencing pointer to incomplete =
type</DIV>
<DIV>bsnmpget.c:369: error: dereferencing pointer to incomplete =
type</DIV>
<DIV>bsnmpget.c: In function 'main':</DIV>
<DIV>bsnmpget.c:408: warning: implicit declaration of function=20
'snmptool_init'</DIV>
<DIV>bsnmpget.c:411: warning: implicit declaration of function=20
'snmp_tool_freeall'</DIV>
<DIV>bsnmpget.c:428: warning: implicit declaration of function=20
'snmp_import_all'</DIV>
<DIV>bsnmpget.c:434: warning: implicit declaration of function=20
'snmp_object_add'</DIV>
<DIV>bsnmpget.c:434: error: 'snmp_verify_inoid_f' undeclared (first use =
in this=20
function)</DIV>
<DIV>bsnmpget.c:434: error: expected ')' before =
'snmpget_parse_oid'</DIV>
<DIV>bsnmpget.c:445: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c:457: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c:459: warning: implicit declaration of function=20
'snmp_pdu_add_bindings'</DIV>
<DIV>bsnmpget.c:459: error: 'snmp_verify_vbind_f' undeclared (first use =
in this=20
function)</DIV>
<DIV>bsnmpget.c:459: error: expected ')' before =
'snmpget_verify_vbind'</DIV>
<DIV>bsnmpget.c:461: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c:462: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c:462: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c:469: warning: implicit declaration of function=20
'snmp_parse_resp'</DIV>
<DIV>bsnmpget.c:470: warning: implicit declaration of function=20
'snmp_output_resp'</DIV>
<DIV>bsnmpget.c:474: warning: implicit declaration of function=20
'snmp_output_err_resp'</DIV>
<DIV>bsnmpget.c:475: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>bsnmpget.c:475: error: 'ISSET_RETRY' undeclared (first use in this=20
function)</DIV>
<DIV>bsnmpget.c:479: warning: implicit declaration of function=20
'snmp_object_seterror'</DIV>
<DIV>bsnmpget.c:484: error: invalid use of undefined type 'struct=20
snmp_toolinfo'</DIV>
<DIV>*** Error code 1</DIV>
<DIV> </DIV>
<DIV>Stop in=20
/usr/ports/net-mgmt/bsnmptools/work/bsnmptools/tools/bsnmpget.</DIV>
<DIV>*** Error code 1</DIV>
<DIV> </DIV>
<DIV>Stop in /usr/ports/net-mgmt/bsnmptools/work/bsnmptools/tools.</DIV>
<DIV>*** Error code 1</DIV>
<DIV> </DIV>
<DIV>Stop in /usr/ports/net-mgmt/bsnmptools/work/bsnmptools.</DIV>
<DIV>*** Error code 1</DIV>
<DIV> </DIV>
<DIV>Stop in /usr/ports/net-mgmt/bsnmptools.</DIV>
<DIV> </DIV></DIV></DIV></BODY></HTML>
------=_NextPart_001_011E_01CCB347.F701EC10--
------=_NextPart_000_011D_01CCB347.F701EC10
Content-Type: image/png; name="wlEmoticon-smile[1].png"
Content-Transfer-Encoding: base64
Content-ID: <70EE2A354FEE4FEEA215C35619D67C18 at ULTIMATE>
iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAAXNSR0IArs4c6QAAAARnQU1BAACx
jwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlz
AAAOwQAADsEBuJFr7QAAA61JREFUOE99VA9IlHcYfip2/ZmMMTCiC4moGBuMQRsNO8hqMVYbbI2l
htVoy5KirVlq2Sq3huMWFBkO14TIIXcm6nR1ykUnXgmXrlZrXte/y+w468o7PdP7PL/v2ft9p0Gp
+8ELP973+x6e93mf9zcJ45yndpjVYXyhaVipDWO+psI8rCLAOG6rKpySO5mSi8B4/z7LsQqmqA3W
PhsGBj1LGb+7iWpwOxn+mmpnOuNXU9nfMIudVgzc+RHW6wdgGhewz47kqB0epX0FOVhKxo6TAz+T
0YNk7y7y8RbyUQZ530LNO5fRShO938Fzcw+SnwM0GAnQ0L9r2HZsHRu3pRhx5ddsatHvBSyP6qOt
Y2oxO3gtF57nGEprxcrl1fRWZfJGzSEOhoNGdNgKefuP1QKWT2/Fu2NrJ8DwL2BbDooNdrrYopHC
uI2OHDOV6BOOnsEnDwyG7MufuHZRwLKhuNcjBb2VKIr99QmpVbNhY5KBU15ezqysLONemw4B2z1x
zQM+PAK616EIkQq441355HAFHVtm8bHXTSFsRPffDiPH3m8mrrWCsUrw/Fq40XMSQS38E6mU0d+Y
ZTAZjbrMKexs/JCMbKe/PnVs7TdhfQFUz4DnPkUQoROiV79V7HBE7CChnCLjLeSQi3x6TIB2iM++
IoNryIdikwffkv7N5C2RwS1gLRJOsOkjKOguQ1DtzhU//TASRaLRPkOnBFC2gIi/7i0nO94kL88k
PVMNRmyWOC/MakHHB8IseBzN8Y7P5cc8Ovcvpt+ZbmjE8DayRxjpQJ3vkzfeIq/OIS/NIGWCfrGE
M1vAzoEDYpGGFWhG11EURB3yYU8OfTWrWP3lfEb+EYDQxkRr/mWk720BEou0vUK2TmGkBqz+DPQd
FrBG8FYeWLcMBQgcRUrXYdEtkMGhe5lsL32HJalJdO2fR9+p1xl2LWR/y2yGzyTRVzKZrh1gySKw
vRAcqge1OvDPNCj1S8Rn+tGXNnp6trSTJmGhr2IBaze9ytIlJhYvnMSiOWDxArB0sUw6Y4RRk7A6
K/edkrPA+mw/9d3Sl1apeU20mUdeF22uJDNy9mWGqk0M2cCQeClyOqERR4ACe6U9CzxVb7zweujb
f20XPOEyk0xrmgj9kuiT8JExfpmaASQa6a3dFEY6kN3ywqsxSrF1J6bL0lovya4FRdzY7wlDjo5f
n9qdgoRGemv29zD9fx9Ivdi6AeaWTBS61qJZd3bTxwkf6eOvS0Nhw3KYxwP5D4U2OCASIzOsAAAA
AElFTkSuQmCC
------=_NextPart_000_011D_01CCB347.F701EC10--
More information about the freebsd-ports-bugs
mailing list