List:MySQL++« Previous MessageNext Message »
From:Amit k. Saha Date:July 21 2008 6:29am
Subject:Re: Error bulding MySQL++ on Solaris 10
View as plain text  
On Mon, Jul 21, 2008 at 11:56 AM, Warren Young <mysqlpp@stripped> wrote:
> On Jul 20, 2008, at 11:50 PM, Amit k. Saha wrote:
>
>> When I do a make, i hit this error:
>>
>> make: Fatal error: Command failed for target `mysqlpp_beemutex.o'
>
>
> Please post the entire output from the "make" command.  I especially need to
> know what it says right before that: it will give the command that failed.
>  What I can say right now is that it's failing to build the first module in
> the library.  There's probably nothing particular about beemutex.cpp to
> cause this.  More likely, there's something wrong with your build setup.

Here is the entire output, after I do a 'make':

/home/as227057/dev-tools/mysql++-3.0.4/bk-deps g++ -c -o
mysqlpp_beemutex.o -I. -fPIC -DPIC
-I/home/as227057/dev-tools/mysql-install/include/mysql/ -g -O2
./lib/beemutex.cpp
./lib/beemutex.cpp:43: error: `mutex_t' does not name a type
./lib/beemutex.cpp:54: error: expected init-declarator before '*' token
./lib/beemutex.cpp:54: error: expected `,' or `;' before '*' token
./lib/beemutex.cpp: In constructor `mysqlpp::BeecryptMutex::BeecryptMutex()':
./lib/beemutex.cpp:65: error: `bc_mutex_t' has not been declared
./lib/beemutex.cpp:78: error: `impl_ptr' undeclared (first use this function)
./lib/beemutex.cpp:78: error: (Each undeclared identifier is reported
only once for each function it appears in.)
./lib/beemutex.cpp:78: error: `USYNC_THREAD' undeclared (first use
this function)
./lib/beemutex.cpp:78: error: `mutex_init' undeclared (first use this function)
./lib/beemutex.cpp: In destructor `mysqlpp::BeecryptMutex::~BeecryptMutex()':
./lib/beemutex.cpp:94: error: `impl_ptr' undeclared (first use this function)
./lib/beemutex.cpp:94: error: `mutex_destroy' undeclared (first use
this function)
./lib/beemutex.cpp: In member function `void mysqlpp::BeecryptMutex::lock()':
./lib/beemutex.cpp:116: error: `impl_ptr' undeclared (first use this function)
./lib/beemutex.cpp:116: error: `mutex_lock' undeclared (first use this function)
./lib/beemutex.cpp: In member function `bool mysqlpp::BeecryptMutex::trylock()':
./lib/beemutex.cpp:142: error: `impl_ptr' undeclared (first use this function)
./lib/beemutex.cpp:142: error: `mutex_trylock' undeclared (first use
this function)
./lib/beemutex.cpp: In member function `void mysqlpp::BeecryptMutex::unlock()':
./lib/beemutex.cpp:172: error: `impl_ptr' undeclared (first use this function)
./lib/beemutex.cpp:172: error: `mutex_unlock' undeclared (first use
this function)
*** Error code 1
make: Fatal error: Command failed for target `mysqlpp_beemutex.o'

Any other information you need?

Thanks.


-- 
Amit Kumar Saha
http://blogs.sun.com/amitsaha/
http://amitksaha.blogspot.com
Skype: amitkumarsaha
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