Page 1 of 1

ssh multiple definition

Posted: Mon Oct 06, 2025 10:24 am
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 2725 times
buildLog.txt
(3.48 KiB) Downloaded 7 times

Re: ssh multiple definition

Posted: Mon Oct 06, 2025 10:58 am
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?

Re: ssh multiple definition

Posted: Mon Oct 06, 2025 10:59 am
by TomNB
Sounds like you might be using an old predef.h? What is the version number at the top?

Re: ssh multiple definition

Posted: Mon Oct 06, 2025 11:41 am
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 2716 times

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


predef.h
(9.63 KiB) Downloaded 9 times

Re: ssh multiple definition

Posted: Wed Oct 08, 2025 12:22 pm
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?

Re: ssh multiple definition

Posted: Wed Oct 08, 2025 12:23 pm
by TomNB
Other than that, it could be your pc's environment variables mixing up releases.

Re: ssh multiple definition

Posted: Wed Oct 08, 2025 3:57 pm
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.

Re: ssh multiple definition

Posted: Wed Oct 08, 2025 4:02 pm
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

Re: ssh multiple definition

Posted: Thu Oct 09, 2025 2:38 pm
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?

Re: ssh multiple definition

Posted: Thu Oct 09, 2025 3:21 pm
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.