List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:July 26 2008 6:16pm
Subject:Re: Error bulding MySQL++ on Solaris 10
View as plain text  
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?  <shakes head>

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.
Thread
Error bulding MySQL++ on Solaris 10Amit k. Saha21 Jul
  • Re: Error bulding MySQL++ on Solaris 10Warren Young21 Jul
    • Re: Error bulding MySQL++ on Solaris 10Amit k. Saha21 Jul
      • Re: Error bulding MySQL++ on Solaris 10Warren Young21 Jul
        • Re: Error bulding MySQL++ on Solaris 10Amit k. Saha21 Jul
          • Re: Error bulding MySQL++ on Solaris 10Warren Young21 Jul
        • Re: Error bulding MySQL++ on Solaris 10Amit k. Saha21 Jul
          • Re: Error bulding MySQL++ on Solaris 10Amit k. Saha21 Jul
            • Re: Error bulding MySQL++ on Solaris 10Amit k. Saha21 Jul
              • Re: Error bulding MySQL++ on Solaris 10Warren Young21 Jul
                • Re: Error bulding MySQL++ on Solaris 10Amit k. Saha21 Jul
                  • Re: Error bulding MySQL++ on Solaris 10Amit k. Saha21 Jul
                    • Re: Error bulding MySQL++ on Solaris 10Warren Young26 Jul