Skip to Content.
Sympa Menu

freetds - Re: Connecting to Sybase on NT

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Jeff Driscoll" <jdriscol AT gate.net>
  • To: freetds
  • Subject: Re: Connecting to Sybase on NT
  • Date: Fri, 8 Oct 1999 1:16:10


On 10/07/99, ""Jeff Driscoll" <jdriscol AT gate.net>" wrote:
> On 10/07/99, "Michael Peppler <mpeppler AT peppler.org>" wrote:
> > $ cat /usr/local/freetds/interfaces
> > symposium
> > query tcp ether 192.168.224.10 5000
> > master tcp ether 192.168.224.10 5000
>
> Is the first char there a tab?
>
I got it to work. I changed the entry in the interfaces file to the
following effectively changing the dot notation to a server name.

symposium
query tcp ether symposium 5000
master tcp ether symposium 5000

The root problem may be the following warning when compiling. I mentioned
this in a previous thread.

util.c: In function `lookup_host':
util.c:90: warning: passing arg 1 of `getservbyname' discards `const' from
point
er target type

Here is the portion of the man page for getservbyname on dgux:

struct servent *getservbyname(name, proto)
char *name, *proto;

This is the man page for gethostbyname on dgux:

struct hostent *gethostbyname(name)
const char *name;





Archive powered by MHonArc 2.6.24.

Top of Page