Skip to Content.
Sympa Menu

freetds - Re: compile problems on dg/ux

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT umcc.ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: compile problems on dg/ux
  • Date: Thu, 16 Sep 1999 18:26:14 -0400 (EDT)


I haven't needed to add -lsocket and such in the library compile, but only
when linking against the library. So I don't think that is the problem
(yet). PATH_MAX is defined like this on my system:

/usr/include/sys/syslimits.h:#define PATH_MAX 1024

So, either it is missing, or its somewhere else, or syslimits is not
getting included. I'd recommend greping /usr/include and /usr/include/sys
for it and seeing where it is and then #include'd it. If it's missing
just add the #define to util.c

Brian (I had a brush with AOS/VS years ago...and didn't realize DG was
still alive and kicking)

On Thu, 16 Sep 1999, Jeff Driscoll wrote:

> On 09/16/99, "Brian Bruns <camber AT umcc.ais.org>" wrote:
> > DG/UX? Wow. Autoconf/automake is not required, it will simply use them if
> > you have them. As far as the make error goes, freetds requires gmake, so
> > I'd guess that is the problem there. I suppose I should fix configure to
> > bomb if gmake isn't there.
> >
> > Hope this helps
> >
> > Brian
> >
> > On Thu, 16 Sep 1999, Jeff Driscoll wrote:
> >
>
> I am sure you don't see much of DG/UX. I am making progress.
>
> I obtained version 3.77 of gmake from www.gnu.org, compiled, and installed
> on my DG/UX system. I then removed config.cache and then ./configure.
> This is the end of the output of gmake.
>
> I have had to modify the LIBS setting when compiling other programs under
> DG/UX that are networking oriented. I have to add -lsocket -lresolv and
> -lnsl. Where do I add them with the gmake type Makefiles? Maybe that is
> the problem here?
>
> gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.46\" -DSTDC_HEADERS=1
> -DHAVE_SYS_WAIT_H=
> 1 -DHAVE_UNISTD_H=1 -DHAVE_STRFTIME=1 -I. -I. -I../../include -g -O2
> -DHW_LITTLE
> _ENDIAN -DTDS50 -Wp,-MD,.deps/util.pp -c -fPIC -DPIC util.c -o
> .libs/util.lo
> util.c: In function `lookup_host':
> util.c:87: warning: passing arg 1 of `getservbyname' discards `const' from
> point
> er target type
> util.c: In function `search_interface_file':
> util.c:132: `PATH_MAX' undeclared (first use this function)
> util.c:132: (Each undeclared identifier is reported only once
> util.c:132: for each function it appears in.)
> util.c:132: size of array `pathname' has non-integer type
> gmake[2]: *** [util.lo] Error 1
> gmake[2]: Leaving directory `/fs1/jeff/c/freetds/src/tds'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/fs1/jeff/c/freetds/src'
> gmake: *** [all-recursive] Error 1
> dgtest#
>
>
> ---
> You are currently subscribed to freetds as: camber AT ais.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
>






Archive powered by MHonArc 2.6.24.

Top of Page