From: Pavel Marakhovsky <_troggy_@mtu-net.ru> To: Linux-Mandrake Russian Edition Mailing List <mandrake-russian@linuxteam.iplabs.ru> Subject: [mdk-re] math.h Date: Thu Feb 22 06:24:01 2001 Message-ID: <20010221192117.A44C93A3@earth.universe> (raw) Здравствуйте Начал тут ДЗ делать, и вдруг вот что вылезло: [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"
next reply other threads:[~2001-02-22 6:24 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-02-22 6:24 Pavel Marakhovsky [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20010221192117.A44C93A3@earth.universe \ --to=_troggy_@mtu-net.ru \ --cc=mandrake-russian@linuxteam.iplabs.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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