pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36921: emulators/vmware-module3 fails during build
>Number: 36921
>Category: pkg
>Synopsis: emulators/vmware-module3 fails during build
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 05 19:00:00 +0000 2007
>Originator: diro
>Release: NetBSD 3.1
>Organization:
>Environment:
NetBSD themobe 3.1 NetBSD 3.1 (THEMOBE) #2: Mon Aug 27 21:00:40 EDT 2007
root@themobe:/usr/src/sys/arch/i386/compile/THEMOBE i386
>Description:
cd
/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/source/linuxrtc
&& /usr/pkg/bin/bmake
rm -f machine && ln -s /usr/src/sys/arch/i386/include machine
rm -f i386 && ln -s /usr/src/sys/arch/i386/include i386
cc -O2 -D_KERNEL -D_LKM -I.
-I/usr/pkgsrc/emulators/vmware-module3/work/vmware-netbsd-3.2.1.8/source/linuxrtc
-I/usr/src/sys -I/usr/src/sys/arch -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type
-Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -nostdinc -c
rtc.c
rtc.c:53:23: sys/param.h: No such file or directory
rtc.c:54:22: sys/conf.h: No such file or directory
rtc.c:55:24: sys/device.h: No such file or directory
rtc.c:56:26: sys/filedesc.h: No such file or directory
rtc.c:57:22: sys/file.h: No such file or directory
rtc.c:58:23: sys/filio.h: No such file or directory
rtc.c:59:24: sys/select.h: No such file or directory
rtc.c:60:24: sys/kernel.h: No such file or directory
rtc.c:61:24: sys/malloc.h: No such file or directory
rtc.c:62:22: sys/poll.h: No such file or directory
rtc.c:63:22: sys/proc.h: No such file or directory
rtc.c:64:23: sys/systm.h: No such file or directory
rtc.c:65:23: sys/ioctl.h: No such file or directory
rtc.c:66:22: sys/exec.h: No such file or directory
rtc.c:67:21: sys/lkm.h: No such file or directory
In file included from rtc.c:69:
rtcvar.h:1:45: compat/linux/common/linux_ioctl.h: No such file or directory
rtc.c:80: warning: `struct lkm_table' declared inside parameter list
rtc.c:80: warning: its scope is only this definition or declaration, which is
probably not what you want
rtc.c:81: warning: `struct lkm_table' declared inside parameter list
rtc.c:83: error: parse error before "dev"
rtc.c:83: warning: function declaration isn't a prototype
rtc.c:84: error: parse error before "dev"
rtc.c:84: warning: function declaration isn't a prototype
rtc.c:85: error: parse error before "dev"
rtc.c:86: warning: function declaration isn't a prototype
rtc.c:87: error: parse error before "int"
rtc.c:87: warning: function declaration isn't a prototype
rtc.c:91: error: variable `rtc_dev' has initializer but incomplete type
rtc.c:92: warning: excess elements in struct initializer
rtc.c:92: warning: (near initialization for `rtc_dev')
rtc.c:92: warning: excess elements in struct initializer
rtc.c:92: warning: (near initialization for `rtc_dev')
rtc.c:93: warning: implicit declaration of function `dev_type_read'
rtc.c:93: error: parse error before ')' token
rtc.c:93: warning: excess elements in struct initializer
rtc.c:93: warning: (near initialization for `rtc_dev')
rtc.c:93: error: parse error before "enodev"
rtc.c:93: warning: implicit declaration of function `dev_type_write'
rtc.c:93: error: parse error before ')' token
rtc.c:93: warning: excess elements in struct initializer
rtc.c:93: warning: (near initialization for `rtc_dev')
rtc.c:93: error: parse error before "enodev"
rtc.c:94: warning: excess elements in struct initializer
rtc.c:94: warning: (near initialization for `rtc_dev')
rtc.c:94: warning: implicit declaration of function `dev_type_stop'
rtc.c:94: error: parse error before ')' token
rtc.c:94: warning: excess elements in struct initializer
rtc.c:94: warning: (near initialization for `rtc_dev')
rtc.c:94: error: parse error before "enodev"
rtc.c:94: warning: excess elements in struct initializer
rtc.c:94: warning: (near initialization for `rtc_dev')
rtc.c:95: warning: excess elements in struct initializer
rtc.c:95: warning: (near initialization for `rtc_dev')
rtc.c:95: warning: implicit declaration of function `dev_type_mmap'
rtc.c:95: error: parse error before ')' token
rtc.c:95: warning: excess elements in struct initializer
rtc.c:95: warning: (near initialization for `rtc_dev')
rtc.c:95: error: parse error before "enodev"
rtc.c:96: warning: excess elements in struct initializer
rtc.c:96: warning: (near initialization for `rtc_dev')
rtc.c:102: error: parse error before string constant
rtc.c:105: warning: return type defaults to `int'
rtc.c:105: warning: function declaration isn't a prototype
rtc.c: In function `MOD_DEV':
rtc.c:107: warning: declaration of `rtc_lkmentry' shadows a global declaration
rtc.c:80: warning: shadowed declaration is here
rtc.c:107: error: parse error before '{' token
rtc.c:107: error: declaration for parameter `rtc_lkmentry' but no such parameter
rtc.c:117: error: `LKM_E_LOAD' undeclared (first use in this function)
rtc.c:117: error: (Each undeclared identifier is reported only once
rtc.c:117: error: for each function it appears in.)
rtc.c:117: error: case label not within a switch statement
rtc.c:118: warning: implicit declaration of function `lkmexists'
rtc.c:118: error: `lkmtp' undeclared (first use in this function)
rtc.c:119: error: `EEXIST' undeclared (first use in this function)
rtc.c:122: error: `LKM_E_UNLOAD' undeclared (first use in this function)
rtc.c:122: error: case label not within a switch statement
rtc.c:124: error: `EBUSY' undeclared (first use in this function)
rtc.c:127: error: `LKM_E_STAT' undeclared (first use in this function)
rtc.c:127: error: case label not within a switch statement
rtc.c:130: error: `default' label not within a switch statement
rtc.c:131: error: `error' undeclared (first use in this function)
rtc.c:131: error: `EIO' undeclared (first use in this function)
rtc.c:120: error: break statement not within loop or switch
rtc.c:125: error: break statement not within loop or switch
rtc.c:128: error: break statement not within loop or switch
rtc.c:132: error: break statement not within loop or switch
rtc.c: At top level:
rtc.c:134: error: parse error before "return"
rtc.c:138: error: parse error before "dev"
rtc.c:139: warning: function declaration isn't a prototype
rtc.c: In function `rtc_open':
rtc.c:141: error: `EBUSY' undeclared (first use in this function)
rtc.c:143: warning: implicit declaration of function `suser'
rtc.c:143: error: `l' undeclared (first use in this function)
rtc.c:144: error: `EPERM' undeclared (first use in this function)
rtc.c:147: error: `hz' undeclared (first use in this function)
rtc.c: At top level:
rtc.c:154: error: parse error before "dev"
rtc.c:155: warning: function declaration isn't a prototype
rtc.c:168: error: parse error before "dev"
rtc.c:169: warning: function declaration isn't a prototype
rtc.c: In function `rtc_ioctl':
rtc.c:173: error: `cmd' undeclared (first use in this function)
rtc.c:173: error: `PTIOCLINUX' undeclared (first use in this function)
rtc.c:174: error: `ENOTTY' undeclared (first use in this function)
rtc.c:176: error: `data' undeclared (first use in this function)
rtc.c:178: error: dereferencing pointer to incomplete type
rtc.c:179: warning: implicit declaration of function `_LINUX_IO'
rtc.c:185: warning: implicit declaration of function `_LINUX_IOW'
rtc.c:185: error: parse error before "unsigned"
rtc.c:188: error: `EINVAL' undeclared (first use in this function)
rtc.c: At top level:
rtc.c:198: error: parse error before "dev"
rtc.c:199: warning: function declaration isn't a prototype
rtc.c: In function `rtc_poll':
rtc.c:211: error: `events' undeclared (first use in this function)
rtc.c:213: warning: implicit declaration of function `DELAY'
rtc.c: At top level:
rtc.c:91: error: storage size of `rtc_dev' isn't known
rtc.c:81: warning: `rtc_handle' declared `static' but never defined
rtc.c:91: warning: `rtc_dev' defined but not used
*** Error code 1
Stop.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index