[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW:RE: linrad "make" problem (Kohjin Yamada Oct 12 2002)
- Subject: FW:RE: linrad "make" problem (Kohjin Yamada Oct 12 2002)
- From: Leif Asbrink <leif.asbrink@xxxxxxxxxxxxxxxxxxxx
- Date: Mon, 13 Oct 2003 10:37:22 +0200
-----Original Message-----
From: owner-linrad@xxxxxxxxxxxxxxxxxxxxx
[mailto:owner-linrad@xxxxxxxxxxxxxxxxxxxxx]On Behalf Of Kohjin Yamada
Sent: Saturday, October 12, 2002 10:20 AM
To: linrad@xxxxxxxxxxxxxxxxxxxxx
Subject: Re: [linrad] linrad "make" problem
Hi Geoff,
The error was caused by the new gcc version 3.0 and after
which's more like standard I have learned.
I forgot to tell this to Leif in my previous post.
New gcc doesn't approve 'multi-line string literals' which means
you can't use '\' (backlash) for multi-line (more than one line) literals.
You just use vi or your favorite editor and find the line #644 or
lines below;
printf("
\n/proc/cpuinfo says LINUX core is not compatible.\
\n\nLinrad will allow you to select routines that may be illegal\
\non your system.\
\nAny illegal instruction will cause a program crasch!!\
\nIf your core is 2.4.8 or above everything is probably ok.\
\nSeems just the xmm flag in /proc/cpuinfo is missing.\
\nTo use fast routines with an older core, recompile LINUX\
\nwith appropriate patches.\n\n");
Now here is one of the solution;
printf("\n/proc/cpuinfo says LINUX core is not compatible.");
printf("\n\nLinrad will allow you to select routines that may be illegal");
printf("\non your system.");
printf("\nAny illegal instruction will cause a program crasch!!");
printf("\nIf your core is 2.4.8 or above everything is probably ok.");
printf("\nSeems just the xmm flag in /proc/cpuinfo is missing.");
printf("\nTo use fast routines with an older core, recompile LINUX");
printf("\nwith appropriate patches.\n\n");
Kohjin - JR1EDE
At 16:54 02/10/12 +1000, you wrote:
>Hi guys,
> I down loaded and tried to compile linrad 00-48 this morning and ran
>into a problem. I am using gcc 3.1.1 on a Mandrake 8.0 system.
>./configure worked without problems then this happened when I tried to
>"make".....
>
>[vk2tfg@xxxxxxxxx lir]$ make
>gcc -O -W -Wimplicit -Wreturn-type -Wformat \
>-Wunused -Wcomment -Wchar-subscripts -Wshadow -Wuninitialized \
>-Wparentheses -Wstrict-prototypes -Werror -ffast-math -fforce-mem \
>-fomit-frame-pointer -c -o main.o \
>main.c
>main.c:643:14: multi-line string literals are deprecated
>make: *** [main.o] Error 1
>[vk2tfg@xxxxxxxxx lir]$
>
>Any ideas??
>
> 73 de Geoff vk2tfg.
>
>
LINRADDARNIL