Mailing List Archive



Back to the month index Back to the list index

Andre R. Kruger (akruger@ocii.com)
Mon, 31 Mar 1997 22:04:10 -0700


Message-Id: <3340974A.2F5@ocii.com>
Date: Mon, 31 Mar 1997 22:04:10 -0700
From: "Andre R. Kruger" <akruger@ocii.com>
Subject: Re: [mSQL] Problem with Beta 5 and Solaris 2.5

I fixed this problem when I put an
#include <time.h>

in the msql.h file ... not elegant but it fixed it

Andre R. Kruger wrote:
>
> msql compiled just fine and I even compiled the latestversion of pmsql
> the problem comes when I try to just try to compile a simple program
> that uses the C API
>
> I get this when I compile any program
>
> gcc -L /web/mSQL/lib -I /web/mSQL/include test.c -lmsql
> In file included from test.c:2:
> /web/mSQL/include/msql.h:116: warning: parameter names (without types)
> in function declaration
> /web/mSQL/include/msql.h:117: warning: parameter names (without types)
> in function declaration
> /web/mSQL/include/msql.h:130: parse error before `msqlDateToUnixTime'
> /web/mSQL/include/msql.h:130: warning: data definition has no type or
> storage class
> /web/mSQL/include/msql.h:131: parse error before `msqlTimeToUnixTime'
> /web/mSQL/include/msql.h:131: warning: data definition has no type or
> storage class
>
> Any ideas?
>
> gcc -v
> Reading specs from
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/specs
> gcc version 2.7.2.1
>
> msql2d &
>
> Mini SQL Version 2.0 Beta 5 Pre2
> Copyright (c) 1993-94 David J. Hughes
> Copyright (c) 1995-97 Hughes Technologies Pty Ltd.
> All rights reserved.
>
> Loading configuration from '/web/mSQL/msql.conf'.
> Server process reconfigured to accept 214 connections.
> Server running as user 'msql'.
>
> This Beta test release expires in 39 days.
>
> --
> Andre R. Kruger Mailto:akruger@ocii.com
> Vice President Research and Development Tel +4034342363 Fax
> +4034382941
> Open Concept International http://www.ocii.com/
>
> "I remember the day well it was 3 against 100. Those 3 were the
> toughest guys we ever fought"
> --------------------------------------------------------------------------
> To remove yourself from the Mini SQL mailing list send a message containing
> "unsubscribe" to > "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
> "info msql-list" to majordomo@bunyip.com for info on monthly archives of
> the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!

-- 
Andre R. Kruger                            Mailto:akruger@ocii.com
Vice President Research and Development    Tel +4034342363 Fax
+4034382941
Open Concept International                 http://www.ocii.com/

"I remember the day well it was 3 against 100. Those 3 were the toughest guys we ever fought" -------------------------------------------------------------------------- To remove yourself from the Mini SQL mailing list send a message containing "unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing "info msql-list" to majordomo@bunyip.com for info on monthly archives of the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!