[vbox-dev] VirtualBox 4.3.0: yasm cannot reference symbol `X86TSS64_size' in preprocessor

Matthias Apitz guru at unixarea.de
Wed Nov 20 08:03:39 GMT 2013


El día Tuesday, November 19, 2013 a las 04:02:35PM +0100, Bernhard Fr?hlich escribió:

> > This isn't a yasm issue nor a VBox one. It's just that your kBuild isn't
> > up to date.
> >
> > In particular, the kBuild/tools/YASM.kmk file is missing a define for
> > indicating the pass for generating make file dependencies
> > (KBUILD_GENERATING_MAKEFILE_DEPENDENCIES).  In this pass the
> > AssertCompileSize* macros needs to be disabled to prevent the above errors.
> >
> > Kind Regards,
> >   Knut.
> 
> The kBuild that we use right now is from r2695 and the last change to that
> YASM.kmk file that I see is from r2694 so It doesn't look outdated at first
> sight.
> 
> @Matthias: Could you please verify which kBuild version you are using?
> pkg info devel/kBuild
> make -V DISTNAME -C /usr/ports/devel/kBuild

I have:

# pkg_info | fgrep -i kbuild
kBuild-0.1.9998     Makefile framework
# make -V DISTNAME -C /usr/ports/devel/kBuild
kBuild-0.1.9998r2662-src
# cd /usr/ports/devel/kBuild
# svn info
Path: .
Working Copy Root Path: /usr/ports
URL: svn://svn.freebsd.org/ports/head/devel/kBuild
Relative URL: ^/head/devel/kBuild
Repository Root: svn://svn.freebsd.org/ports
Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5
Revision: 328930
Node Kind: directory
Schedule: normal
Last Changed Author: bapt
Last Changed Rev: 327724
Last Changed Date: 2013-09-20 19:13:42 +0200 (Fri, 20 Sep 2013)

# svn up
Updating '.':
U    Makefile
U    distinfo
Updated to revision 334390.
# pkg_delete kBuild-0.1.9998
# make install clean

This works father but stops later in:

...
kBuild: Compiling VBoxSVC -
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:
In function 'int getDefaultIfaceIndex(short unsigned int*, int)':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:94:39:
error: 'malloc' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:98:18:
error: 'free' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:133:30:
error: 'free' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:139:14:
error: 'free' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:
In function 'int NetIfList(std::list<ComObjPtr<HostNetworkInterface>
>&)':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:205:39:
error: 'malloc' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:209:18:
error: 'free' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:217:18:
error: 'free' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:303:14:
error: 'free' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:
In function 'int NetIfGetConfigByName(PNETIFINFO)':
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:328:39:
error: 'malloc' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:332:18:
error: 'free' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:340:18:
error: 'free' was not declared in this scope
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/Main/src-server/freebsd/NetIf-freebsd.cpp:404:14:
error: 'free' was not declared in this scope
kmk: ***
[/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/out/freebsd.x86/release/obj/VBoxSVC/src-server/freebsd/NetIf-freebsd.o]
Error 1

Thanks

	matthias
-- 
Matthias Apitz               |  /"\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: guru at unixarea.de     |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211       |  / \ - Respect for open standards




More information about the vbox-dev mailing list