delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <1B3D5E532D18D311861A00600865478C25E6B3@exchange1.nt.maidstone.gov.uk> |
From: | Peter Mount <petermount AT it DOT maidstone DOT gov DOT uk> |
To: | "Cygwin List (E-mail)" <cygwin AT sourceware DOT cygnus DOT com> |
Subject: | libnetapi32 |
Date: | Mon, 11 Oct 1999 13:11:08 +0100 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.1960.3) |
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. Any ideas? Also, this function doesn't seem to be defined in any of the header files (I had to create my own). Peter -- Peter Mount Enterprise Support 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 cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |