compile semaphore and share memory is not working!
Anh Nguyen
anguye123@yahoo.com
Sun Oct 28 14:37:00 GMT 2001
Hello everyone. I have problem compiling semaphore and
share memory in cygwin. I did download and install the
icp packages. However, when i compile my programs i
get these errors:
/cygdrive/c/WINDOWS/TEMP/ccfnoqO7.o(.text+0x33a):server2.c:
undefined reference to `shmat'
/cygdrive/c/WINDOWS/TEMP/ccfnoqO7.o(.text+0x1884):server2.c:
undefined reference to `shmget'
collect2: ld returned 1 exit status
Anyone has any ideas what is wrong with these. Note, i
did include
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/shm.h>
#include <sys/msg.h>
in my program.
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list