Dear supporters,
I met error during i compile the proftpd files...and can you help me to
resolve this issue?
our platform is AIX 5.3.0,
# uname -a
AIX appext1 3 5 00CF8EAE4C00
with IBM C/C++ fileset installed(in attachment 1 for detail)
and i use these statement to compile proftpd(i don't kwow whether it right
or bad..)
--------------compile statements -----------------------
env CC=cc \
CFLAGS='-D_NO_PROTO' \
LDFLAGS='-blibpath:/opt/freeware/lib/mysql:/usr/lib:/lib:' \
./configure \
--prefix=/usr/local/proftp \
--with-modules=mod_sql:mod_sql_mysql:mod_quotatab:mod_quotatab_sql:mod_ratio
\
--with-includes=/opt/freeware/include/mysql \
--with-libraries=/opt/freeware/lib/mysql >> compile.log
--------------compile statements end -------------------
***** it warning as below: (in attachment 2 for detail)
...
configure: WARNING: crypt.h: present but cannot be compiled
configure: WARNING: crypt.h: check for missing prerequisite headers?
configure: WARNING: crypt.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: netinet/tcp.h: present but cannot be compiled
configure: WARNING: netinet/tcp.h: check for missing prerequisite headers?
configure: WARNING: netinet/tcp.h: proceeding with the preprocessor's
result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to [EMAIL PROTECTED] ##
configure: WARNING: ## ------------------------------------ ##
...
***** and when i echo 'make' it can't make rest... with error
cd lib/ && make lib
Target "lib" is up to date.
cd src/ && make src
Target "src" is up to date.
cd modules/ && make modules
cc -DAIX5_3_0_0 -DAIX5 -I.. -I../include
-I/opt/freeware/include/mysql -D_NO_PROTO -c mod_auth_unix.c
"/usr/include/crypt.h", line 70.17: 1506-343 (S) Redeclaration of setkey
differs from previous declaration on line 325 of "/usr/include/stdlib.h".
"/usr/include/crypt.h", line 70.17: 1506-050 (I) Return type "int" in
redeclaration is not compatible with the previous return type "void".
"/usr/include/crypt.h", line 71.17: 1506-343 (S) Redeclaration of encrypt
differs from previous declaration on line 291 of "/usr/include/unistd.h".
"/usr/include/crypt.h", line 71.17: 1506-050 (I) Return type "int" in
redeclaration is not compatible with the previous return type "void".
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
---------------------------------
***** I find /usr/include/crypt.h,/usr/include/netinet/tcp.h
puts in attachment 3,4, if helpful to you.
and wish that your team can help us resolve this problem ,
really thanks to you.
Truly,
Qiuyang.Qu
------------------------------------------------------------
Information Management Dept., China Sinosteel Group Company.
Qiuyang Qu
Tel: 8610-66067733-35120
Fax:8610-66085405
E-mail:[EMAIL PROTECTED]
MSN:[EMAIL PROTECTED]
------------------------------------------------------------
Powered by MessageSoft SMG
SPAM, virus-free and secure email
http://www.messagesoft.net
compile.log
Description: Binary data
crypt.h
Description: Binary data
# lslpp -l |grep C++ vacpp.Dt.common 6.0.0.0 COMMITTED VisualAge C++ Desktop vacpp.cmp.aix50.lib 6.0.0.0 COMMITTED VisualAge C++ Libraries for vacpp.cmp.aix50.tools 6.0.0.0 COMMITTED VisualAge C++ Tools for AIX vacpp.cmp.core 6.0.0.0 COMMITTED VisualAge C++ Compiler vacpp.cmp.include 6.0.0.0 COMMITTED VisualAge C++ Compiler Include vacpp.cmp.lib 6.0.0.0 COMMITTED VisualAge C++ Libraries vacpp.cmp.rte 6.0.0.0 COMMITTED VisualAge C++ Compiler vacpp.cmp.tools 6.0.0.0 COMMITTED VisualAge C++ Tools vacpp.lic 6.0.0.0 COMMITTED VisualAge C++ Licence Files vacpp.loc.en_US.cmp.core 6.0.0.0 COMMITTED VisualAge Compiler C++ Locale vacpp.memdbg.aix50.lib 6.0.0.0 COMMITTED VA C++ User Heap/Memory Debug vacpp.memdbg.aix50.rte 6.0.0.0 COMMITTED VA C++ User Heap/Memory Debug vacpp.memdbg.lib 6.0.0.0 COMMITTED VisualAge C++ User Heap and vacpp.memdbg.rte 6.0.0.0 COMMITTED VisualAge C++ User Heap and vacpp.msg.en_US.cmp.core 6.0.0.0 COMMITTED VisualAge Compiler C++ vacpp.msg.en_US.cmp.tools 6.0.0.0 COMMITTED VisualAge C++ Tools vacpp.ndi 6.0.0.0 COMMITTED VisualAge C++ Non-Default vacpp.pdf.Ja_JP 6.0.0.0 COMMITTED VisualAge C++ Documentation vacpp.pdf.common 6.0.0.0 COMMITTED VisualAge C++ Documentation vacpp.pdf.en_US 6.0.0.0 COMMITTED VisualAge C++ Documentation vacpp.pdf.zh_CN 6.0.0.0 COMMITTED VisualAge C++ Documentation vacpp.Dt.common 6.0.0.0 COMMITTED VisualAge C++ Desktop vacpp.cmp.core 6.0.0.0 COMMITTED VisualAge C++ Compiler vacpp.loc.en_US.cmp.core 6.0.0.0 COMMITTED VisualAge Compiler C++ Locale
tcp.h
Description: Binary data
