" if i declare that variable as static everything seems to work fine "
You've fixed the issue. This is more a 'c' issue and with too many fine books and classes on c than we can imagine you only need to hit the books again.
Bob
hi,
in a C program i hav defined a global variable whose sole purpose is to check a thread, ie. in the thread's function i check the variable's value to continue with the function or to abort. when i compile n use the exe in some other machine it gives me a reloaction error stating "undefined symbol". but if i declare that variable as static everything seems to work fine.wht cld possibly b the problem.
all leads to the solution will b appreciated full heartedly..![]()
tahnks
-Manoj

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic