ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/05/14/04:00:39

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Mon, 14 May 2007 09:49:36 +0200
From: Robert Riebisch <Robert DOT Riebisch AT arcor DOT de>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: undefined reference to `strdupa'
References: <20070511181239 DOT GV3209 AT freenet DOT de>
In-Reply-To: <20070511181239.GV3209@freenet.de>
Lines: 18
Message-ID: <4648148b$0$6393$9b4e6d93@newsspool2.arcor-online.net>
Organization: Arcor
NNTP-Posting-Date: 14 May 2007 09:49:31 CEST
NNTP-Posting-Host: bb6ba11e.newsspool2.arcor-online.net
X-Trace: DXC=2>eTI5b=29a9kIfcjg:0fdA9EHlD;3Ycb4Fo<]lROoRa8kF<OcfhCOkSI7dM60KRQe AT 7I?X^RmUKjdGVbnUUgeogWHLg[ER0e0nMI;:^l1Rkhn
X-Complaints-To: usenet-abuse AT arcor DOT de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Michelle Konzack schrieb:

> $ gcc -Wall -I/usr/include -o z_test z_test.c 
> z_test.c: In function 'main':
> z_test.c:11: warning: implicit declaration of function 'strdupa'
> z_test.c:11: warning: assignment makes pointer from integer without a cast
> /tmp/michelle.konzack.r23246/ccSIU3aN.o: In function `main':
> z_test.c:(.text+0x37): undefined reference to `strdupa'
> collect2: ld returned 1 exit status
> 
> which is the first time I see this error.  --  WHY?

DJGPP 2.03 or 2.04 does not have strdupa(). You need an updated Glibc.

-- 
Robert Riebisch
Bitte NUR in der Newsgroup antworten!
Please reply to the Newsgroup ONLY!

- Raw text -


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