* [parisc-linux] [newbie] gcc/glibc problems
@ 2001-08-30 5:32 thunder7
2001-08-30 5:59 ` Matthew Wilcox
0 siblings, 1 reply; 5+ messages in thread
From: thunder7 @ 2001-08-30 5:32 UTC (permalink / raw)
To: parisc-linux
I installed the 0.9.2 iso on my C200, then proceeded to get some
development tools installed. This seemed to go well, but this simple
test-program:
#include <stdio.h>
int main(void)
{
printf("int=%d\n", sizeof(int));
exit(0);
}
didn't compile at all:
In file included from test.c:1:
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:37:23: features.h: No such file or directory
In file included from /usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:43,
from test.c:1:
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stddef.h:199: syntax error before "typedef"
In file included from test.c:1:
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:45:25: bits/types.h: No such file or directory
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:74:19: libio.h: No such file or directory
In file included from test.c:1:
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:89: parse error before "fpos_t"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:138:28: bits/stdio_lim.h: No such file or directory
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:151: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:153: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:158: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:170: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:193: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:195: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:211: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:215: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:263: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:268: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:283: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:285: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:288: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:292: parse error before "_G_va_list"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:294: parse error before "_G_va_list"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:298: parse error before "_G_va_list"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:335: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:337: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:340: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:360: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:361: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:364: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:383: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:384: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:387: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:416: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:426: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:451: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:460: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:464: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:469: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:472: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:484: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:486: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:488: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:504: parse error before "fpos_t"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:507: parse error before '*' token
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:540: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:542: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:544: parse error before "__THROW"
/usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:555: parse error before "__THROW"
test.c:3: syntax error before "int"
The same source compiles fine on my intel box.
gcc -v says:
jurriaan@pa8200:~$ gcc -v
Reading specs from /usr/lib/gcc-lib/hppa-linux/3.0.2/specs
Configured with: ../src/configure -v --enable-languages=c,c++,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man
--enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-c
hecking --enable-threads=posix --with-cpp-install-dir=bin hppa-linux
Thread model: posix
gcc version 3.0.2 20010825 (Debian prerelease)
jurriaan@pa8200:~$
which seems recent enough.
Did I miss something? Or is this 'Debian prerelease' not the one I should
get? I used
apt-get update
apt-get upgrade
apt-get install gcc
Pointers to FAQs gratefully accepted, BTW.
Greetings,
Jurriaan
--
You can't leave now! You just won!
DS 9 - Quark
GNU/Linux 2.4.9-ac2 SMP/ReiserFS 2x1402 bogomips load av: 0.04 0.05 0.05
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] [newbie] gcc/glibc problems
2001-08-30 5:32 [parisc-linux] [newbie] gcc/glibc problems thunder7
@ 2001-08-30 5:59 ` Matthew Wilcox
2001-08-30 11:07 ` thunder7
0 siblings, 1 reply; 5+ messages in thread
From: Matthew Wilcox @ 2001-08-30 5:59 UTC (permalink / raw)
To: thunder7; +Cc: parisc-linux
On Thu, Aug 30, 2001 at 07:32:55AM +0200, thunder7@xs4all.nl wrote:
> In file included from test.c:1:
> /usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:37:23: features.h: No such file or directory
> In file included from /usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:43,
do you have libc6-dev installed?
--
Revolutions do not require corporate support.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] [newbie] gcc/glibc problems
2001-08-30 6:02 Betr.: " Jurriaan Kalkman
@ 2001-08-30 7:01 ` Andrew Shugg
0 siblings, 0 replies; 5+ messages in thread
From: Andrew Shugg @ 2001-08-30 7:01 UTC (permalink / raw)
To: parisc-linux
Quoth Jurriaan Kalkman:
> >do you have libc6-dev installed?
>
> Hmm, I'd have to check that - but shouldn't that be a dependency, if
> it's needed for even the simplest use of gcc?
Interestingly, no. Use of gcc does not necessitate use of the libc 2.2
headers. While I suppose it would be very unusual to not use the
installed libc they've not made it such that you are forced to.
> I'm sorry if this goes off-topic here, I'll try not to bother this
> list with debian questions.
There's the debian-hppa list too. =)
Andrew.
--
Andrew Shugg <andrew@neep.com.au> http://www.neep.com.au/
"Just remember, Mr Fawlty, there's always someone worse off than yourself."
"Is there? Well I'd like to meet him. I could do with a good laugh."
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] [newbie] gcc/glibc problems
2001-08-30 5:59 ` Matthew Wilcox
@ 2001-08-30 11:07 ` thunder7
2001-08-30 18:14 ` thunder7
0 siblings, 1 reply; 5+ messages in thread
From: thunder7 @ 2001-08-30 11:07 UTC (permalink / raw)
To: parisc-linux
On Thu, Aug 30, 2001 at 06:59:07AM +0100, Matthew Wilcox wrote:
> On Thu, Aug 30, 2001 at 07:32:55AM +0200, thunder7@xs4all.nl wrote:
> > In file included from test.c:1:
> > /usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:37:23: features.h: No such file or directory
> > In file included from /usr/lib/gcc-lib/hppa-linux/3.0.2/include/stdio.h:43,
>
> do you have libc6-dev installed?
>
I do now, and I can compile (Whoohoo!) but it seems to have some
side-effects:
pa8200:/usr/bin# find
Inconsistency detected by ld.so: dynamic-link.h: 62: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!
pa8200:/usr/bin# ldd find
Inconsistency detected by ld.so: dynamic-link.h: 62: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!
Inconsistency detected by ld.so: dynamic-link.h: 62: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!
ldd: /lib/ld.so.1 exited with unknown exit code (127)
pa8200:/usr/bin# ls -l /lib/ld.so*
lrwxrwxrwx 1 root root 11 Mar 26 2024 /lib/ld.so.1 -> ld-2.2.3.so
pa8200:/usr/bin# ls -l /lib/ld-2.2.3.so
-rwxr-xr-x 1 root root 117924 Jul 30 16:45 /lib/ld-2.2.3.so
I am sure find was working before. I'll start reading up on apt-get/dpkg
(what package does this file belong to? Forceful upgrading? etc.)
Jurriaan
--
I never think, sir. Didn't get a degree.
Chief Inspector Morse
GNU/Linux 2.4.9-ac2 SMP/ReiserFS 2x1402 bogomips load av: 0.08 0.02 0.03
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [parisc-linux] [newbie] gcc/glibc problems
2001-08-30 11:07 ` thunder7
@ 2001-08-30 18:14 ` thunder7
0 siblings, 0 replies; 5+ messages in thread
From: thunder7 @ 2001-08-30 18:14 UTC (permalink / raw)
To: parisc-linux
On Thu, Aug 30, 2001 at 01:07:22PM +0200, thunder7@xs4all.nl wrote:
> On Thu, Aug 30, 2001 at 06:59:07AM +0100, Matthew Wilcox wrote:
> >
> > do you have libc6-dev installed?
> >
> I do now, and I can compile (Whoohoo!) but it seems to have some
> side-effects:
>
> pa8200:/usr/bin# find
> Inconsistency detected by ld.so: dynamic-link.h: 62: elf_get_dynamic_info: Assertion `! "bad dynamic tag"' failed!
This behaviour was gone after a reboot.
On with compiling a kernel [ I still feel like I have a fabulous new
toy. May all you hppa-kernel-hackers be as merry as I am! ]
Jurriaan
--
D.J.'s, V.J.'s, pimps and trollops,
never mind music - this is bollocks.
Skyclad - Penny Dreadful
GNU/Linux 2.4.9-ac2 SMP/ReiserFS 2x1402 bogomips load av: 0.45 0.12 0.04
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-08-30 18:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-30 5:32 [parisc-linux] [newbie] gcc/glibc problems thunder7
2001-08-30 5:59 ` Matthew Wilcox
2001-08-30 11:07 ` thunder7
2001-08-30 18:14 ` thunder7
-- strict thread matches above, loose matches on Subject: below --
2001-08-30 6:02 Betr.: " Jurriaan Kalkman
2001-08-30 7:01 ` Andrew Shugg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox