(Install cygwin latest)
(Install pccts to /usr/local/pccts)
(Install cygipc latest to prefix=/usr)
./configure --with-pcctsbin=/usr/local/pccts/bin --with-pcctsinc=/usr/local/pccts/include --without-posix-threads
make
:
then looks good but last
:
ranlib libdao.a
c++ -o cdrdao main.o -L. -ldao -L../paranoia .....
./libdao.a(dao.o)(.ext+0x141b): undefined reference to `shmget(long, int, int)'
shmat
shmdt
shmct
I modified dao/Makefile to add '-lcygipc' but same. I don't know why ld can't reach libcygipc.a...
TIA
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-02-27
Phew.. cygipc library headers donesn't have linkage specification for cplusplus...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You should compile cdrdao with pthread support.
The SYSV IPC stuff won't work under Win32.
The current Cygwin release has the required
pthread functions build into the c library.
Please try to compile with the 1.1.5-pre1 release
available from:
ftp://cdrdao.sourceforge.net/pub/cdrdao
This version might also fail to compile "port.cc"
with respect on some Win32 header files but it can
be eassily fixed by including something like
"windows.h".
Andreas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2001-02-28
Thanks. > Andreas.
I got 1.1.5-pre. Build succeed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I did the followings and get error messages.
(Install cygwin latest)
(Install pccts to /usr/local/pccts)
(Install cygipc latest to prefix=/usr)
./configure --with-pcctsbin=/usr/local/pccts/bin --with-pcctsinc=/usr/local/pccts/include --without-posix-threads
make
:
then looks good but last
:
ranlib libdao.a
c++ -o cdrdao main.o -L. -ldao -L../paranoia .....
./libdao.a(dao.o)(.ext+0x141b): undefined reference to `shmget(long, int, int)'
shmat
shmdt
shmct
I modified dao/Makefile to add '-lcygipc' but same. I don't know why ld can't reach libcygipc.a...
TIA
Phew.. cygipc library headers donesn't have linkage specification for cplusplus...
You should compile cdrdao with pthread support.
The SYSV IPC stuff won't work under Win32.
The current Cygwin release has the required
pthread functions build into the c library.
Please try to compile with the 1.1.5-pre1 release
available from:
ftp://cdrdao.sourceforge.net/pub/cdrdao
This version might also fail to compile "port.cc"
with respect on some Win32 header files but it can
be eassily fixed by including something like
"windows.h".
Andreas
Thanks. > Andreas.
I got 1.1.5-pre. Build succeed.