Skip to Content.
Sympa Menu

freetds - RE: [freetds] 0.61 tsql core dump, locale = "C C C C C C"

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] 0.61 tsql core dump, locale = "C C C C C C"
  • Date: Thu, 15 May 2003 18:53:17 -0000

Il gio, 2003-05-15 alle 20:31, Cooperstock, Dan ha scritto:
> Just to be clear, both long * and int * are 8-byte pointers. However, int is
> a 4-byte datatype, and long is 8-byte.
>

You are right, I expressed myself badly...

> I've forgotten which is which of big-endian and little-endian. But I wrote a
> small test program, and set an int to 1. The 1 showed up in the right-most
> of the 4 bytes in the int.
>
> After making the change of adding "#define _XOPEN_SOURCE_EXTENDED" to my
> config.h, here's what happens in the compile:
>
> cpp: "convert.c", line 2650: warning 2013: Unknown preprocessing directive.
>
> On line 2650, I see "#!perl", which obviously is not valid. It's within a
> section "#ifdef DONT_TRY_TO_COMPILE_THIS", but obviously my compiler still
> complains. We're using the standard HP-UX C Compiler.
>

It's only a warning, ignore it. It's just a perl syntax (there is some
perl code nested to convert.c)

> The other warning has gone away, but there's a new one, apparently on

Good!

> linking tdspool:
> ld: (Warning) Unsatisfied symbol "htons" in file
> ../server/.libs/libtdssrv.sl
>
> I'm not really planning to use tdspool, but maybe this is an indication of
> some other problem that we need to be concerned about.
>

You can use --disable-pool option to configure.

>
> Dan Cooperstock, Senior Technical Consultant, HEPCOE Credit Union
> dcoops AT hepcoe.com 416-597-5055
>

Thank you very much for your patience and feedback.

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page