# Edits to app\_rpt.c

**URL:** <https://community.allstarlink.org/t/edits-to-app-rpt-c/16161>\
**Category:** AllStarLink\
**Created:** [January 23, 2020, 10:12pm UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161 "2020-01-23T22:12:40Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![David\_McGough](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/7cd45c/32.png) [@David\_McGough](https://community.allstarlink.org/u/David_McGough)\
**Post date:** [January 25, 2020, 7:11am UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/21 "2020-01-25T07:11:10Z")

</div>

I’m left wondering why the tomorse program won’t accomplish what you’re  
wanting?? tomorse CLEANLY generates high quality CW as a .wav file, which  
can then be played whenever you need it. No app\_rpt mods needed.

Am I the only one here who HEARS the really sloppy CW generated by  
the app\_rpt routines at higher speeds (like 25 or 30 WPM)?

73, David KB4FXC

> **···**
>
> On Sat, 25 Jan 2020, Tom via AllStarLink Discussion Groups wrote:
> 
> > Yep George. I can tell you that we aren’t the only ones; but I won’t mention any names. I think we don’t have many Libertarians here.  
> > Tom
> > 
> > * * *
> > 
> > [Visit Topic](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/20) or reply to this email to respond.
> > 
> > You are receiving this because you enabled mailing list mode.
> > 
> > To unsubscribe from these emails, [click here](https://community.allstarlink.org/email/unsubscribe/0770e3acd1b22676bab4476b14b92cedd5b498ad965fe4c0071c15a956df2825).

---

<div class="post-metadata">

**Author:** ![WD6AWP](https://community.allstarlink.org/user_avatar/community.allstarlink.org/wd6awp/32/5_2.png) [@WD6AWP](https://community.allstarlink.org/u/WD6AWP)\
**Post date:** [January 25, 2020, 6:12pm UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/22 "2020-01-25T18:12:37Z")

</div>

David,

Could you give us some more information about the tomorse program? Where can we get it?

---

<div class="post-metadata">

**Author:** ![David\_McGough](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/7cd45c/32.png) [@David\_McGough](https://community.allstarlink.org/u/David_McGough)\
**Post date:** [January 25, 2020, 6:25pm UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/23 "2020-01-25T18:25:05Z")

</div>

See:

[http://lists.hamvoip.org/pipermail/arm-allstar/2016-April/003059.html](http://lists.hamvoip.org/pipermail/arm-allstar/2016-April/003059.html)

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [February 23, 2020, 10:56pm UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/24 "2020-02-23T22:56:43Z")

</div>

Actually, the morse improves in app\_rpt above 20. My 30 WPM ID’s sound great using my modified source. The morse at the lower speeds is painfully slow and pretty ugly.  
GeorgeC W2DB

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [March 5, 2020, 12:46am UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/25 "2020-03-05T00:46:58Z")

</div>

folks having another week of pound head against wall over re-compiling with a modified app\_rpt.c I have tried various source trees found for this. All wind up the same way. First I'm doing this on ASL-1.01 source that I downloaded. Did configure and make menuselect, etc. But when I do make it starts compiling stuff and then stops. I have tried looking over the requirements for Asterisk and made sure all were installed. Anybody have any thoughts on why I get this:

root@repeater:/usr/src/asterisk/asterisk# make  
fatal: Not a git repository (or any of the parent directories): .git  
menuselect/menuselect --check-deps menuselect.makeopts  
Generating embedded module rules ...  
fatal: Not a git repository (or any of the parent directories): .git  
fatal: Not a git repository (or any of the parent directories): .git  
fatal: Not a git repository (or any of the parent directories): .git  
make[1]: Entering directory '/usr/src/Asterisk-ASL-1.01/asterisk/utils'  
[LD] aelparse.o aelbison.o pbx\_ael.o ael\_main.o ast\_expr2f.o ast\_expr2.o strcompat.o -\> aelparse  
pbx\_ael.o: In function `ast_atomic_fetchadd_int': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1155: multiple definition of `ast\_atomic\_fetchadd\_int'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1155: first defined here  
pbx\_ael.o: In function `ast_atomic_dec_and_test': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1201: multiple definition of `ast\_atomic\_dec\_and\_test'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1201: first defined here  
pbx\_ael.o: In function `ast_tvdiff_ms': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:44: multiple definition of `ast\_tvdiff\_ms'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:44: first defined here  
pbx\_ael.o: In function `ast_tvzero': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:60: multiple definition of `ast\_tvzero'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:60: first defined here  
pbx\_ael.o: In function `ast_tvcmp': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:71: multiple definition of `ast\_tvcmp'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:71: first defined here  
pbx\_ael.o: In function `ast_tveq': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:90: multiple definition of `ast\_tveq'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:90: first defined here  
pbx\_ael.o: In function `ast_tvnow': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:100: multiple definition of `ast\_tvnow'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h💯 first defined here  
pbx\_ael.o: In function `ast_tv': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:122: multiple definition of `ast\_tv'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:122: first defined here  
pbx\_ael.o: In function `ast_samp2tv': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:137: multiple definition of `ast\_samp2tv'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:137: first defined here  
pbx\_ael.o: In function `ast_skip_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50: multiple definition of `ast\_skip\_blanks'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50: first defined here  
pbx\_ael.o: In function `ast_trim_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65: multiple definition of `ast\_trim\_blanks'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65: first defined here  
pbx\_ael.o: In function `ast_skip_nonblanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91: multiple definition of `ast\_skip\_nonblanks'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91: first defined here  
pbx\_ael.o: In function `ast_strip': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109: multiple definition of `ast\_strip'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109: first defined here  
pbx\_ael.o: In function `ast_copy_string': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168: multiple definition of `ast\_copy\_string'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168: first defined here  
pbx\_ael.o: In function `_ast_malloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:337: multiple definition of `\_ast\_malloc'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:337: first defined here  
pbx\_ael.o: In function `_ast_calloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:360: multiple definition of `\_ast\_calloc'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:360: first defined here  
pbx\_ael.o: In function `_ast_realloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:396: multiple definition of `\_ast\_realloc'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:396: first defined here  
pbx\_ael.o: In function `_ast_strdup': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:423: multiple definition of `\_ast\_strdup'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:423: first defined here  
pbx\_ael.o: In function `_ast_strndup': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:452: multiple definition of `\_ast\_strndup'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:452: first defined here  
pbx\_ael.o: In function `_ast_vasprintf': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:490: multiple definition of `\_ast\_vasprintf'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:490: first defined here  
ael\_main.o: In function `ast_atomic_fetchadd_int': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1155: multiple definition of `ast\_atomic\_fetchadd\_int'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1155: first defined here  
ael\_main.o: In function `ast_atomic_dec_and_test': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1201: multiple definition of `ast\_atomic\_dec\_and\_test'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1201: first defined here  
ael\_main.o: In function `ast_tvdiff_ms': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:44: multiple definition of `ast\_tvdiff\_ms'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:44: first defined here  
ael\_main.o: In function `ast_tvzero': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:60: multiple definition of `ast\_tvzero'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:60: first defined here  
ael\_main.o: In function `ast_tvcmp': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:71: multiple definition of `ast\_tvcmp'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:71: first defined here  
ael\_main.o: In function `ast_tveq': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:90: multiple definition of `ast\_tveq'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:90: first defined here  
ael\_main.o: In function `ast_tvnow': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:100: multiple definition of `ast\_tvnow'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h💯 first defined here  
ael\_main.o: In function `ast_tv': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:122: multiple definition of `ast\_tv'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:122: first defined here  
ael\_main.o: In function `ast_samp2tv': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:137: multiple definition of `ast\_samp2tv'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:137: first defined here  
ael\_main.o: In function `ast_skip_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50: multiple definition of `ast\_skip\_blanks'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50: first defined here  
ael\_main.o: In function `ast_trim_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65: multiple definition of `ast\_trim\_blanks'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65: first defined here  
ael\_main.o: In function `ast_skip_nonblanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91: multiple definition of `ast\_skip\_nonblanks'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91: first defined here  
ael\_main.o: In function `ast_strip': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109: multiple definition of `ast\_strip'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109: first defined here  
ael\_main.o: In function `ast_copy_string': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168: multiple definition of `ast\_copy\_string'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168: first defined here  
ael\_main.o: In function `_ast_malloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:337: multiple definition of `\_ast\_malloc'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:337: first defined here  
ael\_main.o: In function `_ast_calloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:360: multiple definition of `\_ast\_calloc'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:360: first defined here  
ael\_main.o: In function `_ast_realloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:396: multiple definition of `\_ast\_realloc'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:396: first defined here  
ael\_main.o: In function `_ast_strdup': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:423: multiple definition of `\_ast\_strdup'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:423: first defined here  
ael\_main.o: In function `_ast_strndup': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:452: multiple definition of `\_ast\_strndup'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:452: first defined here  
ael\_main.o: In function `_ast_vasprintf': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:490: multiple definition of `\_ast\_vasprintf'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:490: first defined here  
ast\_expr2f.o: In function `ast_skip_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50: multiple definition of `ast\_skip\_blanks'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50: first defined here  
ast\_expr2f.o: In function `ast_trim_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65: multiple definition of `ast\_trim\_blanks'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65: first defined here  
ast\_expr2f.o: In function `ast_skip_nonblanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91: multiple definition of `ast\_skip\_nonblanks'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91: first defined here  
ast\_expr2f.o: In function `ast_strip': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109: multiple definition of `ast\_strip'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109: first defined here  
ast\_expr2f.o: In function `ast_copy_string': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168: multiple definition of `ast\_copy\_string'  
aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168: first defined here  
collect2: error: ld returned 1 exit status  
/usr/src/Asterisk-ASL-1.01/asterisk/Makefile.rules:78: recipe for target 'aelparse' failed  
make[1]: \*\*\* [aelparse] Error 1  
make[1]: Leaving directory '/usr/src/Asterisk-ASL-1.01/asterisk/utils'  
Makefile:364: recipe for target 'utils' failed  
make: \*\*\* [utils] Error 2  
root@repeater:/usr/src/asterisk/asterisk#

---

<div class="post-metadata">

**Author:** ![N4IRS](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n4irs/32/548_2.png) [@N4IRS](https://community.allstarlink.org/u/N4IRS)\
**Post date:** [March 5, 2020, 1:56am UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/26 "2020-03-05T01:56:46Z")

</div>

git clone [https://github.com/AllStarLink/Asterisk.git](https://github.com/AllStarLink/Asterisk.git)  
cd Asterisk/asterisk  
./configure CXX=g+±4.9 CC=gcc-4.9  
make menuselect #make sure all required apps and packages are  
selected  
make  
See [https://github.com/AllStarLink/Asterisk/blob/master/README.md](https://github.com/AllStarLink/Asterisk/blob/master/README.md)  
Built fine on Debian Stretch No head pounding required.  
Steve N4IRS

> **···**
>
> [https://github.com/AllStarLink/Asterisk.git](https://github.com/AllStarLink/Asterisk.git)
> 
> [https://github.com/AllStarLink/Asterisk/blob/master/README.md](https://github.com/AllStarLink/Asterisk/blob/master/README.md)
> 
> ```
> On 3/4/20 7:57 PM, George Csahanin via
> 
> ```
> 
> AllStarLink Discussion Groups wrote:
> 
> > ![w2db](https://community.allstarlink.org/uploads/default/original/2X/5/58a6d327396d8911acfb412330f2ad19a18fbe56.jpeg)  
> > [w2db](https://community.allstarlink.org/u/w2db)
> > 
> > ```
> > March 5
> > folks having another
> > 
> > ```
> > 
> > week of pound head against wall over re-compiling with a  
> > modified app\_rpt.c I have tried various source trees found  
> > for this. All wind up the same way. First I’m doing this  
> > on ASL-1.01 source that I downloaded. Did configure and  
> > make menuselect, etc. But when I do make it starts  
> > compiling stuff and then stops. I have tried looking over  
> > the requirements for Asterisk and made sure all were  
> > installed. Anybody have any thoughts on why I get this:
> 
> > ```
> > root@repeater:/usr/src/asterisk/asterisk#
> > 
> > ```
> > 
> > make  
> > fatal: Not a git repository (or any of the parent  
> > directories): .git  
> > menuselect/menuselect --check-deps menuselect.makeopts  
> > Generating embedded module rules …  
> > fatal: Not a git repository (or any of the parent  
> > directories): .git  
> > fatal: Not a git repository (or any of the parent  
> > directories): .git  
> > fatal: Not a git repository (or any of the parent  
> > directories): .git  
> > make[1]: Entering directory  
> > ‘/usr/src/Asterisk-ASL-1.01/asterisk/utils’  
> > [LD] aelparse.o aelbison.o pbx\_ael.o ael\_main.o  
> > ast\_expr2f.o ast\_expr2.o strcompat.o → aelparse  
> > pbx\_ael.o: In function ` ast_atomic_fetchadd_int': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1155: multiple definition of`ast\_atomic\_fetchadd\_int’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1155:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_atomic_dec_and_test': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1201: multiple definition of`ast\_atomic\_dec\_and\_test’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1201:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_tvdiff_ms': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:44: multiple definition of`ast\_tvdiff\_ms’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:44:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_tvzero': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:60: multiple definition of`ast\_tvzero’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:60:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_tvcmp': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:71: multiple definition of`ast\_tvcmp’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:71:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_tveq': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:90: multiple definition of`ast\_tveq’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:90:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_tvnow': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:100: multiple definition of`ast\_tvnow’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:100:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_tv': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:122: multiple definition of`ast\_tv’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:122:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_samp2tv': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:137: multiple definition of`ast\_samp2tv’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:137:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_skip_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50: multiple definition of`ast\_skip\_blanks’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_trim_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65: multiple definition of`ast\_trim\_blanks’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_skip_nonblanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91: multiple definition of`ast\_skip\_nonblanks’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_strip': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109: multiple definition of`ast\_strip’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109:  
> > first defined here  
> > pbx\_ael.o: In function ` ast_copy_string': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168: multiple definition of`ast\_copy\_string’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168:  
> > first defined here  
> > pbx\_ael.o: In function ` _ast_malloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:337: multiple definition of`\_ast\_malloc’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:337:  
> > first defined here  
> > pbx\_ael.o: In function ` _ast_calloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:360: multiple definition of`\_ast\_calloc’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:360:  
> > first defined here  
> > pbx\_ael.o: In function ` _ast_realloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:396: multiple definition of`\_ast\_realloc’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:396:  
> > first defined here  
> > pbx\_ael.o: In function ` _ast_strdup': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:423: multiple definition of`\_ast\_strdup’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:423:  
> > first defined here  
> > pbx\_ael.o: In function ` _ast_strndup': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:452: multiple definition of`\_ast\_strndup’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:452:  
> > first defined here  
> > pbx\_ael.o: In function ` _ast_vasprintf': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:490: multiple definition of`\_ast\_vasprintf’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:490:  
> > first defined here  
> > ael\_main.o: In function ` ast_atomic_fetchadd_int': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1155: multiple definition of`ast\_atomic\_fetchadd\_int’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1155:  
> > first defined here  
> > ael\_main.o: In function ` ast_atomic_dec_and_test': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1201: multiple definition of`ast\_atomic\_dec\_and\_test’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/lock.h:1201:  
> > first defined here  
> > ael\_main.o: In function ` ast_tvdiff_ms': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:44: multiple definition of`ast\_tvdiff\_ms’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:44:  
> > first defined here  
> > ael\_main.o: In function ` ast_tvzero': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:60: multiple definition of`ast\_tvzero’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:60:  
> > first defined here  
> > ael\_main.o: In function ` ast_tvcmp': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:71: multiple definition of`ast\_tvcmp’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:71:  
> > first defined here  
> > ael\_main.o: In function ` ast_tveq': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:90: multiple definition of`ast\_tveq’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:90:  
> > first defined here  
> > ael\_main.o: In function ` ast_tvnow': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:100: multiple definition of`ast\_tvnow’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:100:  
> > first defined here  
> > ael\_main.o: In function ` ast_tv': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:122: multiple definition of`ast\_tv’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:122:  
> > first defined here  
> > ael\_main.o: In function ` ast_samp2tv': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:137: multiple definition of`ast\_samp2tv’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/time.h:137:  
> > first defined here  
> > ael\_main.o: In function ` ast_skip_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50: multiple definition of`ast\_skip\_blanks’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50:  
> > first defined here  
> > ael\_main.o: In function ` ast_trim_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65: multiple definition of`ast\_trim\_blanks’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65:  
> > first defined here  
> > ael\_main.o: In function ` ast_skip_nonblanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91: multiple definition of`ast\_skip\_nonblanks’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91:  
> > first defined here  
> > ael\_main.o: In function ` ast_strip': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109: multiple definition of`ast\_strip’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109:  
> > first defined here  
> > ael\_main.o: In function ` ast_copy_string': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168: multiple definition of`ast\_copy\_string’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168:  
> > first defined here  
> > ael\_main.o: In function ` _ast_malloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:337: multiple definition of`\_ast\_malloc’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:337:  
> > first defined here  
> > ael\_main.o: In function ` _ast_calloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:360: multiple definition of`\_ast\_calloc’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:360:  
> > first defined here  
> > ael\_main.o: In function ` _ast_realloc': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:396: multiple definition of`\_ast\_realloc’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:396:  
> > first defined here  
> > ael\_main.o: In function ` _ast_strdup': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:423: multiple definition of`\_ast\_strdup’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:423:  
> > first defined here  
> > ael\_main.o: In function ` _ast_strndup': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:452: multiple definition of`\_ast\_strndup’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:452:  
> > first defined here  
> > ael\_main.o: In function ` _ast_vasprintf': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:490: multiple definition of`\_ast\_vasprintf’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/utils.h:490:  
> > first defined here  
> > ast\_expr2f.o: In function ` ast_skip_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50: multiple definition of`ast\_skip\_blanks’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:50:  
> > first defined here  
> > ast\_expr2f.o: In function ` ast_trim_blanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65: multiple definition of`ast\_trim\_blanks’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:65:  
> > first defined here  
> > ast\_expr2f.o: In function ` ast_skip_nonblanks': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91: multiple definition of`ast\_skip\_nonblanks’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:91:  
> > first defined here  
> > ast\_expr2f.o: In function ` ast_strip': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109: multiple definition of`ast\_strip’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:109:  
> > first defined here  
> > ast\_expr2f.o: In function ` ast_copy_string': /usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168: multiple definition of`ast\_copy\_string’  
> > aelparse.o:/usr/src/Asterisk-ASL-1.01/asterisk/include/asterisk/strings.h:168:  
> > first defined here  
> > collect2: error: ld returned 1 exit status  
> > /usr/src/Asterisk-ASL-1.01/asterisk/Makefile.rules:78:  
> > recipe for target ‘aelparse’ failed  
> > make[1]: \*\*\* [aelparse] Error 1  
> > make[1]: Leaving directory  
> > ‘/usr/src/Asterisk-ASL-1.01/asterisk/utils’  
> > Makefile:364: recipe for target ‘utils’ failed  
> > make: \*\*\* [utils] Error 2  
> > root@repeater:/usr/src/asterisk/asterisk#
> 
> > * * *
> > 
> > [ Visit  
> > Topic](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/25) or reply to this email to respond.
> 
> > ```
> > You are receiving this because you enabled mailing list
> > 
> > ```
> > 
> > mode.
> 
> > To unsubscribe from these emails, [click here](https://community.allstarlink.org/email/unsubscribe/8b2987eb8467cda85de41af5c24b174fc8f53f13361bb432e04e30a1566cb32f).

---

<div class="post-metadata">

**Author:** ![N4IRS](https://community.allstarlink.org/user_avatar/community.allstarlink.org/n4irs/32/548_2.png) [@N4IRS](https://community.allstarlink.org/u/N4IRS)\
**Post date:** [March 5, 2020, 2:21am UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/27 "2020-03-05T02:21:00Z")

</div>

The web site munged my reply see

> **···**
>
> [https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/26?u=n4irs](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/26)
> 
> ```
> On 3/4/20 9:07 PM, Steve Zingman via
> 
> ```
> 
> AllStarLink Discussion Groups wrote:
> 
> > ![N4IRS](https://community.allstarlink.org/uploads/default/original/1X/cf5b0601970a615ccafca741c40a20662844ae09.jpeg)  
> > [N4IRS](https://community.allstarlink.org/u/n4irs)
> > 
> > ```
> > March 5
> > git clone cd
> > 
> > ```
> > 
> > Asterisk/asterisk  
> > ./configure CXX=g+±4.9 CC=gcc-4.9  
> > make menuselect #make sure all required apps  
> > and packages are  
> > selected  
> > make  
> > See \<\>  
> > Built fine on Debian Stretch No head pounding required.  
> > Steve N4IRS
> 
> > ··· [(click for more details)](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/26)
> 
> > * * *
> > 
> > [Visit Topic](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/26)  
> > or reply to this email to respond.
> 
> > * * *
> > 
> > #### In Reply To
> > 
> > ![w2db](https://community.allstarlink.org/uploads/default/original/2X/5/58a6d327396d8911acfb412330f2ad19a18fbe56.jpeg)  
> > [w2db](https://community.allstarlink.org/u/w2db)
> > 
> > ```
> > March 5
> > folks having another week of
> > 
> > ```
> > 
> > pound head against wall over re-compiling with a modified  
> > app\_rpt.c I have tried various source trees found for this.  
> > All wind up the same way. First I’m doing this on ASL-1.01  
> > source that I downloaded. Did configure and make menuselect,  
> > etc. But when I do make it starts…
> 
> > * * *
> > 
> > [ Visit  
> > Topic](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/26) or reply to this email to respond.
> 
> > ```
> > You are receiving this because you enabled mailing list
> > 
> > ```
> > 
> > mode.
> 
> > To unsubscribe from these emails, [click here](https://community.allstarlink.org/email/unsubscribe/e8fee407070139bb86b0fe9532845a9278194af02233e0739d8a5481fda0cde6).

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [March 7, 2020, 2:47pm UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/28 "2020-03-07T14:47:04Z")

</div>

tomorse doesn’t work, I tried it. Might work on the brand X distro but not on my ASL 1.01

GeorgeC W2DB

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [March 7, 2020, 2:56pm UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/29 "2020-03-07T14:56:01Z")

</div>

Steve, did all of that. Not my first time doing this. Just hitting some very different errors, as I posted. I don’t know which Debian I have here but it is the ASL 1.01 image I’m using. It is not on a Pi. But looking at the errors it seems to identify four .h files in asterisk/include/asterisk . lock.h, time.h, strings.h and utils.h.

There were compiles that failed, like ael and iax2 and dungi. Eliminated them from make menuselect and still got the error when compiling command2…

So just real puzzled. I recently compiled it on a Pi4, done it on Pi3, did may times on Limey and ACID. Made sure all the required packages are installed… Just stumped. I realize this is an asterisk or gcc issue not an AllstarLink issue but figured someone here might be able to help.

Thanks  
GeorgeC W2DB

---

<div class="post-metadata">

**Author:** ![David\_McGough](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/d/7cd45c/32.png) [@David\_McGough](https://community.allstarlink.org/u/David_McGough)\
**Post date:** [March 7, 2020, 3:48pm UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/30 "2020-03-07T15:48:36Z")

</div>

What doesn’t work about the tomorse program? It’s about as generic code as you can get! I’ve used it since at least my first ACID installs, 12+ years ago.

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [March 8, 2020, 12:44am UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/31 "2020-03-08T00:44:51Z")

</div>

Made the binaries, ran the morse-build and morse-install, etc, and get errors. Starting to think I have a problem with cpp. Get errors when I run it.

Made an wav file at an external web site with my ID, ran thru sox and it works but doesn’t sound as clean as what asterisk can make… and the fact that I just casn’t find a reason why asterisk compile fails I’m starting to suspect g++ and gcc

G

---

<div class="post-metadata">

**Author:** ![Tom](https://community.allstarlink.org/user_avatar/community.allstarlink.org/tom/32/3049_2.png) [@Tom](https://community.allstarlink.org/u/Tom)\
**Post date:** [March 8, 2020, 1:15am UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/32 "2020-03-08T01:15:59Z")

</div>

George, check which version of g++ compiler you’re using. I ran into the same thing with the standard version: gcc 6.3 . You need to use: gcc 4.9 . Then it should compile.  
Tom / K5TRA

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [March 8, 2020, 5:21am UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/33 "2020-03-08T05:21:22Z")

</div>

That would explain it. Figured a newer version should work. Tried  
finding 4.9 with apt and didn’t see it

Thanks Tom

> **···**
>
> On 3/7/2020 7:26 PM, Tom via  
> AllStarLink Discussion Groups wrote:
> 
> > ![Tom](https://community.allstarlink.org/uploads/default/original/2X/a/aff30a9259e3de99226ff71315d732e1d21238c9.png)  
> > [Tom](https://community.allstarlink.org/u/tom)
> > 
> > ```
> > March 8
> > George, check which
> > 
> > ```
> > 
> > version of g++ compiler you’re using. I ran into the same  
> > thing with the standard version: gcc 6.3 . You need to  
> > use: gcc 4.9 . Then it should compile.  
> > Tom / K5TRA
> 
> > * * *
> > 
> > [Visit Topic](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/32)  
> > or reply to this email to respond.
> 
> > * * *
> > 
> > #### In Reply To
> > 
> > ![George_Csahanin](https://community.allstarlink.org/uploads/default/original/2X/d/d75d34418361191838d0ecef6b5266c225809884.png)  
> > [George\_Csahanin](https://community.allstarlink.org/u/george_csahanin)
> > 
> > ```
> > March 8
> > Made the binaries, ran the
> > 
> > ```
> > 
> > morse-build and morse-install, etc, and get errors. Starting  
> > to think I have a problem with cpp. Get errors when I run  
> > it. Made an wav file at an external web site with my ID, ran  
> > thru sox and it works but doesn’t sound as clean as what  
> > asterisk can make… and the fact th…
> 
> > * * *
> > 
> > [ Visit  
> > Topic](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/32) or reply to this email to respond.
> 
> > To unsubscribe from these emails, [click here](https://community.allstarlink.org/email/unsubscribe/2cc256180e8c33770c90d4348adc1c77750c7b8e0aaaedf2034a298e0d32fd93).
> 
> ```auto
> -- George Csahanin
> 10100 Carson Ranch Rd.
> Crowley, TX 76036
> 682-708-5716 home
> 401-338-0568 cel
> 
> ```

---

<div class="post-metadata">

**Author:** ![W2DB](https://community.allstarlink.org/letter_avatar_proxy/v4/letter/w/57b2e6/32.png) [@W2DB](https://community.allstarlink.org/u/W2DB)\
**Post date:** [March 9, 2020, 9:22pm UTC](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161/34 "2020-03-09T21:22:22Z")

</div>

Got it! Needed to add **deb [http://deb.debian.org/debian/](http://deb.debian.org/debian/) jessie main contrib non-free**  
**deb-src [http://deb.debian.org/debian/](http://deb.debian.org/debian/) jessie main contrib non-free** to /etc/apt/sources.list (thanks to Ed W8VT)  
THEN I was able to add gcc-4.9 and g+±4.9  
Then I could compile.  
But wait! ANOTHER problem!  
The source for chan\_usbradio.c would not recognize my CM119 device from Masters. It is 0d8c:013a but that one isn’t in the source code. I found this when it compiled and installed fine but the repeater still didn’t function. I copied the chan\_usbradio.c from the Raspberry Pi4 source tree. Compiled. Works fine.  
Done  
Stuff shouldn’t be this difficult…  
GeorgeC W2DB

[Previous page](https://community.allstarlink.org/t/edits-to-app-rpt-c/16161.md?page=1)
