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 <linrad@antennspecialisten.se>.
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 <linrad@antennspecialisten.se>.
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]>

Reply via email to