This is the mail archive of the
mailing list for the Cygwin project.
- To: "Cygwin List (E-mail)" <cygwin at sourceware dot cygnus dot com>
- Subject: libnetapi32
- From: Peter Mount <petermount at it dot maidstone dot gov dot uk>
- Date: Mon, 11 Oct 1999 13:11:08 +0100
I'm trying to use the Win32 function NetRemoteTOD, but whenever I try to
link, I get the following:
bash-2.02$ make test.exe
gcc -o test.exe mbclogon.o bitmaps.o command.o profgen.o registry.o
script.o text.o time.o -lnetapi32 -mwindows -luser32 -lgdi32
time.o(.text+0x4c):time.c: undefined reference to `NetRemoteTOD'
collect2: ld returned 1 exit status
make: *** [test.exe] Error 1
Now I know that this function is in the netapi32 library, but the linker
seems to have problems.
Also, this function doesn't seem to be defined in any of the header
files (I had to create my own).
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org