Xref: utzoo comp.databases:9023 gnu.g++.help:532 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!csn!tramp.Colorado.EDU!haverlan From: haverlan@tramp.colorado.edu (HAVERLAND MARC BRADLEY) Newsgroups: comp.databases,gnu.g++.help Subject: Using Sybase DB-Library and g++ ?? Message-ID: <1991Mar1.063315.20306@csn.org> Date: 1 Mar 91 06:33:15 GMT Sender: news@csn.org (news) Organization: University of Colorado, Boulder Lines: 19 Originator: haverlan@tramp.Colorado.EDU Nntp-Posting-Host: tramp.colorado.edu Hello net, I am trying to use Sybase's DB-Library with g++. I have been able to compile and run all the example programs with gcc, and have successfully written another, but I'm having trouble using g++. All programs compile and run fine with gcc. I have rewritten the parts of the sybase header files that I need now (added ANSI prototypes), but when I try to compile with g++, all the db___ calls are "undefined symbols referenced in text segment." That is, dbbind.o, dbinit.o, etc. I am using libsybdb.a, and it seems to be finding the library ok, just not the functions in it. Any input, sample source, etc. would be most welome. Thanks, Marc Haverland haverlan@tramp.colorado.edu 303-760-5647