Re: problem with building 64-bit binary of qpopper 4.1b14 on solaris
There was a stupid bug, sorry about that. Please try using 4.1b15. -- Randall Gellens Opinions are personal;facts are suspect;I speak for myself only -- Randomly selected tag: --- Happiness comes through doors you didn't even know you left open.
Re: problem with building 64-bit binary of qpopper 4.1b14 on solaris
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
Re: problem with building 64-bit binary of qpopper 4.1b14 on solaris
Note that I have never used a 64 bit machine, but when I read the error below it appears to me that the error is saying that pop_dele.o was compiled as 32 bit and not 64 bit. Could it be a leftover that never got recompiled? On Feb 16, 2009, at 13:15, Stoyan Angelov wrote: 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
Re: problem with building 64-bit binary of qpopper 4.1b14 on solaris
On Feb 16, 2009, at 11:58 PM, Doug Hardie wrote: Note that I have never used a 64 bit machine, but when I read the error below it appears to me that the error is saying that pop_dele.o was compiled as 32 bit and not 64 bit. Could it be a leftover that never got recompiled? hi Doug, no, this is a new compilation and the object files were newly created. all of them are 32-bit... that seems to be the problem. On Feb 8, 2009, at 5:25 PM, Stoyan Angelov wrote: all other object files in the popper directory a 32-bit too: base64.o: ELF 32-bit LSB relocatable 80386 Version 1 drac.o: ELF 32-bit LSB relocatable 80386 Version 1 genpath.o: ELF 32-bit LSB relocatable 80386 Version 1 snip greetings, Stoyan
Re: problem with building 64-bit binary of qpopper 4.1b14 on solaris
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. configure's --enable-64-bit option is set and i can see a line in the output saying Building 64-bit binary, however later on during make i get the following error: cc 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 *** Error code 1 make: Fatal error: Command failed for target `popper' Current working directory /root/sources/qpopper4.1b14/popper *** Error code 1 make: Fatal error: Command failed for target `popper_server' all other object files in the popper directory a 32-bit too: base64.o: ELF 32-bit LSB relocatable 80386 Version 1 drac.o: ELF 32-bit LSB relocatable 80386 Version 1 genpath.o: ELF 32-bit LSB relocatable 80386 Version 1 snip any help will be appreciated, greetings, Stoyan Angelov -- Randall Gellens Opinions are personal;facts are suspect;I speak for myself only -- Randomly-selected tag: --- I suppose when it gets to that point, we shan't know how it does it. --Alan Turing