Share

STUN Client and Server library

Tracker: Bugs

5 compilation error: stun.cxx:681:7: error: #error Need some w - ID: 1678791
Last Update: Comment added ( nobody )

I tried to compile server under 32 bit and 64 CPU machine under Debian OS.
On the first 32 bit machine there was no error but on the second 64 bit CPU
there was the following one:

stun.cxx:681:7: error: #error Need some way to seed the random number
generator
stun.cxx: In function ‘int stunRand()’:
stun.cxx:683: warning: ‘tick’ is used uninitialized in this function
make: *** [stun.o]

My machine:

stun@sen:~/src/stund$ uname -a
Linux sen 2.6.18-4-amd64 #1 SMP Wed Feb 21 14:29:38 UTC 2007 x86_64
GNU/Linux


Tomasz Zieleniewski ( tzieleniewski ) - 2007-03-12 08:47

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 4 )




Date: 2008-07-11 01:02
Sender: nobody

Logged In: NO

I have the same problem. :(


Date: 2008-07-05 13:25
Sender: nobody

Logged In: NO

I have same problem in Fedora 9(2.6.25.6-55.fc9.x86_64)
Does anyone know how to solve it at x86_64 bit Fedora OS?
Thanks a lot!
-------------------------------------------------------
g++ -c -g -O -Wall server.cxx -o server.o
g++ -c -g -O -Wall stun.cxx -o stun.o
stun.cxx:681:7: error: #error Need some way to seed the random number
generator
stun.cxx: In function ‘int stunRand()’:
stun.cxx:683: warning: ‘tick’ may be used uninitialized in
this function
make: *** [stun.o] Error 1


Date: 2007-06-07 20:53
Sender: korstad


I too had the same error on a 64bit CPU with 64bit Fedora Linux OS.

> make
g++ -c -g -O -Wall server.cxx -o server.o
g++ -c -g -O -Wall stun.cxx -o stun.o
stun.cxx:681:7: error: #error Need some way to seed the random number
generator
stun.cxx: In function 'int stunRand()':
stun.cxx:683: warning: 'tick' is used uninitialized in this function
make: *** [stun.o] Error 1

> uname -a
Linux gateway.korstad.net 2.6.21dans #1 SMP Fri Apr 27 18:41:27 CDT 2007
x86_64 x86_64 x86_64 GNU/Linux


Date: 2007-04-04 16:44
Sender: ahawrylyshenProject Admin


Acknowledging this report. I'll see if someone can look at it on our
x86_64 PLATFORMS.


Log in to comment.




Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.