First off, let me state that I am not a C programmer at all. I am a programmer in 
other languages, so I understand the basic configure/make/make install procedure for 
most GNU packages, and have done it lots of times.

I downloaded the GNU iconv libraries, compiled them and used 
--prefix=/usr/local/special to keep from replacing the standard AIX libraries. Then I 
downloaded the 3.0.2a source and compiled it with --prefix=/usr/local and 
--with-libiconv=/usr/local/special. It compiled with some warnings (see below) but no 
errors. I installed it, but when I run the net command, I get a segmentation fault and 
a core dump. I am using gcc 3.3.2 on AIX 5.2 ML2. I don't know if any of these matter, 
but here are the warnings I got:

libsmb/clireadwrite.c:54: warning: right shift count >= width of type
libsmb/clireadwrite.c:54: warning: right shift count >= width of type
libsmb/clireadwrite.c: In function `cli_issue_write':
libsmb/clireadwrite.c:301: warning: right shift count >= width of type
libsmb/clireadwrite.c:301: warning: right shift count >= width of type
libsmb/clireadwrite.c:301: warning: right shift count >= width of type
libsmb/clireadwrite.c:301: warning: right shift count >= width of type
printing/pcap.c: In function `pcap_printername_ok':
printing/pcap.c:276: warning: passing arg 1 of `strlocate' discards qualifiers from 
pointer target type
printing/pcap.c:277: warning: passing arg 1 of `ScanQconfig' discards qualifiers from 
pointer target type
printing/pcap.c:277: warning: passing arg 2 of `ScanQconfig' discards qualifiers from 
pointer target type
lib/util_sock.c: In function `is_a_socket':
lib/util_sock.c:40: warning: passing arg 5 of `getsockopt' from incompatible pointer 
type
lib/util_sock.c: In function `print_socket_options':
lib/util_sock.c:102: warning: passing arg 5 of `getsockopt' from incompatible pointer 
type
lib/util_sock.c: In function `client_inaddr':
lib/util_sock.c:819: warning: passing arg 3 of `ngetpeername' from incompatible 
pointer type
lib/util_sock.c: In function `get_peer_addr':
lib/util_sock.c:951: warning: passing arg 3 of `ngetpeername' from incompatible 
pointer type
lib/util_sock.c: In function `get_socket_addr':
lib/util_sock.c:974: warning: passing arg 3 of `ngetsockname' from incompatible 
pointer type
tdb/tdbutil.c: In function `make_tdb_data':
tdb/tdbutil.c:45: warning: assignment discards qualifiers from pointer target type
nsswitch/winbindd_acct.c: In function `string2group':
nsswitch/winbindd_acct.c:225: warning: passing arg 1 of `next_token' from incompatible 
pointer type
client/client.c: In function `do_get':
client/client.c:695: warning: passing arg 4 of `cli_getattrE' from incompatible 
pointer type
client/client.c: In function `do_put':
client/client.c:1071: warning: passing arg 4 of `cli_getattrE' from incompatible 
pointer type
utils/smbcontrol.c: In function `do_printnotify':
utils/smbcontrol.c:423: warning: passing arg 3 of `notify_printer_byname' discards 
qualifiers from pointer target type
rpcclient/cmd_lsarpc.c: In function `cmd_lsa_query_info_policy':
rpcclient/cmd_lsarpc.c:131: warning: passing arg 1 of `print_guid' from incompatible 
pointer type
rpcclient/cmd_spoolss.c: In function `get_driver_3_param':
rpcclient/cmd_spoolss.c:1185: warning: passing arg 1 of `strtok' discards qualifiers 
from pointer target type
rpcclient/cmd_reg.c: In function `cmd_reg_shutdown':
rpcclient/cmd_reg.c:910: warning: passing arg 2 of `getopt' from incompatible pointer 
type
rpcclient/cmd_shutdown.c: In function `cmd_shutdown_init':
rpcclient/cmd_shutdown.c:43: warning: passing arg 2 of `getopt' from incompatible 
pointer type
libsmb/spnego.c: In function `read_negTokenInit':
libsmb/spnego.c:51: warning: passing arg 2 of `asn1_read_OID' from incompatible 
pointer type
libsmb/spnego.c: In function `read_negTokenTarg':
libsmb/spnego.c:186: warning: passing arg 2 of `asn1_read_OID' from incompatible 
pointer type
libsmb/spnego.c: In function `free_spnego_data':
libsmb/spnego.c:321: warning: passing arg 1 of `free' discards qualifiers from pointer 
target type
libsmb/spnego.c:330: warning: passing arg 1 of `free' discards qualifiers from pointer 
target type

The segfault is core dump is of course fatal. I have no idea how to proceed from here.

Jerel Crosland
Technical Specialist
  818/704-3187

The journey of a thousand miles begins with a broken fan belt and a leaky tire.



***********************************************************************
This e-mail and any files transmitted with it are intended 
solely for the use of the addressee.  This e-mail may 
contain confidential and/or legally privileged information.  
Any review, transmission, disclosure, copying, or any action 
taken or not taken, by other than the intended recipient, in 
reliance on the information, is prohibited.  If you received 
this e-mail in error, notify the sender and delete this e-mail 
(and any accompanying material) from your computer and
network. In addition, please be advised that 21st Century 
Insurance Group reserves the right to monitor, access and 
review all messages, data and images transmitted through 
our electronic mail system. By using our e-mail system, you 
consent to this monitoring. 
***********************************************************************

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to