Hi list I'm trying to compile USB drivers for an slmodemd, on a 32 bit arch (SuSE 10.0). Compile fails, reporting error: gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: warning: i386 architecture of input file `dsplibs.o' is incompatible with i386:x86-64 output which implies 64 bit-emulated failure? Compile is successful on my development box, which has all packages installed. This leads me to think that it's an RPM which hasn't been installed on the production box. Is it a 64 bit C/C++ package that's missing? Please advise :-) TiA, and have a great day! Regards, Stu@ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Stuart Murray-Smith wrote:
Hi list
I'm trying to compile USB drivers for an slmodemd, on a 32 bit arch (SuSE 10.0). Compile fails, reporting error:
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
warning: i386 architecture of input file `dsplibs.o' is incompatible with i386:x86-64 output
which implies 64 bit-emulated failure?
No...read the error. it means a file previously compiled (or as internally directed to be compiled) object file (named dsplibs.o) is not compatible (cannot be linked) to 64_bit object code. You can run 64-bit OS w/64 bit apps on your 64 bit system. You can run 32-bit apps on a 64-bit OS on an Athlon 64 system. You can't run a partially 32-bit/partially 64-bit binary on ANY systemm thereefore, the loader (.../bin/ld ) is complaining when you try to do so. Recompile dsplibs.o (mv dsplibs.o dsplibs.32.moved.o and then make dsplibs.o) and THEN try to remake your kernel If it doesn't work, then you can always mv dsplibs.32.moved.o dsplibs.o to undo what you did.
Compile is successful on my development box, which has all packages installed. This leads me to think that it's an RPM which hasn't been installed on the production box. Is it a 64 bit C/C++ package that's missing?
Please advise :-)
TiA, and have a great day!
Regards,
Stu@
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
gcc -o slmodemd modem_main.o modem_cmdline.o modem.o modem_datafile.o modem_at.o modem_timer.o modem_pack.o modem_ec.o modem_comp.o modem_param.o modem_debug.o homolog_data.o dp_sinus.o dp_dummy.o dsplibs.o sysdep_common.o
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
warning: i386 architecture of input file `dsplibs.o' is incompatible with i386:x86-64 output
No...read the error.
it means a file previously compiled (or as internally directed to be compiled) object file (named dsplibs.o) is not compatible (cannot be linked) to 64_bit object code.
You can run 64-bit OS w/64 bit apps on your 64 bit system. You can run 32-bit apps on a 64-bit OS on an Athlon 64 system.
You can't run a partially 32-bit/partially 64-bit binary on ANY systemm thereefore, the loader (.../bin/ld ) is complaining when you try to do so.
Recompile dsplibs.o (mv dsplibs.o dsplibs.32.moved.o and then make dsplibs.o) and THEN try to remake your kernel
If it doesn't work, then you can always mv dsplibs.32.moved.o dsplibs.o to undo what you did.
Thanks Aaron, your insight highly appreciated :-) I've since found out that the dsplibs.o component is proprietry (unless someone knows otherwise :-), and I won't be able to compile this in 64 bit. So I'll have to format && reinstall a 32 bit OS to get the modem drivers to function. Have a great day! Stu@ -- Then you will know the truth, and the truth will set you free. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Aaron Kulkis
-
Stuart Murray-Smith