Nominate our 2022 Qt Champions!

While I was trying to compile “wkhtmltopdf-qt” I hit a snag

  • I was compiling "wkhtmltopdf-qt" ( ) when I got this error:

    {standard input}: Assembler messages:
    {standard input}:49809: Warning: partial line at end of file ignored
    {standard input}:49809: Error: open CFI at the end of file; missing .cfi_endproc directive
    g++: Internal error: Killed (program cc1plus)
    Please submit a full bug report.
    See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
    make[1]: *** [.obj/release-shared/CSSStyleSelector.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: Leaving directory `/root/wkhtmltopdf-qt/src/3rdparty/webkit/WebCore'
    make: *** [sub-webkit-make_default-ordered] Error 2

    I am not sure I understand what want wrong. The other thing is that it took 2h30 to get to this error. I am not sure I am in the mood to try to recompile 10 times if I have to wait 2h30 every time.

    Is there a way to test things before, so I don't need to wait for 2 hours?

    I am using Ubuntu 11.04 (64-bit). I am also running Apache 2 with PHP5.

    Here are the instruction that I followed:

    Also if you can help me figure out what is causing this little snag, it would be truly appreciated. Thank you allot in advance!


    Disk space:

    /dev/xvda1 9.4G 2.7G 6.3G 30% /

    gcc version:

    gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)

    [EDIT: code formatting for output, Volker]

Log in to reply