Dear Leif and Roger,
Using the source code from https://www.sm5bsz.com/linuxdsp/archive/lir05-02.zip along with W3SZ's automatic tuning file re-names https://w3sz.com/LinradMAP65.htm .
In file included from hwaredriver.c:56:
wusers_hwaredriver.c: In function 'userdefined_u':
wusers_hwaredriver.c:153:8: error: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Werror=restrict]
153 | strcat(zro,zro);
| ^~~ ~~~
wusers_hwaredriver.c:159:8: error: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Werror=restrict]
159 | strcat(zro,zro);
| ^~~ ~~~
wusers_hwaredriver.c: In function 'userdefined_q':
wusers_hwaredriver.c:289:8: error: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Werror=restrict]
289 | strcat(zro,zro);
| ^~~ ~~~
wusers_hwaredriver.c:295:8: error: passing argument 1 to 'restrict'-qualified parameter aliases with argument 2 [-Werror=restrict]
295 | strcat(zro,zro);
| ^~~ ~~~
wusers_hwaredriver.c: In function 'init_users_control_window':
wusers_hwaredriver.c:357:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
357 | *w3szfile="aahsmsfile";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:358:3: note: here
358 | case MODE_QRSS:
| ^~~~
wusers_hwaredriver.c:363:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
363 | *w3szfile="aancw_file";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:364:3: note: here
364 | case MODE_SSB:
| ^~~~
wusers_hwaredriver.c:369:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
369 | *w3szfile="aafm__file";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:370:3: note: here
370 | case MODE_AM:
| ^~~~
wusers_hwaredriver.c:371:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
371 | *w3szfile="aaam__file";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:372:3: note: here
372 | case MODE_TXTEST:
| ^~~~
wusers_hwaredriver.c:373:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
373 | *w3szfile="aatxtefile";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:374:3: note: here
374 | case MODE_RX_ADTEST:
| ^~~~
wusers_hwaredriver.c:375:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
375 | *w3szfile="aarxadfile";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:376:3: note: here
376 | case MODE_TUNE:
| ^~~~
wusers_hwaredriver.c: In function 'show_user_parms':
wusers_hwaredriver.c:478:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
478 | *w3szfile="aahsmsfile";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:479:3: note: here
479 | case MODE_QRSS:
| ^~~~
wusers_hwaredriver.c:484:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
484 | *w3szfile="aancw_file";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:485:3: note: here
485 | case MODE_SSB:
| ^~~~
wusers_hwaredriver.c:490:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
490 | *w3szfile="aafm__file";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:491:3: note: here
491 | case MODE_AM:
| ^~~~
wusers_hwaredriver.c:492:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
492 | *w3szfile="aaam__file";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:493:3: note: here
493 | case MODE_TXTEST:
| ^~~~
wusers_hwaredriver.c:494:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
494 | *w3szfile="aatxtefile";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:495:3: note: here
495 | case MODE_RX_ADTEST:
| ^~~~
wusers_hwaredriver.c:496:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
496 | *w3szfile="aarxadfile";
| ~~~~~~~~~^~~~~~~~~~~~~
wusers_hwaredriver.c:497:3: note: here
497 | case MODE_TUNE:
| ^~~~
wusers_hwaredriver.c: In function 'userdefined_u':
wusers_hwaredriver.c:168:1: error: 'strncpy' output may be truncated copying 12 bytes from a string of length 79 [-Werror=stringop-truncation]
168 | strncpy(ft2,zro,12);
| ^~~~~~~~~~~~~~~~~~~
wusers_hwaredriver.c:155:1: error: 'strncpy' output may be truncated copying 12 bytes from a string of length 79 [-Werror=stringop-truncation]
155 | strncpy(ft2,zro,12);
| ^~~~~~~~~~~~~~~~~~~
wusers_hwaredriver.c:162:1: error: 'strncpy' output may be truncated copying 12 bytes from a string of length 79 [-Werror=stringop-truncation]
162 | strncpy(ft2,zro,12);
| ^~~~~~~~~~~~~~~~~~~
wusers_hwaredriver.c:171:1: error: 'strncpy' output may be truncated copying 10 bytes from a string of length 79 [-Werror=stringop-truncation]
171 | strncpy(ffin,ft2,10);
| ^~~~~~~~~~~~~~~~~~~~
wusers_hwaredriver.c: In function 'userdefined_q':
wusers_hwaredriver.c:304:1: error: 'strncpy' output may be truncated copying 12 bytes from a string of length 79 [-Werror=stringop-truncation]
304 | strncpy(ft2,zro,12);
| ^~~~~~~~~~~~~~~~~~~
wusers_hwaredriver.c:291:1: error: 'strncpy' output may be truncated copying 12 bytes from a string of length 79 [-Werror=stringop-truncation]
291 | strncpy(ft2,zro,12);
| ^~~~~~~~~~~~~~~~~~~
wusers_hwaredriver.c:298:1: error: 'strncpy' output may be truncated copying 12 bytes from a string of length 79 [-Werror=stringop-truncation]
298 | strncpy(ft2,zro,12);
| ^~~~~~~~~~~~~~~~~~~
wusers_hwaredriver.c:307:1: error: 'strncpy' output may be truncated copying 10 bytes from a string of length 79 [-Werror=stringop-truncation]
307 | strncpy(ffin,ft2,10);
| ^~~~~~~~~~~~~~~~~~~~
cc1.exe: all warnings being treated as errors
mingw32-make: *** [hwaredriver.ox] Error 1
C:\Users\MRO\linrad>endlocal
-W9IP
-----Original Message-----
From: lin...@googlegroups.com <lin...@googlegroups.com> On Behalf Of Leif Asbrink
Sent: Wednesday, January 03, 2024 12:01 AM
To: lin...@googlegroups.com
Subject: Re: [Linrad] Perseus 22 dual channel support
Hello Michael,
--
There is an excellent Linrad User Guide by Gaetan, ON4KHG, at:
http://w3sz.com/Linrad%20Installation%20&%20Configuration%20User%20Guide%20-%20V1-0.pdf
---
You received this message because you are subscribed to a topic in the Google Groups "Linrad" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/linrad/aG4Rmt3Iwdk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to linrad+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linrad/20240103060111.396baf17d2408376407449d3%40sm5bsz.com.
Hi Mike!
Assuming I can reproduce your error, this should be an easy fix. I am busy at my remote EME site this morning but I will get this fixed this afternoon unless someone else has already posted the fix by that time .
Have a great day!
73 ,
Roger
On Jan 3, 2024, at 12:04 AM, Leif Asbrink <le...@sm5bsz.com> wrote:
Hello Michael, Which file are you trying to compile and what is the error message? 73 LeifDear friends, I have been trying to compile Linrad with W3SZ's Map65 additions for Windows 64-bit without success. Linrad source code *without *the Map65 additions compiles easily, both 32- and 64-bit. Adding the changed files for Map65 frequency control generates errors for 64-bits and the compilation fails as described previously in this thread. Has any solution been found? Thanks, W9IP
--
There is an excellent Linrad User Guide by Gaetan, ON4KHG, at:
http://w3sz.com/Linrad%20Installation%20&%20Configuration%20User%20Guide%20-%20V1-0.pdf
---
You received this message because you are subscribed to the Google Groups "Linrad" group.
To unsubscribe from this group and stop receiving emails from it, send an email to linrad+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/linrad/fc082c1f-0da8-46bb-a3fd-fd835a520b02%40comcast.net.
and the linked pdf is at
https://w3sz.com/RecipeForCompilingLinrad64.pdf
73,