This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Need help with some missing functions
- To: "'gnu-win32 at cygnus dot com'" <gnu-win32 at cygnus dot com>, "'Mark A Gregory'" <m dot gregory at rmit dot edu dot au>
- Subject: RE: Need help with some missing functions
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Wed, 28 May 1997 13:06:38 +0400
- Encoding: 38 TEXT
Mark A Gregory wrote:
> Hi,
>
> I'm trying to compile a program and I have got it down to these missing
functions:
>
> /empire/emp4/lib/libcommands.a(info.o)(.text+0x37e):info.c: undefined
reference to `errno'
> /empire/emp4/lib/libcommands.a(info.o)(.text+0x552):info.c: undefined
reference to `alphasort'
> /empire/emp4/lib/libcommands.a(info.o)(.text+0x56c):info.c: undefined
reference to `scandir'
> /empire/emp4/lib/libcommon.a(hours.o)(.text+0xaf):hours.c: undefined
reference to `errno'
> /empire/emp4/lib/libcommon.a(wantupd.o)(.text+0x96):wantupd.c: undefined
reference to `errno'
> /empire/emp4/lib/libgen.a(io.o)(.text+0xc33):io.c: undefined reference to
`shutdown'
> /empire/emp4/lib/libgen.a(io.o)(.text+0xc5c):io.c: undefined reference to
`shutdown'
> /empire/emp4/lib/liblwp.a(lwp.o)(.text+0x39b):lwp.c: undefined reference
to `sigmask'
> /empire/emp4/lib/liblwp.a(lwp.o)(.text+0x65e):lwp.c: undefined reference
to `lwpInitContext'
>
> would someone please tell me if the gnu-win32 has alternatives or a
library that I
> need to include.
Add #include <errno.h> to info.c, hours.c and wantupd.c, use POSIX
sigprocmask() instead of BSD sigmask(). Looks like scandir() is something
about POSIX opendir/readdir. Nothing about the other missed calls...
--
Sergey Okhapkin
Moscow, Russia
Looking for a job.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".