Hi Diane we have a ticket open for mavericks issues currently and I hope to have some time to dive in and help resolve the issues shortly (unless someone beats me to it)
-Jake On Mon, Nov 25, 2013 at 11:59 AM, Napolitano, Diane <[email protected]>wrote: > Greetings. It's been a while since I've done any C++ but I have a user > who needs a C++ client so I'm testing the whole thing out. ;) > > The issue is probably due to my upgrade to Mavericks having done something > weird. However, I'm not sure which in direction I should head when trying > to fix this. Here's what I've got: > > $ g++ -v > Configured with: --prefix=/Library/Developer/CommandLineTools/usr > --with-gxx-include-dir=/usr/include/c++/4.2.1 > Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) > Target: x86_64-apple-darwin13.0.0 > Thread model: posix > > $ g++ -Wall -I/usr/local/include/thrift -c ner_client.cpp -o ner_client.o > In file included from ner_client.cpp:15: > /usr/local/include/thrift/transport/TSocket.h:219:3: error: unknown type > name 'sockaddr' > sockaddr* getCachedAddress(socklen_t* len) const; > ^ > /usr/local/include/thrift/transport/TSocket.h:219:30: error: unknown type > name 'socklen_t'; did you mean 'locale_t'? > sockaddr* getCachedAddress(socklen_t* len) const; > ^~~~~~~~~ > locale_t > /usr/include/xlocale.h:34:28: note: 'locale_t' declared here > typedef struct _xlocale * locale_t; > ^ > In file included from ner_client.cpp:15: > /usr/local/include/thrift/transport/TSocket.h:240:31: error: unknown type > name 'sockaddr' > void setCachedAddress(const sockaddr* addr, socklen_t len); > ^ > /usr/local/include/thrift/transport/TSocket.h:240:47: error: unknown type > name 'socklen_t'; did you mean 'locale_t'? > void setCachedAddress(const sockaddr* addr, socklen_t len); > ^~~~~~~~~ > locale_t > /usr/include/xlocale.h:34:28: note: 'locale_t' declared here > typedef struct _xlocale * locale_t; > ^ > In file included from ner_client.cpp:15: > /usr/local/include/thrift/transport/TSocket.h:293:5: error: unknown type > name 'sockaddr_in' > sockaddr_in ipv4; > ^ > /usr/local/include/thrift/transport/TSocket.h:294:5: error: unknown type > name 'sockaddr_in6' > sockaddr_in6 ipv6; > ^ > ner_client.cpp:25:6: error: use of undeclared identifier 'thriftConnect' > void thriftConnect::setup() { > ^ > 7 errors generated. > > And the offending #includes are simply: > > #include <protocol/TBinaryProtocol.h> > #include <transport/TSocket.h> > #include <transport/TTransportUtils.h> > > A grep through each of those header files tells me the names throwing > errors are indeed in there...any thoughts or requests for more information? > :) > > Thanks, > Diane > > > > ----------------------------------------- > > This e-mail and any files transmitted with it may contain privileged or > confidential information. It is solely for use by the individual for whom > it is intended, even if addressed incorrectly. If you received this e-mail > in error, please notify the sender; do not disclose, copy, distribute, or > take any action in reliance on the contents of this information; and delete > it fromyour system. Any other use of this e-mail is prohibited. > > Thank you for your compliance. > > ----------------------------------------- > >
