VirtualBox

16 年 前 建立

16 年 前 結束

#2103 closed defect (worksforme)

Compilation - moc error

回報者: Zielony 負責人:
元件: other 版本: VirtualBox 2.0.0
關鍵字: 副本: 4.2.3
Guest type: Linux Host type: Linux

描述 (由 Frank Mehnert 作最後更新)

kmk[4]: Entering directory `/tmp/virtualbox/virtualbox-2.0.0/   ......
kBuild: moc VirtualBox4 - src/VBoxSelectorWnd.cpp
Qt meta object compiler
moc: Invalid argument
Usage:  moc [options] <header-file>
        -o file    Write output to file rather than stdout
        -f[file]   Force #include, optional file name
        -p path    Path prefix for included file
        -i         Do not generate an #include statement
        -k         Do not stop on errors
        -nw        Do not display warnings
        -v         Display version of moc
kmk[4]: *** [/tmp/virtualbox/virtualbox-2.0.0/ou .... Error 1
The failing command:
        @/usr/bin/moc  -I./include .....
kmk[4]: Leaving directory `/tmp/virtualbox/virtualbox-2.0.0/src/VBox/Frontends/VirtualBox4'
kmk[3]: *** [pass_dlls_after] Error 2
kmk[3]: Leaving directory `/tmp/virtualbox/virtualbox-2.0.0/src/VBox/Frontends'
kmk[2]: *** [pass_dlls_before] Error 2
kmk[2]: Leaving directory `/tmp/virtualbox/virtualbox-2.0.0/src/VBox'
kmk[1]: *** [pass_dlls_before] Error 2
kmk[1]: Leaving directory `/tmp/virtualbox/virtualbox-2.0.0/src'
kmk: *** [pass_dlls_before] Error 2

Qt 3.3.8b and 4.4.1. This moc comes from 3.

更動歷史 (3)

comment:1 16 年 前Zielony 編輯

Works with moc from 4. It's needed to give prefix for Qt 4, not 3.

comment:2 16 年 前Frank Mehnert 編輯

描述: 修改 (差異)

I've stripped the output because the ticket was nearly unreadable with my browser.

Which Linux distribution is that? Please could you the configure.log file?

comment:3 16 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: worksforme

No response, closing.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette