ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [mdk-re] math.h
@ 2001-02-22  6:24 Pavel Marakhovsky
  2001-02-22  6:31 ` Aleksey Novodvorsky
  2001-02-22  6:36 ` Dmitry V. Levin
  0 siblings, 2 replies; 7+ messages in thread
From: Pavel Marakhovsky @ 2001-02-22  6:24 UTC (permalink / raw)
  To: Linux-Mandrake Russian Edition Mailing List

Здравствуйте

Начал тут ДЗ делать, и вдруг вот что вылезло:

[root@earth /]# gcc -otest2 ./test2.c
/tmp/cc4yA1Yt.o: In function `main':
/tmp/cc4yA1Yt.o(.text+0x14): undefined reference to `sin'
collect2: ld returned 1 exit status

[root@earth /]# cat test2.c
#include<stdio.h>
#include<math.h>

int main(void)
{
        printf("\n%f\n",sin(2));
        return 0;
}

Это за глюки? и как бы можно это исправить...
Спасибо...
----
WBW, Unatine
e-mail: unatine@mail.ru

"There are some qualities, some incorporate things,
 That have a double life, which thus is made
 A type of twin entity which springs
 From matter and light, evinced in solid and shade."
                        ---Edgar Allan Poe, "Silence"



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-02-25  8:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-22  6:24 [mdk-re] math.h Pavel Marakhovsky
2001-02-22  6:31 ` Aleksey Novodvorsky
2001-02-22 16:22   ` Pavel Marakhovsky
2001-02-24 20:17     ` Mikhail Zabaluev
2001-02-25  8:48       ` Pavel Marakhovsky
2001-02-22  6:36 ` Dmitry V. Levin
2001-02-22 16:22   ` Pavel Marakhovsky

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git