qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Build break in current -git.


From: Rob Landley
Subject: [Qemu-devel] Build break in current -git.
Date: Mon, 27 Jun 2011 07:31:50 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10

In file included from /usr/include/png.h:510,
                 from ui/vnc-enc-tight.c:37:
/usr/include/pngconf.h:371: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘.’ token
/usr/include/pngconf.h:372: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘include’
make: *** [ui/vnc-enc-tight.o] Error 1

Building on an Ubuntu 10.04 stock install.

Relevant chunk of said header:

#  ifndef PNG_SKIP_SETJMP_CHECK
#    ifdef __linux__
#      ifdef _BSD_SOURCE
#        define PNG_SAVE_BSD_SOURCE
#        undef _BSD_SOURCE
#      endif
#      ifdef _SETJMP_H
       /* If you encounter a compiler error here, see the explanation
        * near the end of INSTALL.
        */
           __pngconf.h__ in libpng already includes setjmp.h;
           __dont__ include it again.;
#      endif
#    endif /* __linux__ */
#  endif /* PNG_SKIP_SETJMP_CHECK */


Rob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]