[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linrad] linrad "make" problem
Thank you Kohjin,
your fix worked. It's a pity I read c about as well as I read greek
(badly and I need a book) :-)
73 de Geoff vk2tfg
Kohjin Yamada wrote:
> 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;
> \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
>> [vk2tfg@Linux_box 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:643:14: multi-line string literals are deprecated
>> make: *** [main.o] Error 1
>> [vk2tfg@Linux_box lir]$
>> Any ideas??
>> 73 de Geoff vk2tfg.