Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#561 Cannot Compile - _crypt_struct has incomplete type

closed
nobody
None
9
2004-03-25
2004-03-24
Will L G
No

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

When I attempt to compile XChat-2.0.8, I receive the
error below. Now
keep in mind I'm running alphalinux on a Dec AlphaPC
164SX,
GCC-3.3.2, Kernel-2.4.22, etc.

Making all in perl
mkdir .libs
gcc3.0.4 -DHAVE_CONFIG_H -I. -I. -I../.. -g -
mtune=pca56 -mcpu=pca56
- -mieee -funroll-loops -fssa -D_LARGEFILE_SOURCE
- -D_FILE_OFFSET_BITS=64
- -I/usr/local/lib/perl5/5.8.0/alpha-linux-thread-
multi/CORE
- -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-
2.0/include
- -I./.. -g -O3 -mtune=pca56 -mcpu=pca56 -mmax
- -fexpensive-optimizations -ffast-math -pipe -ffloat-
store
- -funroll-loops -mieee -Wall -MT perl.lo -MD -MP -
MF .deps/perl.Tpo -c
perl.c -fPIC -DPIC -o .libs/perl.o
In file included from
/usr/local/lib/perl5/5.8.0/alpha-linux-thread-
multi/CORE/op.h:480,
from
/usr/local/lib/perl5/5.8.0/alpha-linux-thread-
multi/CORE/perl.h:2209,
from perl.c:94:
/usr/local/lib/perl5/5.8.0/alpha-linux-thread-
multi/CORE/reentr.h:602:
field `_crypt_struct' has incomplete type
/usr/local/lib/perl5/5.8.0/alpha-linux-thread-
multi/CORE/reentr.h:747:
confused by earlier errors, bailing out
make[3]: *** [perl.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
[root@kcnetwork xchat-2.0.8]#

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0.3 - not licensed for commercial use:
www.pgp.com

iQA/AwUBQGHazYtqBChTgs4CEQI9CACeNh3RBZGTnkopxZs
OFgJfhP6VinIAoMd/
fpQRxhS4bI1f3so+M2BLHqOh
=RpqK
-----END PGP SIGNATURE-----

Discussion

  • Will L G
    Will L G
    2004-03-24

    Logged In: YES
    user_id=312992

    When I attempt to compile XChat-2.0.8, I receive the error
    below. Now
    keep in mind I'm running alphalinux on a Dec AlphaPC 164SX,
    GCC-3.3.2, Kernel-2.4.22, etc.

    Making all in perl
    mkdir .libs
    gcc3.0.4 -DHAVE_CONFIG_H -I. -I. -I../.. -g -mtune=pca56 -
    mcpu=pca56
    - -mieee -funroll-loops -fssa -D_LARGEFILE_SOURCE
    - -D_FILE_OFFSET_BITS=64
    - -I/usr/local/lib/perl5/5.8.0/alpha-linux-thread-multi/CORE
    - -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
    - -I./.. -g -O3 -mtune=pca56 -mcpu=pca56 -mmax
    - -fexpensive-optimizations -ffast-math -pipe -ffloat-store
    - -funroll-loops -mieee -Wall -MT perl.lo -MD -MP -
    MF .deps/perl.Tpo -c
    perl.c -fPIC -DPIC -o .libs/perl.o
    In file included from
    /usr/local/lib/perl5/5.8.0/alpha-linux-thread-
    multi/CORE/op.h:480,
    from
    /usr/local/lib/perl5/5.8.0/alpha-linux-thread-
    multi/CORE/perl.h:2209,
    from perl.c:94:
    /usr/local/lib/perl5/5.8.0/alpha-linux-thread-
    multi/CORE/reentr.h:602:
    field `_crypt_struct' has incomplete type
    /usr/local/lib/perl5/5.8.0/alpha-linux-thread-
    multi/CORE/reentr.h:747:
    confused by earlier errors, bailing out
    make[3]: *** [perl.lo] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    [root@kcnetwork xchat-2.0.8]#

     
  • Will L G
    Will L G
    2004-03-24

    • priority: 5 --> 9
    • summary: Cannot Compile - " `_crypt_struct' has incomplete type" --> Cannot Compile -
     
  • Will L G
    Will L G
    2004-03-24

    • summary: Cannot Compile - --> Cannot Compile - _crypt_struct has incomplete type
     
  • Mike Battersby
    Mike Battersby
    2004-03-25

    Logged In: YES
    user_id=6651

    This is a bug in your perl install, as it is missing the
    -D_GNU_SOURCE option to PERL_CFLAGS which will define
    crypt_r and its data struct.

    You can either fix your perl (don't ask me how!), or as a
    work-around edit plugins/perl/Makefile after you have run
    configure and add -D_GNU_SOURCE to the PERL_CFLAGS definition.

    zed: Should mark this "not an xchat bug" or closed or something.

    - mib

     
  • Will L G
    Will L G
    2004-03-25

    • status: open --> closed
     
  • Will L G
    Will L G
    2004-03-25

    Logged In: YES
    user_id=312992

    THANKS... that worked like a charm...