From: Warren Young Date: July 21 2008 10:06am Subject: Re: Error bulding MySQL++ on Solaris 10 List-Archive: http://lists.mysql.com/plusplus/7774 Message-Id: MIME-Version: 1.0 (Apple Message framework v928.1) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Jul 21, 2008, at 3:56 AM, Amit k. Saha wrote: > ./test/uds.cpp:56: error: `AF_LOCAL' undeclared (first use this > function) Can you find out which header defines that on Solaris? Changing it to AF_UNIX may also work, but it'd be better to use the newer name. > ./test/uds.cpp:62: error: expected primary-expression before "struct" I'll also need to find out where sockaddr_un is defined. There's a fair chance that the same header defines both this and AF_LOCAL.