Date: Mon, 3 May 1999 09:00:00 +0200 From: German Tischler <tanis@gaspode.franken.de> To: Donald <druid@eoe-magical.org> Cc: freebsd-questions@freebsd.org Subject: Re: gcc compiler Message-ID: <19990503090000.A555@gaspode.franken.de> In-Reply-To: <372CCFC8.98F2409@eoe-magical.org>; from Donald on Sun, May 02, 1999 at 11:20:57PM %2B0100 References: <199905030404.AAA20284@cc942873-a.ewndsr1.nj.home.com> <372CCFC8.98F2409@eoe-magical.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 02, 1999 at 11:20:57PM +0100, Donald wrote: > In compiling a program using > gcc filename.c -o filename -lm > I get an error > Undefined sysbol _ltoa referenced from text segment > > from this I figure that as I am not making a call to the function > LongToAscii (ltoa) that some part of a call is, what lib needs to > be loaded for this to work. > I assumed the -lm was what was needed. > I think there ain't no such thing as an ltoa function in ANSI C. Are your sure you don't want to use sprintf ? (or better snprintf ?) -- German Tischler tanis@gaspode.franken.de Apple eaten (core dumped) tanis@cip.informatik.uni-wuerzburg.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990503090000.A555>