Wednesday, December 21, 2005

 

Tips for Dec

Question: I use Emanate Lite and need SHA and DES privacy. Did we get it in our release?

Answer: Only if you received it with OSE5.1. (corresponds to Emanate Lite 16.1.0.10) Prior to 15.4 SNMP Research did not have permission to export SHA and DES. Only MD5 was included in prior releases. Starting in 15.4 look for the "des.c" file and that tells you have have it. However, we don't ship 15.4 and you'd have to get the later release of Emanate Lite with OSE5.1 (barring special circumstances).


Question: I can't build in Eclipse because it can't find my compiler.

Symptom:
'g++' is not recognized as an internal or external command, operable program or batch file.

Answer: Add the full path to the compiler into your DOS PATH environment, close Eclipse and restart it. e.g. C:\OSE\OSE5.1\gcc_win32_sfk-win32_3.4.2\bin .


Question: I still can't build in Eclipse. Now I get a different error from linker.

Symptom:
\OSE\OSE5.1\gcc_win32_sfk-win32_3.4.2\bin\..\lib\gcc\i386-mingw32\3.4.2\..\.
.\..\..\i386-mingw32\bin\ld.exe: cannot find -lstdc++
collect2: ld returned 1 exit status

Answer: You're doing something that requires a library normally not included in OSE. In this case, probably your call to cout in conjunction with iostream.h . Select the Eclipse Project, right mouseclick and select "Properties." Edit the project property for C/C++ Build. There is a tab for "Tool Settings" and menu under that for "GCC C++ Linker." Select "Libraries." In the bottom pane for Library search paths, add the complete path to the directory where that libstdc++.a library is. Don't enter the path including the name of the library itself - stop after /lib : C:/OSE/OSE5.1/gcc_win32_sfk-win32_3.4.2/lib . Save this, click "Apply" and then Build Project.

This page is powered by Blogger. Isn't yours?

free web hit counter
free invisible web counter