[linrad] Re: AW: [linrad] Re: Linrad on 64Bit AMD Athlon 64 X2 System
Hi Ernst, > i made the change in the makefile. > > When i try to start linrad, i get: segmentation fault. > > The make command produces a lot of warnings: > > /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: > warning: i386 architecture of input file `membeg.ol' is incompatible with > i386:x86-64 output Maybe the membeg.ol file was compiled already before you changed the makefile. Try to first issue the ./clean command. Then again "make linrad" (with the changed Makefile) 73 Leif / SM5BSZ # This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>
[linrad] AW: [linrad] Re: Linrad on 64Bit AMD Athlon 64 X2 System
Hi Leif, i made the change in the makefile. When i try to start linrad, i get: segmentation fault. The make command produces a lot of warnings: /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: warning: i386 architecture of input file `membeg.ol' is incompatible with i386:x86-64 output /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: warning: i386 architecture of input file `lmain.ol' is incompatible with i386:x86-64 output /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: warning: i386 architecture of input file `lvar.ol' is incompatible with i386:x86-64 output /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: warning: i386 architecture of input file `ui.ol' is incompatible with i386:x86-64 output /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: warning: i386 architecture of input file `lsetad.ol' is incompatible with i386:x86-64 output /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: warning: i386 architecture of input file `fft1.ol' is incompatible with i386:x86-64 output... and so on. Perhaps i should try if svgalib is ok and the on board Sound Chip (AD1888?) are correctly installed. 73, ernst, dl2lac -Ursprungliche Nachricht- Von: Linrad mailinglist [mailto:[EMAIL PROTECTED] Auftrag von Leif Asbrink Gesendet: Dienstag, 23. Januar 2007 18:36 An: Linrad mailinglist Betreff: [linrad] Re: Linrad on 64Bit AMD Athlon 64 X2 System Hi Ernst, > The error code is: > > cc1: warnings being treated as errors > calibrate.c: In function 'final_filtercorr_init': > calibrate.c:398: warning: format '%d' expects type 'int', but argument 3 has > type 'long unsigned int' > calibrate.c:398: warning: format '%d' expects type 'int', but argument 4 has > type 'long unsigned int' > make: *** [calibrate.ol] Error 1 OK. Your compiler defaults to generate 64 bit code. I get the same result when adding the option -m64 in my Makefile. Presumably Linrad will compile ok on your system if you add the option -m32. If you have autoconf installed, add it in Makefile.in like this: CFL = -g -O -DOSNUM=1 -W -Wimplicit -Wreturn-type -Wformat \ -m32 -Wunused -Wcomment -Wchar-subscripts -Wshadow -Wuninitialized \ -Wparentheses -Wstrict-prototypes -Werror -ffast-math \ -fomit-frame-pointer -c -o In case you do not have autoconf, make the change in Makefile itself. I have made this change for the next Linrad version - but it would be nice to know if it helps. It causes no problem on my system which has the compiler set up for 32 bit code while it is running on a 64 bit system. 73 Leif / SM5BSZ # This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]> # This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>
[linrad] Re: Linrad on 64Bit AMD Athlon 64 X2 System
Hi Ernst, > The error code is: > > cc1: warnings being treated as errors > calibrate.c: In function 'final_filtercorr_init': > calibrate.c:398: warning: format '%d' expects type 'int', but argument 3 has > type 'long unsigned int' > calibrate.c:398: warning: format '%d' expects type 'int', but argument 4 has > type 'long unsigned int' > make: *** [calibrate.ol] Error 1 OK. Your compiler defaults to generate 64 bit code. I get the same result when adding the option -m64 in my Makefile. Presumably Linrad will compile ok on your system if you add the option -m32. If you have autoconf installed, add it in Makefile.in like this: CFL = -g -O -DOSNUM=1 -W -Wimplicit -Wreturn-type -Wformat \ -m32 -Wunused -Wcomment -Wchar-subscripts -Wshadow -Wuninitialized \ -Wparentheses -Wstrict-prototypes -Werror -ffast-math \ -fomit-frame-pointer -c -o In case you do not have autoconf, make the change in Makefile itself. I have made this change for the next Linrad version - but it would be nice to know if it helps. It causes no problem on my system which has the compiler set up for 32 bit code while it is running on a 64 bit system. 73 Leif / SM5BSZ # This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>
[linrad] AW: [linrad] Re: Linrad on 64Bit AMD Athlon 64 X2 System
Hello, thanks for your replies! The error code is: cc1: warnings being treated as errors calibrate.c: In function 'final_filtercorr_init': calibrate.c:398: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' calibrate.c:398: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' make: *** [calibrate.ol] Error 1 the gcc version is 4.1.2 20061115. I have installed SuSe 10.2 because the older versions do not support the nvidia chip on my motherboard and the network and sound will not run. 73, ernst -Ursprungliche Nachricht- Von: Linrad mailinglist [mailto:[EMAIL PROTECTED] Auftrag von Leif Asbrink Gesendet: Dienstag, 23. Januar 2007 10:32 An: Linrad mailinglist Betreff: [linrad] Re: Linrad on 64Bit AMD Athlon 64 X2 System Hi Ernst, > I want to upgrade linrad to an Athlon 4200 MHZ on an Asus Motherboard M2N-E > . > I have installed SuSe 10.2 (64bit), gcc,nasm svgalib. > The linrad installation failed during make command at the calibrate.c line. > In the web i found an hint that this problem could be caused by 64 Bit > systems. > If so, is there a solution available? Presumably something is changed in GCC (again) making something that was legal before unacceptable to the compiler. SuSe 10.2 is new, the latest I have tried is SuSe 10.1. If you send the exact error message there is a chance I can understand what the problem is and make a change. Compilers gradually become more careful in testing variable types and I change Linrad accordingly from time to time. It has nothing to do with 64 bit systems. They will happily execute the 32 bit code that the Linrad Makefile will generate. Changing Linrad to 64 bit code will probably just be a disadvantage. There is no need for the gigant address space Whether 32 bit or 64 bit code is generated is controlled by flags in Makefile. Linrad is not written to be compiled for 64 bits. It will not work at all. What is your GCC version (type gcc -v)? The latest I have checked Linrad against is: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) But the compiler is compiled for 32 bit machines. 73 Leif / SM5BSZ # This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]> # This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>
[linrad] Re: Linrad on 64Bit AMD Athlon 64 X2 System
Hi, All, When I got a 64 bit Intel core duo here last September, I found that Linrad would run fine on 32 bit Ubuntu. But when I switched to 64 bit Ubuntu it would not compile. I communicated this at that time, but don't have copies of either my emails to the list or to Leif [see below]. Under 64 bit Ubuntu I got errors including: calibrate.c: In function ?final_filtercorr_init?: calibrate.c:401: warning: format ?%d? expects type ?int?, but argument 3 has type ?long unsigned int? calibrate.c:401: warning: format ?%d? expects type ?int?, but argument 4 has type ?long unsigned int? [others too, this is just the start]. I don't have the emails that I exchanged with Leif or sent to the list at that time, but my recollection of things is that [1] the issue was never resolved [2] it seemed to be [at least in part] related to differences in the choices for integer types between 32 and 64 bit compilers. My recollection is that fixing things would have taken a modification of Linrad to modify the variable types but I could be wrong. As I noted, I don't have the emails in question as I was also installing my own mail server around that time and some email was lost in the transition. I don't have time to experiment for the next several days, unfortunately. I do not have details on version of gcc, etc. But the Ubuntu installations were contemporaneous, with one being 32 bit and the other 64. The former worked fine, the latter wouldn't even compile. 73, W3SZ Roger Rehr http://www.nitehawk.com/w3sz Roger Rehr W3SZ http://www.nitehawk.com/w3sz # This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>
[linrad] Re: Linrad on 64Bit AMD Athlon 64 X2 System
Hi Ernst, > I want to upgrade linrad to an Athlon 4200 MHZ on an Asus Motherboard M2N-E > . > I have installed SuSe 10.2 (64bit), gcc,nasm svgalib. > The linrad installation failed during make command at the calibrate.c line. > In the web i found an hint that this problem could be caused by 64 Bit > systems. > If so, is there a solution available? Presumably something is changed in GCC (again) making something that was legal before unacceptable to the compiler. SuSe 10.2 is new, the latest I have tried is SuSe 10.1. If you send the exact error message there is a chance I can understand what the problem is and make a change. Compilers gradually become more careful in testing variable types and I change Linrad accordingly from time to time. It has nothing to do with 64 bit systems. They will happily execute the 32 bit code that the Linrad Makefile will generate. Changing Linrad to 64 bit code will probably just be a disadvantage. There is no need for the gigant address space Whether 32 bit or 64 bit code is generated is controlled by flags in Makefile. Linrad is not written to be compiled for 64 bits. It will not work at all. What is your GCC version (type gcc -v)? The latest I have checked Linrad against is: gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) But the compiler is compiled for 32 bit machines. 73 Leif / SM5BSZ # This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: <[EMAIL PROTECTED]> To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]> To switch to the INDEX mode, E-mail to <[EMAIL PROTECTED]> Send administrative queries to <[EMAIL PROTECTED]>