| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| ivokabel |
Posted: Feb 16 2005, 11:25 AM
|
|
Newbie ![]() Group: Members Posts: 2 Member No.: 816 Joined: 16-February 05 |
Hi folks.
After calling socket() function in my program an "Illegal instruction" error occurs (SIGILL posted). Don't you know how it can happens? I've made some simple programs with socket() function on the same machine and they run without any problem. I've tried to debug my prog. and it falls on first instruction of socket()... No optimization used. I use Linux 2.4.28-6up (i686 Pentium III). I've wasted day and a half and haven't done anything that can help. Can you help me. Thanx to all |
| ivokabel |
Posted: Feb 16 2005, 01:59 PM
|
|
Newbie ![]() Group: Members Posts: 2 Member No.: 816 Joined: 16-February 05 |
I'm such an idiot...
I have got global variable named "socket" in another module... due to this there was no conflict during compilation and linking... ...such an idiot |
![]() |
![]() ![]() ![]() |