delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/06/01:23:47

From: oyehia AT oracle DOT dsuper DOT net ("Who cares...")
Subject: Re: dlltool and ld combination does not work
6 Feb 1997 01:23:47 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.OSF.3.91.970206034053.18732A-100000.cygnus.gnu-win32@oracle>
Mime-Version: 1.0
Original-To: Bappa Pal <pal AT holly DOT mdd DOT com>
Original-Cc: gnu-win32 AT cygnus DOT com
In-Reply-To: <199702051815.NAA09584@holly.mdd.com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com


On Wed, 5 Feb 1997, Bappa Pal wrote:

> 
> I am getting an error everytime I use ld to build the dll. The test case I
> am using is very simple. I have a C file called vp_print.c with the
> following code:
> 
> #include <stdio.h>
> #include <stdlib.h>
You are missing:
 #include <string.h>
> 
> void vp_print(char *str_txt)
> {
> 	char str[10];
> 
>       strcpy(str, str_txt);
        ^^^^^^ that is in string.h :)
> 
> }
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019