Search found 608 matches

by SeeCwriter
Wed Nov 30, 2022 2:34 pm
Forum: NetBurner Software
Topic: Updating SNMP for v3.x Project
Replies: 12
Views: 4361

Re: Updating SNMP for v3.x Project

I should have paid attention to file header, it's actually a file from HCC Embedded. The file is in subdirectory of nbrtos\include\file. I think it must installed when NNDK is installed. It's only included in four files from HCC Embedded: api_f.h, fsf.h, fsm.h, port_s.h. And DMH includes file fsf.h ...
by SeeCwriter
Mon Nov 28, 2022 9:09 am
Forum: NetBurner Software
Topic: Updating SNMP for v3.x Project
Replies: 12
Views: 4361

Re: Updating SNMP for v3.x Project

Sorry, I misspelled the file name. It's udefs.h, located in nburn\nbrtos\include\file.
by SeeCwriter
Sat Nov 19, 2022 9:34 pm
Forum: NetBurner Software
Topic: Updating SNMP for v3.x Project
Replies: 12
Views: 4361

Re: Updating SNMP for v3.x Project

I'm not sure what you mean when you say "I have not seen extern commands like that before." They are in your file. undef.h is not a DMH file. The DMH implementation of SNMP saves configuration data to the module's flash memory. So it includes the headers for being able to use the fs_ funct...
by SeeCwriter
Fri Nov 18, 2022 1:40 pm
Forum: NetBurner Software
Topic: Updating SNMP for v3.x Project
Replies: 12
Views: 4361

Re: Updating SNMP for v3.x Project

DMH Software.
by SeeCwriter
Thu Nov 17, 2022 2:20 pm
Forum: NetBurner Software
Topic: Updating SNMP for v3.x Project
Replies: 12
Views: 4361

Re: Updating SNMP for v3.x Project

Actually, my idea is not going to work. What do you suggest?
by SeeCwriter
Thu Nov 17, 2022 2:01 pm
Forum: NetBurner Software
Topic: Updating SNMP for v3.x Project
Replies: 12
Views: 4361

Updating SNMP for v3.x Project

I'm upgrading SNMP used in projects built with v2.x tools to work in projects built with v3.x tools. The SNMP files are C files. During compilation header file <file/udefs.h> is included, which throws an error: C:/nburn/nbrtos/include/file/udefs.h:35:8: error: expected identifier or '(' before strin...
by SeeCwriter
Thu Nov 17, 2022 8:56 am
Forum: NetBurner Software
Topic: Adding lib path in v3.x
Replies: 5
Views: 1070

Re: Adding lib path in v3.x

As I suspected, it was something basic. After reading the GNU docs more carefully, I determined that the library name entered in the project properties of Eclipse does not have the prepended 'lib' to file name. While the library filename is libmylib.a, what is entered into Eclipse is mylib. No prepe...
by SeeCwriter
Wed Nov 16, 2022 8:54 am
Forum: NetBurner Software
Topic: Adding lib path in v3.x
Replies: 5
Views: 1070

Re: Adding lib path in v3.x

I have added my library path to Properties-->C/C++ General-->Paths and Symbols-->Library Paths tab, and to the C/C++ General-->Paths and Symbols-->Includes tab. And the path is in the C/C++ Build-->Settings-->GNU C/C++ Linker-->Libraries tab. I've verified spelling and wrapped all paths in quotes. L...
by SeeCwriter
Tue Nov 15, 2022 1:41 pm
Forum: NetBurner Software
Topic: Adding lib path in v3.x
Replies: 5
Views: 1070

Re: Adding lib path in v3.x

Prepending 'lib' to the library name didn't help. Invoking: GNU C/C++ Linker c:/nburn/gcc/bin/../lib/gcc/m68k-unknown-elf/8.1.0/../../../../m68k-unknown-elf/bin/ld.exe: cannot find -llibagentlib.a c:/nburn/gcc/bin/../lib/gcc/m68k-unknown-elf/8.1.0/../../../../m68k-unknown-elf/bin/ld.exe: cannot find...
by SeeCwriter
Tue Nov 15, 2022 11:08 am
Forum: NetBurner Software
Topic: Adding lib path in v3.x
Replies: 5
Views: 1070

Adding lib path in v3.x

I'm trying to add a path to some libraries and I keep getting linker error "cannot find -lagentlib.a". The library is in this path: C:\Projects\nburn\Odu\SNMP\Lib In the Eclipse Project-->Properties-->C/C++ Build-->Settings-->GNU C/C++ Linker-->Libraries-->Library search path (-L) I added ...