Yeah, VM_SHARED was the problem, I used MAP_SHARED instead and it's working now. Thanks for your help :)
Type: Posts; User: shadew
Yeah, VM_SHARED was the problem, I used MAP_SHARED instead and it's working now. Thanks for your help :)
Here are values for VM and MAP SHARED :
#define VM_SHARED 0x00000008
#define MAP_SHARED 0x001 /* Share changes */
I put the VM_SHARED because it's a requirement to...
Hello !!
I'm trying to use a Xen module, called GNTDEV, which provides several ioctl command and some custom functions such as mmap :
static const struct file_operations gntdev_fops = {
.owner...
Thank you for your answers, cas found the problem. libgntring is effectively compiled with g++. I don't understand why it was working before I reinstall linux, but it's working now, that's what...
Avoid the break instruction in your if/else blocks. Break makes you leave the loop.
It works on my computer. I Type 'B', it's asking for fish.
Hello,
I'm trying to compile a code using functions located in a library (libxenctrl), but ld cannot find the symbols :
gntring3_read_async : gntring3_read_async.o
gcc gntring3_read_async.o...