From: caszonyi@rdslink.ro
To: Michael Scondo <michael.scondo@arcor.de>
Cc: linux-newbie@vger.kernel.org
Subject: Re: Debian libc6 upgrade
Date: Tue, 27 Jan 2004 23:34:28 +0200 (EET) [thread overview]
Message-ID: <Pine.LNX.4.53.0401272330090.501@grinch.ro> (raw)
In-Reply-To: <200401272140.53742.michael.scondo@arcor.de>
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 :
>
> e.g.
> ____
> #include <stdio.h>
>
> int main()
> {
> printf("Hallo !\n");
> }
> ____
>
> cpp -o hallo hallo.cpp
> micha@betageuze:~/prog/test/t2$ ./hallo
> bash: ./hallo: Permission denied
> micha@betageuze:~/prog/test/t2$ chmod a+x ./hallo
> micha@betageuze:~/prog/test/t2$ ./hallo
> ./hallo: extern: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: typedef: command not found
> ./hallo: line 972: syntax error near unexpected token `;'
> ./hallo: line 972: `} __quad_t;'
> micha@betageuze:~/prog/test/t2$
>
> ?:-(
>
cpp is the c preprocessor :-)
to compile a c program use gcc
> gcc -o hallo hallo.cpp
> /usr/lib/crt1.o: In function `_start':
> ../sysdeps/i386/elf/start.S:92: undefined reference to `__libc_csu_fini'
> ../sysdeps/i386/elf/start.S:93: undefined reference to `__libc_csu_init'
> collect2: ld returned 1 exit status
>
installing libc is a very tricky task.
You could make your system unusable if something goes wrong.
Did you use optimisation flags when compiling glibc ?
How did you installed glibc ? make install ? wasn't any error when you
installed glibc ?
> I don't have any idea, what is going wrong.
> Maybe I should say, before the upgrade this example program compiled fine.
>
> Thanks for any help..
> Micha
>
> -
> 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
>
--
"A mouse is a device used to point at
the xterm you want to type in".
Kim Alm on a.s.r.
-
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 21:34 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 [this message]
2004-01-27 22:16 ` Ray Olszewski
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=Pine.LNX.4.53.0401272330090.501@grinch.ro \
--to=caszonyi@rdslink.ro \
--cc=linux-newbie@vger.kernel.org \
--cc=michael.scondo@arcor.de \
/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