[Top][All Lists]

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

[Qemu-devel] Re: qemu 0.11.0-rc1 on Mac OS X Tiger: parse error before c

From: Ryan Schmidt
Subject: [Qemu-devel] Re: qemu 0.11.0-rc1 on Mac OS X Tiger: parse error before curl_socket_t
Date: Fri, 14 Aug 2009 18:14:03 -0500

Thank you, Juan, for your response.

On Aug 14, 2009, at 08:38, Juan Quintela wrote:

Since I have been having trouble building qemu 0.10.6 on Mac OS X
10.4.11 Tiger (see other thread), I thought I'd try 0.11.0-rc1 to see
if the problem is resolved. I can't build that either, for a
completely different reason:

./configure --disable-curl
as a workaround.

That does work around that problem, thanks. It then fails later on with:

  GEN   qemu.1
  GEN   qemu-img.1
  GEN   qemu-nbd.8
for d in pc-bios/optionrom; do \
make -C $d || exit 1 ; \
/usr/bin/gcc-4.0 -Wall -Wstrict-prototypes -Werror -fomit-frame- pointer -fno-builtin -I/mp/var/macports/build/ _Users_rschmidt_macports_dports_emulators_qemu/work/qemu-0.11.0-rc1 - o multiboot.o -c multiboot.S multiboot.S:unknown:file contains unmatched .macro and .endmacro for: read_fwVAR
make[1]: *** [multiboot.o] Error 1
make: *** [roms] Error 1

Can you post the output of:

curl-config --cflags
curl-config --libs
find / -name "curl.h"

$ curl-config --cflags
$ curl-config --libs
-L/mp/lib -lcurl -L/mp/lib -L/mp/lib -L/mp/lib -lssl -lcrypto -lssl - lcrypto -lz -lz
$ find / -name "curl.h" 2>/dev/null
/mp/var/macports/software/curl/7.19.6_0+ssl+universal/mp/include/curl/ curl.h

It appears that your curl version don't define curl_socket_t

My version of curl is the most recent one available:

I have curl 7.19.6 installed.

/mp/include/curl/curl.h does contain:

#ifndef curl_socket_typedef
/* socket typedef */
#ifdef WIN32
typedef SOCKET curl_socket_t;
typedef int curl_socket_t;
#define CURL_SOCKET_BAD -1
#define curl_socket_typedef
#endif /* curl_socket_typedef */

reply via email to

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