From: Warren Young Date: July 26 2008 6:16pm Subject: Re: Error bulding MySQL++ on Solaris 10 List-Archive: http://lists.mysql.com/plusplus/7811 Message-Id: <54FF7AB9-321F-460F-88B7-FB6CC768FE8A@etr-usa.com> 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 4:52 AM, Amit k. Saha wrote: >> ./test/uds.cpp:62: error: expected primary-expression before "struct" >> I built a Solaris VM, and figured out what it's bitching about. I called the sockaddr_un struct instance 'sun' in this program. Somewhere in Solaris' headers, they apparently define a global symbol called 'sun'. Brilliant. Effin' brilliant. Cuz, you know, it's a "Sun" machine, right? Rename it to something else (I'm calling it "saun" now) and it builds fine. This removes the last block to making it build. I haven't yet bothered to see if it runs.