Page 1 of 1

undefined reference to `GetRandomByte()'

Posted: Fri Aug 29, 2008 1:46 am
by andystephenson
Hi,

I have included random.h in my project, but when I compile, it get:
C:\Nburn\NBEclipse\workspace\MC123SA\Release/..\nvm.cpp:50: undefined reference to `GetRandomByte()'


I have tried including with "" and <>, same issue.

I have copied the h and c files into MOD5270 include and system dirs, same issue.

Any ideas?

I have posted to the yahoo group as well.

Regards,

Andy

Re: undefined reference to `GetRandomByte()'

Posted: Fri Aug 29, 2008 11:59 am
by lgitlitz
You need to define GATHER_RANDOM in predef.h. This is defined automatically if you are using SSL, SSH or CHAP authentication in PPP. After you define this you should rebuild the system library.

-Larry