|
|
Sponsor |
simple(simple1.cc) compilation problem: msg#00182db.mysql.c++
Hi everyone, My environment: - Linux 2.6.7-1.7asp #1 Thu Jul 15 17:36:07 YEKST 2004 i686 i386 GNU/Linux - gcc version 3.3.2 20031022 (ASPLinux 3.3.2-1) - server version: 4.1.10a-standard - mysql Ver 14.7 Distrib 4.1.10a, for pc-linux-gnu (i686) - mysql++-1.7.30 I uninstall mysql Distrib 4.1.9, for pc-linux-gnu (i686): rpm -qa | grep -i mysql then I removed all MySQL packages, which are likely to be MySQL-shared, MySQL-server, MySQL-client: rpm --erase --nodeps <packagename> Then I installed MySQL official binary RPMs: rpm --install MySQL*rpm The following RPMs have been installed: MySQL-server-4.1.10a-0.i386.rpm MySQL-client-4.1.10a-0.i386.rpm MySQL-bench-4.1.10a-0.i386.rpm MySQL-devel-4.1.10a-0.i386.rpm MySQL-shared-4.1.10a-0.i386.rpm MySQL-shared-compat-4.1.10a-0.i386.rpm Then I installed mysql++-1.7.30: $ ./configure $ make $ su # make install When I tried to compile simple1.cc, I get error: $ g++ -I/usr/include/mysql -I/usr/include/mysql++ -o simple simple1.cc util.cc -lmysqlpp /usr/local/lib/libmysqlpp.so: undefined reference to `pthread_getspecific' /usr/local/lib/libmysqlpp.so: undefined reference to `pthread_key_delete' /usr/local/lib/libmysqlpp.so: undefined reference to `pthread_mutexattr_destroy' /usr/local/lib/libmysqlpp.so: undefined reference to `pthread_mutexattr_setkind_np' /usr/local/lib/libmysqlpp.so: undefined reference to `pthread_key_create' /usr/local/lib/libmysqlpp.so: undefined reference to `pthread_mutexattr_init' /usr/local/lib/libmysqlpp.so: undefined reference to `pthread_setspecific' collect2: ld returned 1 exit status Help me, pls. Many thanks Vitalij -- MySQL++ Mailing List For list archives: http://lists.mysql.com/plusplus To unsubscribe: http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: zlib and mysql++ build process, Warren Young |
|---|---|
| Next by Date: | Re: simple(simple1.cc) compilation problem, Warren Young |
| Previous by Thread: | zlib and mysql++ build process, Dennis McFall |
| Next by Thread: | Re: simple(simple1.cc) compilation problem, Warren Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|