From: Ray Olszewski <ray@comarre.com>
To: linux-newbie@vger.kernel.org
Subject: Re: Debian libc6 upgrade
Date: Tue, 27 Jan 2004 14:16:00 -0800 [thread overview]
Message-ID: <5.1.0.14.1.20040127140555.01fe9d38@celine> (raw)
In-Reply-To: <Pine.LNX.4.53.0401272330090.501@grinch.ro>
At 11:34 PM 1/27/2004 +0200, caszonyi@rdslink.ro wrote:
>On Tue, 27 Jan 2004, Michael Scondo wrote:
>
> > Hi to all,
> > I'm running a mixed Debian Woody, with a few backports and libc6 2.3.1-16.
> > Now I would like to upgrade to libc6 2.3.2.ds1-10.
> > Anything runs fine - until I try to compile a program :
Sorry I missed this the first time through. Let me ask the basic question:
when you upgraded libc6, did you also upgrade libc6-dev (the .deb with the
header files) to match?
I run Sid here, so offhand I do not know what libc6 is "current" for Woody
... so I can't deduce from what you posted if you did your libc6 upgrade
through Debian package management or if it is part of what makes this what
you call a "mixed" system.
[...]
> > cpp -o hallo hallo.cpp
> > micha@betageuze:~/prog/test/t2$ ./hallo
> > bash: ./hallo: Permission denied
> > micha@betageuze:~/prog/test/t2$ chmod a+x ./hallo
[remainder deleted]
This part is just a plain mistake --- cpp does not yield executable code;
it is just a preprocessor tha outputs source. The errors you got occur
because the system is trying to process the text as a seris of shell commands.
You want to use gcc to compile and link C code, as you did later (omitted
here). The error from that is probably a header mismatch.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2004-01-27 22:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-27 20:40 Debian libc6 upgrade Michael Scondo
2004-01-27 21:34 ` caszonyi
2004-01-27 22:16 ` Ray Olszewski [this message]
2004-01-28 15:52 ` Micha
2004-01-28 21:27 ` Michael Scondo
2004-01-28 22:24 ` Michael Scondo
2004-01-28 22:30 ` Ray Olszewski
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=5.1.0.14.1.20040127140555.01fe9d38@celine \
--to=ray@comarre.com \
--cc=linux-newbie@vger.kernel.org \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox