Date: Sun, 24 Nov 1996 21:58:57 -0800 (PST) From: hosokawa@mt.cs.keio.ac.jp To: freebsd-gnats-submit@freebsd.org Subject: misc/2098: Missing asprintf()/vasprintf() on 2.1.6-RELEASE Message-ID: <199611250558.VAA06559@freefall.freebsd.org> Resent-Message-ID: <199611250600.WAA06636@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 2098
>Category: misc
>Synopsis: Missing asprintf()/vasprintf() on 2.1.6-RELEASE
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 24 22:00:01 PST 1996
>Last-Modified:
>Originator: Tatsumi Hosokawa
>Organization:
Keio University
>Release: 2.1.6-RELEASE
>Environment:
FreeBSD ryukyu.mt.cs.keio.ac.jp 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #0: Mon Nov
25 12:46:38 JST 1996 hosokawa@ryukyu.mt.cs.keio.ac.jp:/usr1/src/sys/compile/
RYUKYU i386
>Description:
I can compile following C program on 2.2-ALPHA, but not on 2.1.6-RELEASE.
#include <stdio.h>
main()
{
char *p;
asprintf(&p, "Hello, World!");
printf("%s\n", p);
}
Error message follows.
% cc hoge.c
/var/tmp/cc0139781.o: Undefined symbol `_asprintf' referenced from text segment
>How-To-Repeat:
Compile any C programs which has asprintf() and/or vasprintf().
>Fix:
I have no idea. Sorry.
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611250558.VAA06559>
