From: "Maxim A. Telegin" <maximtel@ibpm.pushchino.ru> To: community@altlinux.ru Subject: Re: [Comm] компиляция программ g++ Date: 20 Feb 2003 21:30:23 +0300 Message-ID: <1045765823.5225.10.camel@lab207.ibpm.serpukhov.su> (raw) In-Reply-To: <1045763157.5225.4.camel@lab207.ibpm.serpukhov.su> Вот, написал простенький примерчик на C++ и смоделировал ту же ошибку: main.cpp class abc { public: abc(); ~abc(); int a; }; abc::abc() { a = 1; }; abc::~abc() { }; int main() { abc *a = new abc; }; [maximtel@lab207 1]$ gcc main.cpp /home/maximtel/tmp/cc2seOx2.o: In function `main': /home/maximtel/tmp/cc2seOx2.o(.text+0x3e): undefined reference to `operator new(unsigned)' /home/maximtel/tmp/cc2seOx2.o(.text+0x69): undefined reference to `operator delete(void*)' /home/maximtel/tmp/cc2seOx2.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status Где крутить? Спасибо всем, кто поможет.
next prev parent reply other threads:[~2003-02-20 18:30 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-02-20 17:45 Maxim A. Telegin 2003-02-20 18:30 ` Maxim A. Telegin [this message] 2003-02-20 18:55 ` Denis S. Filimonov 2003-03-04 14:23 ` Maxim A. Telegin
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=1045765823.5225.10.camel@lab207.ibpm.serpukhov.su \ --to=maximtel@ibpm.pushchino.ru \ --cc=community@altlinux.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