This is a multipart message in MIME format.
--===============1022829548==
Content-Type: multipart/alternative;
boundary="=_alternative 0067181DC12573D1_="

This is a multipart message in MIME format.
--=_alternative 0067181DC12573D1_=
Content-Type: text/plain; charset="US-ASCII"

hi,

I'm trying to compile proftpd1.3.1 for Solaris 9 on 64bits but i still
getting the same error :

my ./config.perso is

export CC="gcc"
export CFLAGS=" -O2 -mcpu=v9 -m64"
export CPPFLAGS=" -I/usr/sfw/include"
export LDFLAGS=" -L/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9"

../configure \
--prefix=/proftpd \
--with-modules=mod_site_misc:mod_ldap:mod_tls \
--enable-facl \
--with-includes=/openssl/include:/openldap/include \
--with-libraries=/openssl/lib:/openldap/lib


The ./config.perso end without pb but i had some warning :

configure: WARNING: security/pam_modules.h: present but cannot be compiled
configure: WARNING: security/pam_modules.h: check for missing
prerequisite headers?
configure: WARNING: security/pam_modules.h: see the Autoconf documentation
configure: WARNING: security/pam_modules.h: section "Present But
Cannot Be Compiled"
configure: WARNING: security/pam_modules.h: proceeding with the
preprocessor's result
configure: WARNING: security/pam_modules.h: in the future, the compiler
will take precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##


In the config.log file i had this :

.............................
.................................
configure:8016: result: no
configure:8021: checking for dlopen
configure:8078: gcc -o conftest -O2 -mcpu=v9 -m64 -I/usr/sfw/include
-L/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9 conftest.c
>&5

Undefined first referenced
symbol in file
dlopen /var/tmp//ccoTuC9n.o (symbol belongs
to implicit dependency /lib/sparcv9/libdl.so.1)
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:8084: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
................
.................
configure:31704: gcc -o conftest -O2 -mcpu=v9 -m64 -Wall
-I/usr/sfw/include -I/openldap/include -I/openssl/include
-L$(top_srcdir)/lib -L/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9
-L/openldap/lib -L/openssl/lib -L/usr/ucblib/ conftest.c -lucb -lsocket
-lnsl -lresolv >&5
conftest.c:111: warning: conflicting types for built-in function 'alloca'
ld: fatal: file /usr/ucblib//libucb.so: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to conftest
collect2: ld returned 1 exit status
configure:31710: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""

In the config.log i had this :
configure:2534: result: none needed
configure:2552: gcc -c -O2 -mcpu=v9 -m64 -I/usr/sfw/include conftest.c
>&5

conftest.c:2: error: syntax error before "me"
..........................
.........................
ld: fatal: library -lutil: not found
ld: fatal: File processing errors. No output written to conftest
...............
....................
extern "C" void std::exit (int) throw (); using std::exit;

configure: exit 0

but the make command stop with this error :


ld: fatal: file src/main.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to proftpd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `proftpd'




Do you have any idea ?

PS: with proftpd1.3.0a i don't have this problem for compilation on 64bis.


Best Regards

Abdelmounim BAROUDI
--=_alternative 0067181DC12573D1_=
Content-Type: text/html; charset="US-ASCII"



hi,



I'm trying to compile proftpd1.3.1
for Solaris 9 on 64bits but i still getting the same error :




my ./config.perso is



export CC="gcc"

export CFLAGS=" -O2
-mcpu=v9 -m64"


export CPPFLAGS=" -I/usr/sfw/include"

export LDFLAGS=" -L/usr/local/lib/sparcv9
-R/usr/local/lib/sparcv9"




./configure \

--prefix=/proftpd \

--with-modules=mod_site_misc:mod_ldap:mod_tls
\


--enable-facl \

--with-includes=/openssl/include:/openldap/include
\


--with-libraries=/openssl/lib:/openldap/lib





The ./config.perso  end without
pb but i had some warning :




configure: WARNING: security/pam_modules.h:
present but cannot be compiled


configure: WARNING: security/pam_modules.h:
    check for missing prerequisite headers?


configure: WARNING: security/pam_modules.h:
see the Autoconf documentation


configure: WARNING: security/pam_modules.h:
    section "Present But Cannot Be Compiled"


configure: WARNING: security/pam_modules.h:
proceeding with the preprocessor's result


configure: WARNING: security/pam_modules.h:
in the future, the compiler will take precedence


configure: WARNING:  
  ## ------------------------------------------ ##


configure: WARNING:  
  ## Report this to the AC_PACKAGE_NAME lists.  ##


configure: WARNING:  
  ## ------------------------------------------ ##






In the config.log file i had this
:




............................

................................

configure:8016: result: no

configure:8021: checking
for dlopen


configure:8078: gcc -o conftest
 -O2 -mcpu=v9 -m64  -I/usr/sfw/include  -L/usr/local/lib/sparcv9
-R/usr/local/lib/sparcv9 conftest.c


  >&5

Undefined      
                first referenced


 symbol    
                     
  in file


dlopen      
                     
 /var/tmp//ccoTuC9n.o  (symbol belongs to implicit dependency
/lib/sparcv9/libdl.so.1)


ld: fatal: Symbol referencing
errors. No output written to conftest


collect2: ld returned 1 exit
status


configure:8084: $? = 1

configure: failed program
was:


| /* confdefs.h.  */

|

| #define PACKAGE_NAME ""

| #define PACKAGE_TARNAME
""


| #define PACKAGE_VERSION
""


...............

................

configure:31704: gcc -o conftest
 -O2 -mcpu=v9 -m64 -Wall  -I/usr/sfw/include -I/openldap/include
-I/openssl/include -L$(top_srcdir)/lib  -L/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9
-L/openldap/lib -L/openssl/lib -L/usr/ucblib/ conftest.c -lucb  -lsocket
-lnsl -lresolv  >&5


conftest.c:111: warning:
conflicting types for built-in function 'alloca'


ld: fatal: file /usr/ucblib//libucb.so:
wrong ELF class: ELFCLASS32


ld: fatal: File processing
errors. No output written to conftest


collect2: ld returned 1 exit
status


configure:31710: $? = 1

configure: failed program
was:


| /* confdefs.h.  */

|

| #define PACKAGE_NAME ""



In the config.log i had this
:


configure:2534: result: none
needed


configure:2552: gcc -c  -O2
-mcpu=v9 -m64  -I/usr/sfw/include conftest.c >&5


conftest.c:2: error: syntax
error before "me"


.........................

........................

ld: fatal: library -lutil:
not found


ld: fatal: File processing
errors. No output written to conftest


..............

...................

extern "C" void
std::exit (int) throw (); using std::exit;




configure: exit 0



but  the make command stop with
this error :






ld: fatal: file src/main.o:
wrong ELF class: ELFCLASS64


ld: fatal: File processing
errors. No output written to proftpd


collect2: ld returned 1 exit
status


*** Error code 1

make: Fatal error: Command
failed for target `proftpd'










Do you have any idea ?



PS: with proftpd1.3.0a i don't have
this problem for compilation on 64bis.






Best Regards



Abdelmounim BAROUDI
--=_alternative 0067181DC12573D1_=--


--===============1022829548==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============1022829548==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
--===============1022829548==--