Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
John Pocock got error -4604 compiling a 4GL program with i4gl on SCO 5.05, with an undefined getspnam symbol from libos.a. David Stes said on UnixWare getspnam is a shadow-password function in libgen and pointed out libgen.a conflicts. John worked around it by adding an empty getspnam function to his 4GL, but the missing library was not identified.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
John Pocock — — source: Informix-list mailing list archive (1991-1998)
I am trying to compile an executable program through i4gl
(i4gl/module/compile/runable) & I get the following error:-
-4604: Error(s) found in 4GL module.
If I edit the file it has the following in:-
| The following errors were discovered during compilation.
|
|Undefined first referenced
| symbol in file
|getspnam /informix/lib/tools/libos.a(ospasswd.o)
|john.4ge: fatal error: Symbol referencing errors. No output written to
john.4ge
|
Is it something as simple as an environment variable?
Thanks in advance,
John.
↪ replying to John Pocock
David Stes — — source: Informix-list mailing list archive (1991-1998)
I have seen similar things on Unixware 7.x. (what OS do you use?)
In the case of UW7 if I remember correctly, getspnam is a function for
shadow passwords and is defined in libgen (add -L/usr/ccs/lib -lgen or
something like that). See also man getspnam.
One of the thing that worried me was that there was both a libgen.a of
informix and a libgen.a of Unixware ... (so you have to be careful with
-L flags).
John Pocock wrote:
>
> I am trying to compile an executable program through i4gl
> (i4gl/module/compile/runable) & I get the following error:-
>
> -4604: Error(s) found in 4GL module.>
> If I edit the file it has the following in:-
>
> | The following errors were discovered during compilation.
> |
> |Undefined first referenced
> | symbol in file
> |getspnam /informix/lib/tools/libos.a(ospasswd.o)
> |john.4ge: fatal error: Symbol referencing errors. No output written to
> john.4ge
> |
>
> Is it something as simple as an environment variable?
>
> Thanks in advance,
>
> John.
--
--
David Stes Molenstraat 5 B-2018 Antwerpen, Vlaanderen, Belgie
Tel +32 3 237 43 54 Fax +32 3 237 40 76 Email stes@pandora.be
↪ replying to John Pocock
John Pocock — — source: Informix-list mailing list archive (1991-1998)
Answering my own question here, sort of, I added
function getspnam()
end function
to the end of the 4gl & it resolved the problem, but obviously I am missing
a library or something, somewhere . . .any ideas?
Thanks,
John.
"John Pocock" <jpocock@hotmail.com> wrote in message
news:8p88o0$1mfb$1@nnrp01.ops.uunet.co.za...
> I am trying to compile an executable program through i4gl
> (i4gl/module/compile/runable) & I get the following error:-
>
> -4604: Error(s) found in 4GL module.>
> If I edit the file it has the following in:-
>
> | The following errors were discovered during compilation.
> |
> |Undefined first referenced
> | symbol in file
> |getspnam /informix/lib/tools/libos.a(ospasswd.o)
> |john.4ge: fatal error: Symbol referencing errors. No output written to
> john.4ge
> |
>
> Is it something as simple as an environment variable?
>
> Thanks in advance,
>
> John.
>
>
>
>
>
↪ replying to David Stes
John Pocock — — source: Informix-list mailing list archive (1991-1998)
SCO 5.05
"David Stes" <stes@pandora.be> wrote in message
news:39B7A7EC.ADCE4780@pandora.be...
>
> I have seen similar things on Unixware 7.x. (what OS do you use?)
>
> In the case of UW7 if I remember correctly, getspnam is a function for
> shadow passwords and is defined in libgen (add -L/usr/ccs/lib -lgen or
> something like that). See also man getspnam.
>
> One of the thing that worried me was that there was both a libgen.a of
> informix and a libgen.a of Unixware ... (so you have to be careful with
> -L flags).
>
>
> John Pocock wrote:
> >
> > I am trying to compile an executable program through i4gl
> > (i4gl/module/compile/runable) & I get the following error:-
> >
> > -4604: Error(s) found in 4GL module.> >
> > If I edit the file it has the following in:-
> >
> > | The following errors were discovered during compilation.
> > |
> > |Undefined first referenced
> > | symbol in file
> > |getspnam /informix/lib/tools/libos.a(ospasswd.o)
> > |john.4ge: fatal error: Symbol referencing errors. No output written to
> > john.4ge
> > |
> >
> > Is it something as simple as an environment variable?
> >
> > Thanks in advance,
> >
> > John.
>
> --
>
> --
> David Stes Molenstraat 5 B-2018 Antwerpen, Vlaanderen, Belgie
> Tel +32 3 237 43 54 Fax +32 3 237 40 76 Email stes@pandora.be
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.