Article View: gnu.gcc.help
Article #41958Undefined Symbol (2.7.2)?
From: B Pickford
Date: Mon, 29 Jan 1996 00:00
Date: Mon, 29 Jan 1996 00:00
13 lines
709 bytes
709 bytes
When executing the following I get :
gcc gd.c
collect2 : ld returned 2 exit status
ld : Undefined Symbol
_main
_floor
Now the _main I understand, it,s because this is a library and
doesnot contain the main function. However _floor is part of
math, and math.h is included, so what is going wrong.
Many thanks Fraser
Technical Details
Message-ID:
<4ei5v4$cvq@bignews.shef.ac.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6aba21e7af3fe9cd,start X-Google-Attributes: gid11318c,public From: ci1bfp@sunc.sheffield.ac.uk (B Pickford) Subject: Undefined Symbol (2.7.2)? Date: 1996/01/29 Message-ID: <4ei5v4$cvq@bignews.shef.ac.uk> X-Deja-AN: 138161056 organization: University of Sheffield, UK newsgroups: gnu.gcc.help