Re: problem with building 64-bit binary of qpopper 4.1b14 on solaris
Stoyan Angelov <[email protected]> Mon, 16 Feb 2009 23:15:24 +0200
| Newsgroups | gmane.mail.qpopper |
|---|---|
| Message-ID | <[email protected]> |
On Feb 13, 2009, at 2:13 AM, Randall Gellens wrote:
> At 5:25 PM +0200 2/8/09, Stoyan Angelov wrote:
>> hello all,
>>
>> i am having problems building qpopper 4.1b14 in 64-bit mode on
>> solaris. the os is SXCE build 105 (x64) and Sun's Studio 12
>> compiler is used (Sun C 5.9 SunOS_i386 Patch 124868-07 2008/10/07).
>
> Hi,
>
> Have you tried using gcc instead of Sun's C compiler? It should
> work either way, of course, but I'm trying to isolate the source of
> the problem. It would help to know if the problem only happens with
> some compilers.
hi Randall,
i tried compiling with the bundled gcc - gcc version 3.4.3 (csl-
sol210-3_4-20050802) but i get a similar error:
ar -r libcommon.a flock.o maillock.o logit.o snprintf.o string_util.o
check_group.o utils.o
ar: creating libcommon.a
gmake[2]: Leaving directory `/root/sources/qpopper4.1b14/common'
gcc pop_dele.o pop_dropcopy.o pop_get_command.o pop_get_subcommand.o
pop_init.o pop_last.o pop_list.o pop_log.o pop_lower.o pop_msg.o
pop_parse.o pop_pass.o pop_quit.o pop_rset.o pop_send.o pop_stat.o
pop_updt.o pop_user.o pop_xtnd.o pop_xmit.o popper.o pop_bull.o
xtnd_xlst.o pop_uidl.o pop_rpop.o pop_apop.o pop_auth.o pop_pope.o
pop_extend.o scram.o hmac.o pop_util.o get_sub_opt.o msg_ptr.o drac.o
pop_config.o pop_tls.o pop_tls_openssl.o pop_tls_sslplus.o
sslplus_utils.o main.o pop_cache.o genpath.o pop_sasl.o md5.o base64.o
-o popper \
../mmangle/libmangle.a \
-I../common ../common/libcommon.a \
-lnsl -lsocket -lresolv -lmail -lnsl -lposix4 -
lcrypt -L/usr/lib -lssl -lcrypto -m64
ld: fatal: file pop_dele.o: wrong ELF class: ELFCLASS32
ld: fatal: file processing errors. No output written to popper
collect2: ld returned 1 exit status
gmake[1]: *** [popper] Error 1
gmake[1]: Leaving directory `/root/sources/qpopper4.1b14/popper'
gmake: *** [popper_server] Error 2
greetings,
Stoyan