[vbox-dev] Building error with VirtualBox 3.2.8-OSE

Frank Mehnert frank.mehnert at oracle.com
Thu Sep 16 06:13:57 GMT 2010


On Wednesday 15 September 2010, Suk Kyu Lee wrote:
> I'm having some trouble with building VirtualBox 3.2.8-OSE.
> I got the message from
> VirtualBox-3.2.8-OSE/src/VBox/Additions/common/pam/pam_vbox.c where it
> displays the error that says "error: expected ')' before '*' token on
> line 84, 105,126,257,281, 288, 295, 303, 309.
>
> I tried to fix the code but somehow I wasn't sure what was the main
> cause of the following error message. Moreover, I'm still receiving the
> same error message.

The usual procedure when hunting such compilation errors in the
VBox source tree is the following:

 1. Do 'kmk -j1' and wait until it aborts at the file in question.
 2. Touch the file in question (in your case pam_vbox.c)
 3. Do 'kmk -j1 KBUILD_VERBOSE=2'
 4. Copy'n'paste the command line to compile this file and replace
    '-c' by '-E -dD' and the extension of the file name after '-o'
    by '.i'.
 5. Look at the resulting .i file, perhaps send it to me via
    private E-mail, don't forget to compress it!

Kind regards,

Frank
-- 
ORACLE Deutschland B.V. & Co. KG   Dr.-Ing. Frank Mehnert
Werkstrasse 24                     Staff Engineer, VirtualBox
71384 Weinstadt, Germany           mailto:frank.mehnert at oracle.com

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100916/4be1cc8d/attachment.sig>


More information about the vbox-dev mailing list