undefined reference to `GetRandomByte()'

Discussion to talk about software related topics only.
Post Reply
andystephenson
Posts: 5
Joined: Fri Apr 25, 2008 12:42 am

undefined reference to `GetRandomByte()'

Post 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
User avatar
lgitlitz
Posts: 331
Joined: Wed Apr 23, 2008 11:43 am
Location: San Diego, CA
Contact:

Re: undefined reference to `GetRandomByte()'

Post 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
Post Reply