Subject: pkg/22014: emulators/vmware-module3 does not compile under 1.6 branch
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 06/29/2003 22:12:35
>Number: 22014
>Category: pkg
>Synopsis: emulators/vmware-module3 does not compile under 1.6 branch
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jun 30 02:15:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Todd Vierling
>Release: NetBSD 1.6.1_STABLE
>Organization:
DUH.ORG: Pointing out the obvious since 1994.
>Environment:
System: NetBSD netbsd.int.duh.org 1.6.1_STABLE NetBSD 1.6.1_STABLE (TODD) #9: Fri Jun 20 20:10:09 EDT 2003 tv@server.duh.org:/export/SRC/duh/netbsd-kernels/TODD i386
Architecture: i386
Machine: i386
>Description:
Building the new emulators/vmware-module3 version 3.2.1.1 does not work when
the kernel sources are 1.6-branch vintage.
>How-To-Repeat:
$ cd /usr/pkgsrc/emulators/vmware-module3
$ make
[...]
cc -O2 -ffreestanding -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wpointer-arith -Wswitch -Wshadow -nostdinc -nostdinc -I. -I/ext/tmp/pkgsrc/emulators/vmware-module3/work.i386/source/linuxrtc -isystem /SRC/netbsd/src-1.6/sys -isystem /SRC/netbsd/src-1.6/sys/arch -D_KERNEL -D_LKM -c rtc.c
rtc.c:90: parse error before `,'
rtc.c:90: warning: function declaration isn't a prototype
rtc.c:116: parse error before `,'
rtc.c:116: warning: function declaration isn't a prototype
rtc.c: In function `rtc_lkmentry':
rtc.c:118: `ver' undeclared (first use in this function)
rtc.c:118: (Each undeclared identifier is reported only once
rtc.c:118: for each function it appears in.)
rtc.c:118: switch quantity not an integer
rtc.c:118: warning: passing arg 2 of `rtc_handle' makes integer from pointer without a cast
rtc.c:118: warning: passing arg 2 of `rtc_handle' makes integer from pointer without a cast
rtc.c:118: warning: passing arg 2 of `rtc_handle' makes integer from pointer without a cast
rtc.c:118: warning: unreachable code at beginning of switch statement
rtc.c:118: warning: passing arg 2 of `lkmdispatch' makes integer from pointer without a cast
>Fix:
Actually try to compile what goes into pkgsrc?
(Yah, I'm a little frustrated, since it took weeks to get vmware3 rolled back
to a working version because the kernel module wasn't updated -- and now that
the kernel module is updated so vmware3 can progress to 3.2.1, it doesn't
compile, so we're right back where we started with a nonworking vmware3 pkg.)
>Release-Note:
>Audit-Trail:
>Unformatted: