Re: C compiler

2005-09-13 Thread Andrew Porter




On Tue, 2005-09-13 at 08:26 -0400, Shawn (Shu Xiang) Yu wrote:


Hello,

I am new here. I just installed Debian on my system. When I try to compile a
c code with gcc, I got error says undefined reference to 'sin'. This is
the same code run on Windows.

Anyone know how to fix it.



From man sin

#include math.h

 double sin(double x);
 float sinf(float x);
 long double sinl(long double x);

 Link with -lm.





signature.asc
Description: This is a digitally signed message part


Re: C compiler

2005-09-13 Thread Roberto C. Sanchez
On Tue, Sep 13, 2005 at 08:26:40AM -0400, Shawn (Shu Xiang) Yu wrote:
 Hello,
 
Hi,

Please don't hijack threads.  Start a new thread by sending a new
message.

 I am new here. I just installed Debian on my system. When I try to compile a
 c code with gcc, I got error says undefined reference to 'sin'. This is
 the same code run on Windows.
 
This list is concerned with development of Debian itself.  Your question
is more appropriate for debian-user.

-Roberto

-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto


pgpaLSWKxtXUh.pgp
Description: PGP signature


Re: C compiler

2005-09-13 Thread Shawn (Shu Xiang) Yu
Sorry. Could you let me know where I can get help for Debian user?

Thanks.

- Original Message - 
From: Roberto C. Sanchez [EMAIL PROTECTED]
To: debian-devel@lists.debian.org
Sent: Tuesday, September 13, 2005 8:32 AM
Subject: Re: C compiler




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: C compiler

2005-09-13 Thread Nico Golde
Hello Shawn,

* Shawn (Shu Xiang) Yu [EMAIL PROTECTED] [2005-09-13 14:40]:
 Sorry. Could you let me know where I can get help for Debian user?

Take a look at http://lists.debian.org/users.html and choose
the user list in your preferred language.
Regards Nico
-- 
Nico Golde - JAB: [EMAIL PROTECTED] | GPG: 0x73647CFF
http://www.ngolde.de | http://www.muttng.org | http://grml.org


pgpJ1k9DNN1Ow.pgp
Description: PGP signature