For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > February 2005 > more gcc woes attempting to install Bit-Vector









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author more gcc woes attempting to install Bit-Vector
himwich@intrex.net

2005-02-07, 8:56 pm

Here are the gcc complaints when I attempt to make the Bit-Vector-6.4
module.

****************************************
**************************
/usr/opt/perl5/lib/Bit-Vector-6.4>make
/usr/local/bin/gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -D_LARGE_FILES
-
O -DVERSION=\"6.4\" -DXS_VERSION=\"6.4\"
"-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" BitVector.c
/usr/local/bin/gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE
-D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -D_LARGE_FILES
-
O -DVERSION=\"6.4\" -DXS_VERSION=\"6.4\"
"-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" Vector.c
In file included from
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.h:1969,
from Vector.xs:15:
/usr/include/pthread.h:556: error: parse error before '*' token
/usr/include/pthread.h:559: error: parse error before '*' token
/usr/include/pthread.h:563: error: parse error before '*' token
/usr/include/pthread.h:566: error: parse error before '*' token
/usr/include/pthread.h:569: error: parse error before '*' token
/usr/include/pthread.h:572: error: parse error before '*' token
/usr/include/pthread.h:575: error: parse error before '*' token
/usr/include/pthread.h:578: error: parse error before '*' token
/usr/include/pthread.h:581: error: parse error before '*' token
/usr/include/pthread.h:585: error: parse error before '*' token
/usr/include/pthread.h:588: error: parse error before '*' token
In file included from
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/op.h:480,
from
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.h:2209,
from Vector.xs:15:
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/reentr.h:610: error:
field `_drand48_struct' has incomplete type
/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/reentr.h:717: error:
field `_random_struct' has incomplete type
make: 1254-004 The error code from the last command is 1.


Stop.
****************************************
**************************
Any thoughts from the collective cyber consious will be appreciated.

Thanks.

Steven N. Hirsch

2005-02-11, 8:55 am

himwich@intrex.net wrote:
> Here are the gcc complaints when I attempt to make the Bit-Vector-6.4
> module.
>
> ****************************************
**************************
> /usr/opt/perl5/lib/Bit-Vector-6.4>make
> /usr/local/bin/gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE
> -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -D_LARGE_FILES
> -
> O -DVERSION=\"6.4\" -DXS_VERSION=\"6.4\"
> "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" BitVector.c
> /usr/local/bin/gcc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE
> -D_POSIX_SOURCE -DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -D_LARGE_FILES
> -
> O -DVERSION=\"6.4\" -DXS_VERSION=\"6.4\"
> "-I/usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE" Vector.c
> In file included from
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.h:1969,
> from Vector.xs:15:
> /usr/include/pthread.h:556: error: parse error before '*' token
> /usr/include/pthread.h:559: error: parse error before '*' token
> /usr/include/pthread.h:563: error: parse error before '*' token
> /usr/include/pthread.h:566: error: parse error before '*' token
> /usr/include/pthread.h:569: error: parse error before '*' token
> /usr/include/pthread.h:572: error: parse error before '*' token
> /usr/include/pthread.h:575: error: parse error before '*' token
> /usr/include/pthread.h:578: error: parse error before '*' token
> /usr/include/pthread.h:581: error: parse error before '*' token
> /usr/include/pthread.h:585: error: parse error before '*' token
> /usr/include/pthread.h:588: error: parse error before '*' token
> In file included from
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/op.h:480,
> from
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/perl.h:2209,
> from Vector.xs:15:
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/reentr.h:610: error:
> field `_drand48_struct' has incomplete type
> /usr/opt/perl5/lib/5.8.0/aix-thread-multi/CORE/reentr.h:717: error:
> field `_random_struct' has incomplete type
> make: 1254-004 The error code from the last command is 1.
>
>
> Stop.
> ****************************************
**************************
> Any thoughts from the collective cyber consious will be appreciated.


Taken in conjunction with your prior report (where gcc was actually
reporting itself as an SFX archive), I would conclude that your GNU
tools installation is either broken or incomplete.

Where are you getting the various packages from? If this were my box,
I'd be grabbing the "Linux compatibility" RPMs from IBM. Search Google
for specifics.

Steve
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com