Oops. Forgot to include the list in the response...

---------- Forwarded message ----------
From: Monty Taylor <monty.tay...@gmail.com>
Date: Fri, Mar 6, 2009 at 1:01 AM
Subject: Re: Protocol Buffer compiling on Sun Sparc 64 bit.
To: Marakan <rad...@gmail.com>


gcc on Sun is really old (3.4) ... I use protobuf on Sun with 64bit,
but I've been using the Sun Studio compiler.

./configure --prefix-dir=/usr/local/64 CFLAGS="-m64" CXXFLAGS="-m64"
CC=cc CXX=CC

I actually just sent in a patch to clean up the 64-bit sun studio
support a bit so you don't have to bother specifying the -m64 on the
command line.

On Thu, Mar 5, 2009 at 3:42 PM, Marakan <rad...@gmail.com> wrote:
>
> I am trying to compile the protocol buffer C library on Sun with 64
> bit enabled and running into issues:
>
> I do the following:
>
> ./configure --prefix-dir=/usr/local/64 CFLAGS="-m64" CXXFLAGS="m64"
>
> And then the errors:
>
> make[2]: Entering directory `/home/compile/protobuf/protobuf-2.0.3/c/
> src'
> if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=
> \"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=
> \"protobuf-c\" -DVERSION=\"0.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -
> DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -
> DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -
> DHAVE_INTTYPES_H=1 -DIS_LITTLE_ENDIAN=1 -I. -I.     -m64 -MT
> c_service.o -MD -MP -MF ".deps/c_service.Tpo" -c -o c_service.o `test -
> f 'google/protobuf/compiler/c/c_service.cc' || echo './'`google/
> protobuf/compiler/c/c_service.cc; \
>       then mv -f ".deps/c_service.Tpo" ".deps/c_service.Po"; else rm -
> f ".deps/c_service.Tpo"; exit 1; fi
> In file included from google/protobuf/compiler/c/c_service.cc:23:
> ./google/protobuf/compiler/c/c_service.h:26:15: error: map: No such
> file or directory
> ./google/protobuf/compiler/c/c_service.h:27:18: error: string: No such
> file or directory
> In file included from /usr/local/include/google/protobuf/descriptor.h:
> 58,
>                from ./google/protobuf/compiler/c/c_service.h:28,
>
> pointers?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to