Click here to get back home

more gcc woes attempting to install Bit-Vector

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
more gcc woes attempting to install Bit-Vector himwich 02-07-2005
Posted by himwich on February 7, 2005, 2:06 pm
Please log in for more thread options
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.



Posted by Steven N. Hirsch on February 11, 2005, 8:15 am
Please log in for more thread options
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


Similar ThreadsPosted
attempting to install the Bit-Vector-6.4 module February 3, 2005, 2:40 pm
GD.pm install woes October 29, 2004, 3:50 pm
Net::IRC Woes February 17, 2005, 12:02 pm
Woes installing HTML::Parser using -MCPAN or by hand September 3, 2005, 2:11 am
only want to install one module and the depended ones, but CPAN always install the whole Perl. September 14, 2007, 5:23 pm
Can not Install XML::Parser September 29, 2004, 5:26 pm
How to install PDL::Slatec October 1, 2004, 2:00 pm
How do I install this package using ppm? September 28, 2005, 2:44 pm
Can't install Unicode::Map February 12, 2005, 7:54 am
How can I install the DBI on Solaris February 24, 2005, 4:16 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap