Subject: pkg/13562: gtk_wicontrol doesn't build
To: None <gnats-bugs@gnats.netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: netbsd-bugs
Date: 07/26/2001 10:17:27
>Number: 13562
>Category: pkg
>Synopsis: gtk_wicontrol doesn't build
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 26 07:14:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Johnny C. Lam
>Release: NetBSD-current-20010526
>Organization:
Department of Statistics, Carnegie Mellon University
>Environment:
System: NetBSD localhost 1.5W NetBSD 1.5W (HOBBES) #0: Fri Jul 13 07:33:19 EDT 2001 jlam@localhost:/usr/obj/usr/src/sys/arch/i386/compile/HOBBES i386
Architecture: i386
Machine: i386
>Description:
net/gtk_wicontrol doesn't build. The log of the build follows:
===> real-patch [gtk_wicontrol-0.16] ===> Patching for gtk_wicontrol-0.16
===> do-patch [gtk_wicontrol-0.16] ===> Applying NetBSD patches for gtk_wicontrol-0.16
===> real-configure [gtk_wicontrol-0.16] ===> Configuring for gtk_wicontrol-0.16
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -O2 -mcpu=pentiumpro -mcpu=pentiumpro -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O2 -mcpu=pentiumpro -mcpu=pentiumpro -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for POSIXized ISC... no
checking for gcc... (cached) cc
checking whether the C compiler (cc -O2 -mcpu=pentiumpro -mcpu=pentiumpro -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O2 -mcpu=pentiumpro -mcpu=pentiumpro -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... none needed
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/ioctl.h... yes
checking for unistd.h... yes
checking for net/if_var.h... no
checking for net/if_ether.h... yes
checking for net/ethernet.h... no
checking for dev/pcmcia/if_wi_ieee.h... no
checking for machine/if_wavelan_ieee.h... no
checking for working const... yes
checking whether cc needs -traditional... no
checking for socket... yes
checking for strtol... yes
checking for gtk-config... /usr/pkg/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for ranlib... ranlib
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... no
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for stpcpy... no
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... ja
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating intl/Makefile
creating po/Makefile.in
creating config.h
===> real-build [gtk_wicontrol-0.16] ===> Building for gtk_wicontrol-0.16
gmake all-recursive
gmake[1]: Entering directory `/usr/pkgsrc/net/gtk_wicontrol/work/gtk_wicontrol-0.16'
Making all in intl
gmake[2]: Entering directory `/usr/pkgsrc/net/gtk_wicontrol/work/gtk_wicontrol-0.16/intl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/pkgsrc/net/gtk_wicontrol/work/gtk_wicontrol-0.16/intl'
Making all in po
gmake[2]: Entering directory `/usr/pkgsrc/net/gtk_wicontrol/work/gtk_wicontrol-0.16/po'
gmake[2]: Leaving directory `/usr/pkgsrc/net/gtk_wicontrol/work/gtk_wicontrol-0.16/po'
Making all in src
gmake[2]: Entering directory `/usr/pkgsrc/net/gtk_wicontrol/work/gtk_wicontrol-0.16/src'
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -O2 -mcpu=pentiumpro -mcpu=pentiumpro -Wall -c main.c
In file included from main.c:42:
wiinfo.h:43: warning: `struct wi_req' declared inside parameter list
wiinfo.h:43: warning: its scope is only this definition or declaration,
wiinfo.h:43: warning: which is probably not what you want.
wiinfo.h:44: warning: `struct wi_req' declared inside parameter list
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -O2 -mcpu=pentiumpro -mcpu=pentiumpro -Wall -c support.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -O2 -mcpu=pentiumpro -mcpu=pentiumpro -Wall -c interface.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/pkg/include/gtk-1.2 -I/usr/pkg/include/glib/glib-1.2 -I/usr/pkg/lib/glib/include -I/usr/X11R6/include -O2 -mcpu=pentiumpro -mcpu=pentiumpro -Wall -c callbacks.c
In file included from callbacks.c:42:
wiinfo.h:43: warning: `struct wi_req' declared inside parameter list
wiinfo.h:43: warning: its scope is only this definition or declaration,
wiinfo.h:43: warning: which is probably not what you want.
wiinfo.h:44: warning: `struct wi_req' declared inside parameter list
callbacks.c:45: warning: `struct wi_key' declared inside parameter list
callbacks.c: In function `set_carddata_into_widget':
callbacks.c:438: storage size of `wreq' isn't known
callbacks.c:455: `WI_MAX_DATALEN' undeclared (first use in this function)
callbacks.c:455: (Each undeclared identifier is reported only once
callbacks.c:455: for each function it appears in.)
callbacks.c:456: `WI_RID_PORTTYPE' undeclared (first use in this function)
callbacks.c:476: `WI_RID_PM_ENABLED' undeclared (first use in this function)
callbacks.c:489: `WI_RID_TX_RATE' undeclared (first use in this function)
callbacks.c:500: `WI_RID_CUR_TX_RATE' undeclared (first use in this function)
callbacks.c:515: `WI_RID_SERIALNO' undeclared (first use in this function)
callbacks.c:535: `WI_RID_MAC_NODE' undeclared (first use in this function)
callbacks.c:552: `WI_RID_CHANNEL_LIST' undeclared (first use in this function)
callbacks.c:565: `WI_RID_OWN_CHNL' undeclared (first use in this function)
callbacks.c:578: `WI_RID_CURRENT_CHAN' undeclared (first use in this function)
callbacks.c:591: `WI_RID_CREATE_IBSS' undeclared (first use in this function)
callbacks.c:603: `WI_RID_OWN_SSID' undeclared (first use in this function)
callbacks.c:623: `WI_RID_CURRENT_SSID' undeclared (first use in this function)
callbacks.c:659: `WI_RID_NODENAME' undeclared (first use in this function)
callbacks.c:678: `WI_RID_DESIRED_SSID' undeclared (first use in this function)
callbacks.c:697: `WI_RID_ENCRYPTION' undeclared (first use in this function)
callbacks.c:709: `WI_RID_TX_CRYPT_KEY' undeclared (first use in this function)
callbacks.c:725: `WI_RID_DEFLT_CRYPT_KEYS' undeclared (first use in this function)
callbacks.c:730: dereferencing pointer to incomplete type
callbacks.c:731: dereferencing pointer to incomplete type
callbacks.c:732: dereferencing pointer to incomplete type
callbacks.c:749: `WI_RID_RTS_THRESH' undeclared (first use in this function)
callbacks.c:763: `WI_RID_SYSTEM_SCALE' undeclared (first use in this function)
callbacks.c:778: `WI_RID_MAX_SLEEP' undeclared (first use in this function)
callbacks.c:438: warning: unused variable `wreq'
callbacks.c: In function `update_cardinfo':
callbacks.c:793: storage size of `wreq' isn't known
callbacks.c:819: `WI_RID_PORTTYPE' undeclared (first use in this function)
callbacks.c:843: `WI_RID_PM_ENABLED' undeclared (first use in this function)
callbacks.c:867: `WI_RID_TX_RATE' undeclared (first use in this function)
callbacks.c:898: `WI_RID_MAC_NODE' undeclared (first use in this function)
callbacks.c:914: `WI_RID_OWN_CHNL' undeclared (first use in this function)
callbacks.c:928: `WI_RID_CREATE_IBSS' undeclared (first use in this function)
callbacks.c:951: `WI_RID_OWN_SSID' undeclared (first use in this function)
callbacks.c:966: `WI_RID_NODENAME' undeclared (first use in this function)
callbacks.c:982: `WI_RID_DESIRED_SSID' undeclared (first use in this function)
callbacks.c:999: `WI_RID_ENCRYPTION' undeclared (first use in this function)
callbacks.c:1025: `WI_RID_TX_CRYPT_KEY' undeclared (first use in this function)
callbacks.c:1040: `WI_MAX_DATALEN' undeclared (first use in this function)
callbacks.c:1041: `WI_RID_DEFLT_CRYPT_KEYS' undeclared (first use in this function)
callbacks.c:1045: dereferencing pointer to incomplete type
callbacks.c:1047: warning: passing arg 2 of `wi_str2key' from incompatible pointer type
callbacks.c:1049: sizeof applied to an incomplete type
callbacks.c:1064: `WI_RID_RTS_THRESH' undeclared (first use in this function)
callbacks.c:1079: `WI_RID_SYSTEM_SCALE' undeclared (first use in this function)
callbacks.c:1093: `WI_RID_MAX_SLEEP' undeclared (first use in this function)
callbacks.c:793: warning: unused variable `wreq'
callbacks.c: In function `wi_str2key':
callbacks.c:1118: argument `k' doesn't match prototype
callbacks.c:45: prototype declaration
callbacks.c:1126: dereferencing pointer to incomplete type
callbacks.c:1131: dereferencing pointer to incomplete type
callbacks.c:1134: dereferencing pointer to incomplete type
callbacks.c:1135: dereferencing pointer to incomplete type
gmake[2]: *** [callbacks.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/net/gtk_wicontrol/work/gtk_wicontrol-0.16/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/net/gtk_wicontrol/work/gtk_wicontrol-0.16'
gmake: *** [all-recursive-am] Error 2
*** Error code 2
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
>How-To-Repeat:
cd pkgsrc/net/gtk_wicontrol && make build
>Fix:
None.
>Release-Note:
>Audit-Trail:
>Unformatted: