develooper Front page | perl.perl5.porters | Postings from September 2003

[perl #23776] problem compiling

Thread Next
September 10, 2003 09:37
[perl #23776] problem compiling
Message ID:
# New Ticket Created by 
# Please include the string:  [perl #23776]
# in the subject line of all future correspondence about this issue. 
# <URL: >


I don't knwo if this is a bug, but at leats it is a problem
I try to compile Authen-Smb-0.91
and i get the following message
        cd smbval && make LIB="" LIBPERL_A="libperl.a" LINKTYPE="dynamic"
="/home/app_beh/local" OPTIMIZE="-g"
-qmaxmem=16384 -q3
2 -D_LARGE_FILES -qlonglong -g    -DVERSION=\"0.10\"  -DXS_VERSION=\"0.10\"
home/app_beh/local/lib/perl5/5.6.1/aix/CORE  smblib.c
"/usr/include/sys/types.h", line 455.25: 1506-245 (S) Incompatible sign
e "unsigned".
make: 1254-004 The error code from the last command is 1.

make: 1254-004 The error code from the last command is 2.


when I look in  /usr/include/sys/types.h
I see the following
typedef uchar_t         uchar;
and this is above this line of code definned as
typedef unsigned char   uchar_t;

then I started to look in smblib.c
which also defines a variable with the same name
#define uchar unsigned char

I tried thsi with perl 5.6 and 5.8 but I get the same error
The os is aix 4.3.3

Can I comment the line in smblib.c out???

With friendly regards

Francois Huijbregts
Oracle DBA

Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Fortis sluit iedere aansprakelijkheid uit die voortvloeit uit electronische verzending.

This e-mail is intended exclusively for the addressee(s), and may not be 
passed on to, or made available for use by any person other than the 
addressee(s). Fortis rules out any and every liability resulting from 
any electronic transmission.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About