|
|
Choosing A Webhost: |
Re: How to compile SQLDBC program: msg#00231db.maxdb
By the way, I get the errors below (with libSQLDBC.a) on a SuSE 7.3 System. (Dynamic linking works) SuSE 7.3: (gcc version 2.95.3 20010315 (SuSE)) --------- 1. Works: $ g++ test.cpp -I sqldbc/sdk/sqldbc/incl/ -L sqldbc/lib/ -lSQLDBC 2. Does not Work: $ g++ test.cpp sqldbc/sdk/sqldbc/lib/libSQLDBC.a -I sqldbc/sdk/sqldbc/incl/ .... libsqlthread.rel.o(.text+0x1576): undefined reference to `sql57k_pfree' sqldbc/sdk/sqldbc/lib/libSQLDBC.a(libsqlthread.rel.o): In function `sqltimedwaitsem': libsqlthread.rel.o(.text+0x1659): undefined reference to `pthread_cond_timedwait' collect2: ld returned 1 exit status SuSE 9.2: (gcc version 3.3.4 (pre 3.3.5 20040809)) --------- 3. Does not Work: $ g++ test.cpp -I sqldbc/sdk/sqldbc/incl/ -L sqldbc/lib/ -lSQLDBC ..... /tmp/ccJp25Re.o(.text+0x319): In function `main': : undefined reference to `SQLDBC::SQLDBC_Environment::~SQLDBC_Environment [in-charge]()' /tmp/ccJp25Re.o(.text+0x34e): In function `main': : undefined reference to `SQLDBC::SQLDBC_Environment::~SQLDBC_Environment [in-charge]()' /tmp/ccJp25Re.o(.text+0x378): In function `main': : undefined reference to `SQLDBC::SQLDBC_Environment::~SQLDBC_Environment [in-charge]()' collect2: ld returned 1 exit status 4. Does not Work: $ g++ test.cpp sqldbc/sdk/sqldbc/lib/libSQLDBC.a -I sqldbc/sdk/sqldbc/incl/ ..... /tmp/ccwVwjvd.o(.text+0x319): In function `main': : undefined reference to `SQLDBC::SQLDBC_Environment::~SQLDBC_Environment [in-charge]()' /tmp/ccwVwjvd.o(.text+0x34e): In function `main': : undefined reference to `SQLDBC::SQLDBC_Environment::~SQLDBC_Environment [in-charge]()' /tmp/ccwVwjvd.o(.text+0x378): In function `main': : undefined reference to `SQLDBC::SQLDBC_Environment::~SQLDBC_Environment [in-charge]()' collect2: ld returned 1 exit status Where could the problem be? Why does only 1. Work? I also did a 'ranlib sqldbc/sdk/sqldbc/lib/libSQLDBC.a' on both systems. but it didn't help. Greetings, and thank you very much in advance. Andre' Andre Reitz wrote: I called: -- __________________________________________________________________________ Als Technologieunternehmen konzipieren und entwickeln wir maßgeschneiderte Feedback- und Monitoring-Systeme - wie beispielsweise Lösungen für Beschwerde- und Ideenmanagement. Mit dem Inquery® Survey Server bieten wir eine der leistungsfähigsten Standardlösungen für Online-Umfragen mit dem Schwerpunkt auf der Messung von Kundenzufriedenheit an. __________________________________________________________________________ Inworks GmbH Andre Reitz, Leiter Entwicklung Hörvelsinger Weg 39, 89081 Ulm, Germany Tel +49 (0) 731 / 93807-21 Fax +49(0)731/93807-18 Internet: http://www.inworks.de -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | SapDB crash with a SELECT statement, clovis_wichoski |
|---|---|
| Next by Date: | RE: How to compile SQLDBC program, "Döhr, Markus ICC-H" |
| Previous by Thread: | Re: How to compile SQLDBC program, Andre Reitz |
| Next by Thread: | RE: How to compile SQLDBC program, "Döhr, Markus ICC-H" |
| 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
| advertise | OSDir is
an inevitable website.
|