From: scor <scor@mf.volsu.ru>
To: community@altlinux.ru
Subject: Re: [Comm] compiling cpp and c files
Date: Thu, 21 Oct 2004 23:28:17 +0400
Message-ID: <20041021192817.GB17004@scor2k.vlink.ru> (raw)
In-Reply-To: <4177B3CA.2020803@ricom.ru>
On Thu, Oct 21, 2004 at 05:04:10PM +0400, Alexey Morsov wrote:
> Привет,
>
> Хочу скомпилировать вместе main.cpp и common.c - и не получается.
> Т.е. make компилит отдельно и то и другое но вместе их сливать ен
> зочет, ругается что в файле main.cpp undefined function **** -
> которая как раз в common.c .
>
> Как это можно соить (ведь можно же как-то)?
--makefile--
xmain: board.o
g++ main.cpp -o xmain board.o -g -lgrx20X -lX11 -L/usr/X11R6/lib
board.o:
g++ board.cpp -g -o board.o -lgrx20X -lX11 -L/usr/X11R6/lib
clear:
rm -f xmain *.o
--end--
--
С уважением: scor_at_mf.volsu.ru
------- ICQ UIN 346283813 -------
------ JID scor2k@jabber.ru -----
Здесь вам не тут - здесь вас быстро отвыкнут водку пьянствовать
и безобразия нарушать.
prev parent reply other threads:[~2004-10-21 19:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-21 13:04 Alexey Morsov
2004-10-21 15:39 ` Yuri N. Glibovetz
2004-10-22 6:33 ` Alexey Morsov
2004-10-21 15:42 ` Denis Kirienko
2004-10-22 6:32 ` Alexey Morsov
2004-10-22 9:02 ` Yuri N. Glibovetz
2004-10-22 9:23 ` Alexey Morsov
2004-10-22 9:36 ` Yuri N. Glibovetz
2004-10-22 9:53 ` Alexey Morsov
2004-10-21 19:28 ` scor [this message]
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=20041021192817.GB17004@scor2k.vlink.ru \
--to=scor@mf.volsu.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