Mailing List Archive



Back to the month index Back to the list index

Andre R. Kruger (akruger@ocii.com)
Sun, 06 Apr 1997 18:51:40 -0600


Message-Id: <3348451C.6A2E@ocii.com>
Date: Sun, 06 Apr 1997 18:51:40 -0600
From: "Andre R. Kruger" <akruger@ocii.com>
Subject: Re: [mSQL] ld problem with gcc / libmsql

You will love the fix to this one ....

gcc -L/usr2/Hughes/lib test.c -lmsql -lsocket -lnsl

David Mantripp wrote:
>
> Having just fixed the same problem as Andre Kruger had (with a real kludge,
> which I've replaced with his time.h patch), I now get this:
>
> gcc -L/usr2/Hughes/lib test.c -lmsql
> Undefined first referenced
> symbol
> in file
> socket
> /usr2/Hughes/lib/libmsql.a(libmsql.o)
> gethostbyname
> /usr2/Hughes/lib/libmsql.a(libmsql.o)
> setsockopt
> /usr2/Hughes/lib/libmsql.a(libmsql.o)
> inet_addr
> /usr2/Hughes/lib/libmsql.a(libmsql.o)
> shutdown
> /usr2/Hughes/lib/libmsql.a(libmsql.o)
> connect
> /usr2/Hughes/lib/libmsql.a(libmsql.o)
> ld: fatal: Symbol referencing errors.
> No output written to a.out
>
> Any hints, anyone ? I'm not a proper C programmer I'm afraid. Just trying
> to get around the problems I'm having using Lite.
>
> I'm now running v2.0B5 (which compiled fine under Solaris 2.5) - I followed
> the instructions and exported my B4 files using msqldump, and then
> re-imported using msql ... < dumpfile ... and I'm getting a lot of
> errors which appear to involve integer fields. Has anyone else had this
> sort of problem /
>
> Thanks
>
> David Mantripp
>
> --------------------------------------------------------------------------
> 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!