ssh multiple definition

Discussion to talk about software related topics only.
Post Reply
RebootExpert
Posts: 97
Joined: Fri Oct 09, 2020 2:57 pm

ssh multiple definition

Post by RebootExpert »

I did a fresh installation of NNDK 2.9.7 with MOD54415 and SSL serial number. I created the example located at: C:\nburn\examples\SSH\sshServerUserAuth. I then uncommented the `NB_SSH_SUPPORTED` and `NB_SSL_SUPPORTED` in `predef.h`, and rebuilt all system files.

When I attempt to build the example project, I encounter multiple definition errors during compilation.
builderror.png
builderror.png (52.52 KiB) Viewed 2717 times
buildLog.txt
(3.48 KiB) Downloaded 6 times
User avatar
TomNB
Posts: 604
Joined: Tue May 10, 2016 8:22 am

Re: ssh multiple definition

Post by TomNB »

Hello,

I think there is something wrong with your install, you should not have to uncomment the SSL in 2.9.7, as its always enabled. Can you rename your \nburn directory and do a clean install of 2.9.7?
User avatar
TomNB
Posts: 604
Joined: Tue May 10, 2016 8:22 am

Re: ssh multiple definition

Post by TomNB »

Sounds like you might be using an old predef.h? What is the version number at the top?
RebootExpert
Posts: 97
Joined: Fri Oct 09, 2020 2:57 pm

Re: ssh multiple definition

Post by RebootExpert »

I reinstall 2.9.7. attached is the predef header file without any modification it's in rev 2.9.7. the NB_SSL_SUPPORTED is commented out by default.

the ide itself seems in 2.9.5
ideRev.png
ideRev.png (13.67 KiB) Viewed 2708 times

not sure if it matter, the installer was downloaded back in 12/18/2023
installer.png
installer.png (9.22 KiB) Viewed 2708 times


predef.h
(9.63 KiB) Downloaded 8 times
User avatar
TomNB
Posts: 604
Joined: Tue May 10, 2016 8:22 am

Re: ssh multiple definition

Post by TomNB »

I just ran a test of a clean install and do not get any duplicates. Does your new install still do that? You did not install over an old version (there was no \nburn folder when you installed) correct?
User avatar
TomNB
Posts: 604
Joined: Tue May 10, 2016 8:22 am

Re: ssh multiple definition

Post by TomNB »

Other than that, it could be your pc's environment variables mixing up releases.
RebootExpert
Posts: 97
Joined: Fri Oct 09, 2020 2:57 pm

Re: ssh multiple definition

Post by RebootExpert »

yes same error after a fresh installation of 2.9.7, I rename the \nburn to something else then install 2.9.7 again.
RebootExpert
Posts: 97
Joined: Fri Oct 09, 2020 2:57 pm

Re: ssh multiple definition

Post by RebootExpert »

I did not observe any abnormal environment variables on my system. The variables NBROOT, NBROOTMINGW and NNDK_ROOT are all set to c:/nburn
User avatar
TomNB
Posts: 604
Joined: Tue May 10, 2016 8:22 am

Re: ssh multiple definition

Post by TomNB »

Hi,

I'm at a loss here on what to try next. If I do a clean install I cannot reproduce this issue. It must be something particular to that pc. Do you have another computer you could try the install on as a test?
RebootExpert
Posts: 97
Joined: Fri Oct 09, 2020 2:57 pm

Re: ssh multiple definition

Post by RebootExpert »

I agree this is a very unusual case. I’ll try installing it on my own PC as our IT department periodically updates the block list. It’s possible that some components were silently blocked during the installation.
Post Reply