Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autoconf gone crazy and lost gcc/glibc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Fri Nov 03, 2006 12:22 am    Post subject: autoconf gone crazy and lost gcc/glibc Reply with quote

I was happiliy fighting away trying to get cdparanoia to work so that i could carry on installing kde (cdparanoia has issues with --as-needed) when on a re-emerge of cdparanoia i hit this error out of the blue:

Code:

checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for ANSI C header files... no
checking size of short... 0
checking size of int... 0
checking size of long... 0
checking size of long long... 0
checking for int16_t... yes
checking for int32_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
configure: error: No 16 bit tupe found on this platform!


the bit in config.log that is worrying me is this:

Code:

i686-pc-linux-gnu-gcc: #: No such file or directory
configure: In function 'main':
configure:1221: warning: incompatible implicit declaration of built-in function 'exit'
configure: failed program was:
#line 1216 "configure"
#include "confdefs.h"
#include <stdio.h>
main()
{
  FILE *f=fopen("conftestval", "w");
  if (!f) exit(1);
  fprintf(f, "%d\n", sizeof(long long));
  exit(0);
}
configure:1259: checking for int16_t
configure:1292: checking for int32_t
configure:1325: checking for u_int16_t
configure:1358: checking for u_int32_t


Now, ive not touched gcc or glibc, no silly emerge -C's (right now infact portage is compiling a bash update), so to be quite honest, im stumped 8O

If anyone has any ideas or suggestions they would be very welcome :)
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
psycepa
Veteran
Veteran


Joined: 27 Dec 2004
Posts: 1637
Location: Poland

PostPosted: Fri Nov 03, 2006 1:06 am    Post subject: Reply with quote

and what gcc-config -l says ?
_________________
RLUNo. 376073
bo czytac, to trzeba ze zrozumieniem (c) by psycepa
"nigdy nie kloc sie z glupcem, najpierw sprowadzi cie do swojego poziomu a potem pokona doswiadczeniem"
"Life is complex. It has its real and imaginary part."
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Sat Nov 04, 2006 1:29 am    Post subject: Reply with quote

annoyingly exactly what it should say, that im using gcc 4.1.1 (already tried resetting gcc using gcc-config 1 then env-update && source /etc/profile)
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
psycepa
Veteran
Veteran


Joined: 27 Dec 2004
Posts: 1637
Location: Poland

PostPosted: Sat Nov 04, 2006 2:09 am    Post subject: Reply with quote

hmm did some search on this 'tupe' error and i have found several patches, but don't know if they would work
the thing is:
Code:

-#define u_int16_t $SIZE16

and later
Code:

-if test -z "$SIZE16"; then
-   { echo "configure: error: No 16 bit tupe found on this platform!" 1>&2; exit 1; }


so the question is why does your system not provide u_int16_t type?
maybe if you find the answer for that question, rest will be solved by itself

i would try to use some patches,
still don't know the answer for the bizzarre behaviour of gcc, though....
greetz
_________________
RLUNo. 376073
bo czytac, to trzeba ze zrozumieniem (c) by psycepa
"nigdy nie kloc sie z glupcem, najpierw sprowadzi cie do swojego poziomu a potem pokona doswiadczeniem"
"Life is complex. It has its real and imaginary part."
Back to top
View user's profile Send private message
Nick C
Guru
Guru


Joined: 18 Mar 2005
Posts: 526
Location: Portsmouth, England

PostPosted: Sat Nov 04, 2006 4:43 pm    Post subject: Reply with quote

so far ive not been able to reproduce it with anything but cdparanoia (even trying a hacked up ebuild for cdparanoia-III-10pre0 fails) so im thinking its possibly down to autoconf 2.13, or more likely something in the cdparanoia configure scripts maybe?? Of course, i know even less about autoconf than i do about making ebuilds :(
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved.
www.monkeydust.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum