[RPL/2] 4.1.17 compilation failed on linux

Laurent Laborde kerdezixe at gmail.com
Wed May 14 15:16:43 CEST 2014


Config.log attached

I think that's what you want to see :
configure:6234: checking for POSIX semaphores and shared objects
configure:6258: gcc -o conftest -g -O2  -O3  -lrt -lpthread conftest.c  >&5
/tmp/cc6wzv2U.o: In function `main':
/home/ker2x/rpl-4.1.17/conftest.c:19: undefined reference to `shm_open'
/home/ker2x/rpl-4.1.17/conftest.c:21: undefined reference to `shm_unlink'
/home/ker2x/rpl-4.1.17/conftest.c:22: undefined reference to `sem_open'
/home/ker2x/rpl-4.1.17/conftest.c:24: undefined reference to `sem_unlink'
collect2: ld returned 1 exit status
configure:6258: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "rpl"
| #define PACKAGE_TARNAME "rpl"
| #define PACKAGE_VERSION "4.1.17"
| #define PACKAGE_STRING "rpl 4.1.17"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "rpl"
| #define VERSION "4.1.17"
| /* end confdefs.h.  */
| #include <sys/mman.h>
| #include <sys/stat.h>
| #include <fcntl.h>
|
| int
| main ()
| {
|  int fd; char *sem = "/test";
| fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
|   close(fd);
|   shm_unlink(sem);
|   fd = sem_open(sem, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0);
|   close(fd);
|   sem_unlink(sem);
|   return(0);
|
|   ;
|   return 0;
| }


-- 
Laurent "ker2x" Laborde
Bigdata hacker @ Ebuzzing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.systella.fr/pipermail/rpl2/attachments/20140514/4cf87dbc/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 73673 bytes
Desc: not available
URL: <http://www.systella.fr/pipermail/rpl2/attachments/20140514/4cf87dbc/attachment-0001.bin>


More information about the RPL2 mailing list