Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2004 21:32:59 -0700 (PDT)
From:      Joseph Davida <jd10008@yahoo.com>
To:        freebsd-emulation@freebsd.org
Subject:   Re: Welcome to the "freebsd-emulation" mailing list (Digest mode)
Message-ID:  <20041022043259.85172.qmail@web42301.mail.yahoo.com>
In-Reply-To: <mailman.0.1098408092.98093.freebsd-emulation@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Greetings,
I tried to build vmware2 in the ports
collection. Compilation dies with fatal
syntax errors. make.out attached.

Cheers,

Joe


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
[-- Attachment #2 --]
===>  Vulnerability check disabled
===>  Extracting for vmware2-2.0.4.1142
===>  Vulnerability check disabled
>> Checksum OK for VMware-2.0.4-1142.tar.gz.
>> Checksum OK for vmmon-freebsd-0.98.tar.gz.
>> Checksum OK for vmnet-freebsd-0.21.tar.gz.
===>   vmware2-2.0.4.1142 depends on file: /usr/local/bin/perl5.8.5 - found
/usr/bin/tar -xf /usr/ports/emulators/vmware2/work/vmware-distrib/lib/modules/source/vmmon.tar -C /usr/ports/emulators/vmware2/work/vmware-distrib
/usr/bin/tar -xf /usr/ports/emulators/vmware2/work/vmware-distrib/lib/modules/source/vmnet.tar -C /usr/ports/emulators/vmware2/work/vmware-distrib
/usr/bin/gunzip -f /usr/ports/emulators/vmware2/work/vmware-distrib/man/man1/vmware.1.gz
===>  Patching for vmware2-2.0.4.1142
===>   vmware2-2.0.4.1142 depends on file: /usr/local/bin/perl5.8.5 - found
/usr/local/bin/perl -i -ne 'if (m{^Index: vmnet-only/userif\.c$}..m{^Index: vmnet-only/vm_oui\.h$}) { next unless m{^Index: vmnet-only/vm_oui\.h$} } print' /usr/ports/emulators/vmware2/work/vmnet-freebsd.diff
/bin/cp -R /usr/ports/emulators/vmware2/work/vmmon-only /usr/ports/emulators/vmware2/work/vmware-distrib/
/usr/bin/patch -d /usr/ports/emulators/vmware2/work/vmware-distrib --forward --quiet -E -p0 -V simple -b .orig < /usr/ports/emulators/vmware2/work/vmmon-freebsd.diff
/bin/cp -R /usr/ports/emulators/vmware2/work/vmnet-only /usr/ports/emulators/vmware2/work/vmware-distrib/
/usr/bin/patch -d /usr/ports/emulators/vmware2/work/vmware-distrib --forward --quiet -E -p0 -V simple -b .orig < /usr/ports/emulators/vmware2/work/vmnet-freebsd.diff
===>  Applying FreeBSD patches for vmware2-2.0.4.1142
/bin/cat /usr/ports/emulators/vmware2/files/kse.patch | (cd /usr/ports/emulators/vmware2/work/vmware-distrib && patch) > /dev/null 2>&1
/bin/cat /usr/ports/emulators/vmware2/files/pmap.patch | (cd /usr/ports/emulators/vmware2/work/vmware-distrib && patch) > /dev/null 2>&1
/bin/cp /usr/ports/emulators/vmware2/files/Makefile /usr/ports/emulators/vmware2/work/vmware-distrib
/bin/cp /usr/ports/emulators/vmware2/files/Makefile.vmmon /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/Makefile
/bin/rm -rf /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/linux/
/usr/local/bin/perl -i -pe 's,i386(/linux/linux_ioctl\.h),compat$1,'  /usr/ports/emulators/vmware2/work/vmware-distrib/vmnet-only/freebsd/vmnet_linux.c
/usr/local/bin/perl -i -pe 's,<sys/select\.h>,<sys/selinfo.h>,'  /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/*.c
cd /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd && /usr/bin/touch bus_if.h device_if.h
/usr/local/bin/perl -i -pe 's,<machine/ioctl_fd\.h>,<sys/fdcio.h>,'  /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/*.c  /usr/ports/emulators/vmware2/work/vmware-distrib/vmware-distrib/vmmon-only/freebsd/*.c
Can't open /usr/ports/emulators/vmware2/work/vmware-distrib/vmware-distrib/vmmon-only/freebsd/*.c: No such file or directory, <> line 2907.
/bin/cat /usr/ports/emulators/vmware2/files/kmoddeps.patch | (cd /usr/ports/emulators/vmware2/work/vmware-distrib && patch) > /dev/null 2>&1
/bin/cat /usr/ports/emulators/vmware2/files/fo_ioctl.patch | (cd /usr/ports/emulators/vmware2/work/vmware-distrib && patch) > /dev/null 2>&1
/bin/cat /usr/ports/emulators/vmware2/files/filedesc.patch | (cd /usr/ports/emulators/vmware2/work/vmware-distrib && patch) > /dev/null 2>&1
/bin/cat /usr/ports/emulators/vmware2/files/m_waitok.patch | (cd /usr/ports/emulators/vmware2/work/vmware-distrib && patch) > /dev/null 2>&1
/bin/cat /usr/ports/emulators/vmware2/files/cdevsw.patch | (cd /usr/ports/emulators/vmware2/work/vmware-distrib && patch) > /dev/null 2>&1
/bin/cat /usr/ports/emulators/vmware2/files/hostif_c.patch | (cd /usr/ports/emulators/vmware2/work/vmware-distrib && patch) > /dev/null 2>&1
/bin/cat /usr/ports/emulators/vmware2/files/vm_types_h.patch | (cd /usr/ports/emulators/vmware2/work/vmware-distrib && patch) > /dev/null 2>&1
/bin/cat /usr/ports/emulators/vmware2/files/vmnet-only+Makefile.patch | (cd /usr/ports/emulators/vmware2/work/vmware-distrib && patch) > /dev/null 2>&1
===>   vmware2-2.0.4.1142 depends on file: /usr/local/bin/perl5.8.5 - found
===>   vmware2-2.0.4.1142 depends on shared library: X11.6 - found
===>  Configuring for vmware2-2.0.4.1142
(B)0[?1h=[?1h=


















               lqqqqqqqqqqqq VMware network options qqqqqqqqqqqqk
               x                                                x  
               x Do you want to use netgraph bridging?          x  
               x                                                x  
               x                                                x  
               x                                                x  
               x                                                x  
               tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu  
               x              [ Yes ]         No                x  
               mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj  
                                                                   





























  

[?1l>(B)0[?1h=[?1h=


















               lqqqqqqqqqqqqqqqqq Confirmation qqqqqqqqqqqqqqqqqk
               x                                                x  
               x Are the following options correct?             x  
               x                                                x  
               x Configuration: bridged                         x  
               x Interface:     em0                             x  
               x                                                x  
               tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu  
               x              [ Yes ]         No                x  
               mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj  
                                                                   





























  

[?1l>(B)0[?1h=[?1h=


















               lqqqqqqqqqqqq VMware network options qqqqqqqqqqqqk
               x                                                x  
               x The following options will be used.            x  
               x                                                x  
               x Configuration: bridged                         x  
               x Interface:     em0                             x  
               x                                                x  
               x                                                x  
               x                                                x  
               mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj  
                                                                   



















[?1l>===>  Building for vmware2-2.0.4.1142
===> vmmon-only
make -f Makefile.FreeBSD SMP=YES clean && make -f Makefile.FreeBSD SMP=YES
rm -f /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export_syms vmmon_smp.ko vmmon_smp.kld memtrack.o phystrack.o task.o vmx86.o driver.o hostif.o linux_emu.o vmnet_linux.o @ machine symb.tmp tmp.o
Warning: Object directory not changed from original /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only
@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -DCDEV_MAJOR_=200 -DSMP -DAPIC_IO  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/../include -I/usr/include -finline-limit=15000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common/memtrack.c
cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -DCDEV_MAJOR_=200 -DSMP -DAPIC_IO  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/../include -I/usr/include -finline-limit=15000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common/phystrack.c
cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -DCDEV_MAJOR_=200 -DSMP -DAPIC_IO  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/../include -I/usr/include -finline-limit=15000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common/task.c
cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -DCDEV_MAJOR_=200 -DSMP -DAPIC_IO  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/../include -I/usr/include -finline-limit=15000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common/vmx86.c
cc -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -DCDEV_MAJOR_=200 -DSMP -DAPIC_IO  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -DKLD_MODULE -nostdinc -I-  -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys -I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ -I. -I@ -I@/../include -I/usr/include -finline-limit=15000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c: In function `cleanup_module':
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:284: warning: unused variable `retval'
In file included from /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/driver.c:301:
/sys/i386/isa/intr_machdep.h: At top level:
/sys/i386/isa/intr_machdep.h:144: error: syntax error before '*' token
/sys/i386/isa/intr_machdep.h:144: warning: type defaults to `int' in declaration of `intr_handler'
/sys/i386/isa/intr_machdep.h:144: warning: data definition has no type or storage class
/sys/i386/isa/intr_machdep.h:191: warning: redundant redeclaration of `isa_nmi' in same scope
machine/md_var.h:100: warning: previous declaration of `isa_nmi'
/sys/i386/isa/intr_machdep.h:192: error: syntax error before "inthand2_t"
/sys/i386/isa/intr_machdep.h:192: warning: function declaration isn't a prototype
/sys/i386/isa/intr_machdep.h:194: error: syntax error before "inthand2_t"
/sys/i386/isa/intr_machdep.h:194: warning: function declaration isn't a prototype
/sys/i386/isa/intr_machdep.h:207: error: syntax error before "inthand2_t"
/sys/i386/isa/intr_machdep.h:208: warning: function declaration isn't a prototype
/sys/i386/isa/intr_machdep.h:144: warning: array `intr_handler' assumed to have one element
*** Error code 1

Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only.
*** Error code 1

Stop in /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only.
*** Error code 1

Stop in /usr/ports/emulators/vmware2/work/vmware-distrib.
*** Error code 1

Stop in /usr/ports/emulators/vmware2.
*** Error code 1

Stop in /usr/ports/emulators/vmware2.

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041022043259.85172.qmail>