<div dir="ltr"><div dir="ltr"><div>Hi Maiko,</div><div><br></div><div>I appreciate the quick response.  I did as you requested, and here is what I get.  I will wait for you to find some time to spin up a VM and figure out what has changed.  I understand about having a hectic life, so please, don't rush on this on my account lol.  This is my second foray into <a href="http://ampr.org">ampr.org</a> node setup.  I used to run TNOS, but it wasn't supported then, and even less supported now  :)</div><div><br></div><div>Thanks again for the help.</div><div><br></div><div>Ed <br></div><div>cc -DNOJ2STRLWR j2pwmgr/j2pwmgr.c j2pwmgr/j2pwrtns.c -o jnospwmgr -lcrypt<br>j2pwmgr/j2pwmgr.c: In function ‘main’:<br>j2pwmgr/j2pwmgr.c:283:6: warning: implicit declaration of function ‘encrypt’ [-Wimplicit-function-declaration]<br>      encrypt(txt, 0);   /* encode */<br>      ^~~~~~~<br>j2pwmgr/j2pwrtns.c: In function ‘strlwr’:<br>j2pwmgr/j2pwrtns.c:45:21: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration]<br>     while (*p) *p = tolower (*p), p++;<br>                     ^~~~~~~<br>j2pwmgr/j2pwrtns.c: In function ‘j2setkey’:<br>j2pwmgr/j2pwrtns.c:68:3: warning: implicit declaration of function ‘setkey’; did you mean ‘j2setkey’? [-Wimplicit-function-declaration]<br>   setkey (key);<br>   ^~~~~~<br>   j2setkey<br>j2pwmgr/j2pwrtns.c: In function ‘j2userpasswd’:<br>j2pwmgr/j2pwrtns.c:185:2: warning: implicit declaration of function ‘encrypt’; did you mean ‘crypt’? [-Wimplicit-function-declaration]<br>  encrypt (passwdblock, 1); /* decode */<br>  ^~~~~~~<br>  crypt<br>/usr/bin/ld: /tmp/ccXWCG0G.o: in function `main':<br>j2pwmgr.c:(.text+0x4ed): undefined reference to `encrypt'<br>/usr/bin/ld: /tmp/cceKgSr8.o: in function `j2setkey':<br>j2pwrtns.c:(.text+0x17b): undefined reference to `setkey'<br>/usr/bin/ld: /tmp/cceKgSr8.o: in function `j2userpasswd':<br>j2pwrtns.c:(.text+0x45c): undefined reference to `encrypt'<br>collect2: error: ld returned 1 exit status<br>make: *** [makefile:169: jnospwmgr] Error 1</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 26, 2019 at 2:21 PM Langelaar <<a href="mailto:maiko@pcsinternet.ca">maiko@pcsinternet.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Ed,<br>
<br>
Seems Ubuntu 19.04, latest Arch, and a few others are<br>
basically telling people that setkey is obsolete, meaning I<br>
need to get my butt in gear and try to compile this on a<br>
more recent setup, it's been a while to be honest.<br>
<br>
Sorry about that, I will get to it ASAP, just been very busy.<br>
<br>
The only workaround is to #undef B2F in your config.h,<br>
and then remove the '-lcrypto -lcrypt' from Makefile.<br>
<br>
Maiko / VE4KLM<br>
<br>
On 09/26/2019 02:09 PM, Ed Coates wrote:<br>
> Hi everyone!<br>
><br>
> I'm trying to compile  JNOS on a Virtualbox VM running Ubuntu 19.04.  <br>
> I've rsync'd the JNOS source code and copied the files from the 2.0k.3 <br>
> directory into the main directory and compiled it.  I originally ran <br>
> into some problems when it was compiling the tun.c file.  I found an <br>
> thread last month from Maiko that listed an alternate tun.c file to <br>
> use and that worked, but at the end of the compile, while it's linking <br>
> the binary jnos, I run into this error<br>
><br>
>  gcc -DUNIX -g3   -DDEBUG -Wall -o jnos main.o config.o version.o <br>
> session.o \<br>
> jheard.o clients.a servers.a hfdd.a net.a internet.a net.a netrom.a \<br>
> unix.a ax25.a aprs.a dump.a ppp.a bootp.a inp.a j2curses.a \<br>
> -lncurses  -lcrypto -lcrypt<br>
> /usr/bin/ld: net.a(j2pwrtns.o): in function `j2setkey':<br>
> /usr/src/jnos/j2pwmgr/j2pwrtns.c:68: undefined reference to `setkey'<br>
> /usr/bin/ld: net.a(j2pwrtns.o): in function `j2userpasswd':<br>
> /usr/src/jnos/j2pwmgr/j2pwrtns.c:185: undefined reference to `encrypt'<br>
> collect2: error: ld returned 1 exit status<br>
> make: *** [makefile:156: jnos] Error 1<br>
><br>
> any ideas on the cause of the issue and how to fix it?<br>
><br>
> Thanks,<br>
><br>
> Ed<br>
><br>
><br>
> _______________________________________________<br>
> nos-bbs mailing list<br>
> <a href="mailto:nos-bbs@lists.tapr.org" target="_blank">nos-bbs@lists.tapr.org</a><br>
> <a href="http://lists.tapr.org/mailman/listinfo/nos-bbs_lists.tapr.org" rel="noreferrer" target="_blank">http://lists.tapr.org/mailman/listinfo/nos-bbs_lists.tapr.org</a><br>
<br>
<br>
<br>
_______________________________________________<br>
nos-bbs mailing list<br>
<a href="mailto:nos-bbs@lists.tapr.org" target="_blank">nos-bbs@lists.tapr.org</a><br>
<a href="http://lists.tapr.org/mailman/listinfo/nos-bbs_lists.tapr.org" rel="noreferrer" target="_blank">http://lists.tapr.org/mailman/listinfo/nos-bbs_lists.tapr.org</a><br>
</blockquote></div></div></div>