[nos-bbs] JNOS 2.0k.3B compiling issues

Ed Coates edcoates at gmail.com
Thu Sep 26 15:39:29 EDT 2019


Hi Maiko,

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 ampr.org
node setup.  I used to run TNOS, but it wasn't supported then, and even
less supported now  :)

Thanks again for the help.

Ed
cc -DNOJ2STRLWR j2pwmgr/j2pwmgr.c j2pwmgr/j2pwrtns.c -o jnospwmgr -lcrypt
j2pwmgr/j2pwmgr.c: In function ‘main’:
j2pwmgr/j2pwmgr.c:283:6: warning: implicit declaration of function
‘encrypt’ [-Wimplicit-function-declaration]
      encrypt(txt, 0);   /* encode */
      ^~~~~~~
j2pwmgr/j2pwrtns.c: In function ‘strlwr’:
j2pwmgr/j2pwrtns.c:45:21: warning: implicit declaration of function
‘tolower’ [-Wimplicit-function-declaration]
     while (*p) *p = tolower (*p), p++;
                     ^~~~~~~
j2pwmgr/j2pwrtns.c: In function ‘j2setkey’:
j2pwmgr/j2pwrtns.c:68:3: warning: implicit declaration of function
‘setkey’; did you mean ‘j2setkey’? [-Wimplicit-function-declaration]
   setkey (key);
   ^~~~~~
   j2setkey
j2pwmgr/j2pwrtns.c: In function ‘j2userpasswd’:
j2pwmgr/j2pwrtns.c:185:2: warning: implicit declaration of function
‘encrypt’; did you mean ‘crypt’? [-Wimplicit-function-declaration]
  encrypt (passwdblock, 1); /* decode */
  ^~~~~~~
  crypt
/usr/bin/ld: /tmp/ccXWCG0G.o: in function `main':
j2pwmgr.c:(.text+0x4ed): undefined reference to `encrypt'
/usr/bin/ld: /tmp/cceKgSr8.o: in function `j2setkey':
j2pwrtns.c:(.text+0x17b): undefined reference to `setkey'
/usr/bin/ld: /tmp/cceKgSr8.o: in function `j2userpasswd':
j2pwrtns.c:(.text+0x45c): undefined reference to `encrypt'
collect2: error: ld returned 1 exit status
make: *** [makefile:169: jnospwmgr] Error 1


On Thu, Sep 26, 2019 at 2:21 PM Langelaar <maiko at pcsinternet.ca> wrote:

> Hi Ed,
>
> Seems Ubuntu 19.04, latest Arch, and a few others are
> basically telling people that setkey is obsolete, meaning I
> need to get my butt in gear and try to compile this on a
> more recent setup, it's been a while to be honest.
>
> Sorry about that, I will get to it ASAP, just been very busy.
>
> The only workaround is to #undef B2F in your config.h,
> and then remove the '-lcrypto -lcrypt' from Makefile.
>
> Maiko / VE4KLM
>
> On 09/26/2019 02:09 PM, Ed Coates wrote:
> > Hi everyone!
> >
> > I'm trying to compile  JNOS on a Virtualbox VM running Ubuntu 19.04.
> > I've rsync'd the JNOS source code and copied the files from the 2.0k.3
> > directory into the main directory and compiled it.  I originally ran
> > into some problems when it was compiling the tun.c file.  I found an
> > thread last month from Maiko that listed an alternate tun.c file to
> > use and that worked, but at the end of the compile, while it's linking
> > the binary jnos, I run into this error
> >
> >  gcc -DUNIX -g3   -DDEBUG -Wall -o jnos main.o config.o version.o
> > session.o \
> > jheard.o clients.a servers.a hfdd.a net.a internet.a net.a netrom.a \
> > unix.a ax25.a aprs.a dump.a ppp.a bootp.a inp.a j2curses.a \
> > -lncurses  -lcrypto -lcrypt
> > /usr/bin/ld: net.a(j2pwrtns.o): in function `j2setkey':
> > /usr/src/jnos/j2pwmgr/j2pwrtns.c:68: undefined reference to `setkey'
> > /usr/bin/ld: net.a(j2pwrtns.o): in function `j2userpasswd':
> > /usr/src/jnos/j2pwmgr/j2pwrtns.c:185: undefined reference to `encrypt'
> > collect2: error: ld returned 1 exit status
> > make: *** [makefile:156: jnos] Error 1
> >
> > any ideas on the cause of the issue and how to fix it?
> >
> > Thanks,
> >
> > Ed
> >
> >
> > _______________________________________________
> > nos-bbs mailing list
> > nos-bbs at lists.tapr.org
> > http://lists.tapr.org/mailman/listinfo/nos-bbs_lists.tapr.org
>
>
>
> _______________________________________________
> nos-bbs mailing list
> nos-bbs at lists.tapr.org
> http://lists.tapr.org/mailman/listinfo/nos-bbs_lists.tapr.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tapr.org/pipermail/nos-bbs_lists.tapr.org/attachments/20190926/af39ff7a/attachment-0001.html>


More information about the nos-bbs mailing list