[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Trouble linking DDD 3.3.7 under Cygwin - can't find ipc library
From: |
Steve Strobel |
Subject: |
Trouble linking DDD 3.3.7 under Cygwin - can't find ipc library |
Date: |
Thu, 02 Oct 2003 10:42:50 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 |
I am having trouble getting DDD 3.3.7 to link correctly under Cygwin
under Windows 2000. I have X and GDB working, and lesstif installed, so
I think I have the other pieces DDD will need in place. I ran
"./configure" then "make", which terminated while linking, unable to
find the "ipc" library, like this:
g++ -DNDEBUG -O2 -g -W -Wall -trigraphs -o vsl.exe vsl.o
<...many other object files...>
VSLErr.o VSLLib.o VSLNode.o VSLRead.o
-L/usr/X11R6/lib/usr/X11R6/lib/
libXm.a -lipc -lXaw -lXmu -lXt -lXpm -lXp -lXext -lX11 -lSM
-lICE -ltermcap -liberty
make[2]: Leaving directory `/ddd-3.3.7/ddd'
make[1]: Leaving directory `/ddd-3.3.7/ddd'
make[1]: Entering directory `/ddd-3.3.7'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/ddd-3.3.7'
address@hidden /ddd-3.3.7
$
usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-
pc-cygwin/bin/ld: cannot find -lipc
collect2: ld returned 1 exit status
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-
pc-cygwin/bin/ld: cannot find -lipc
collect2: ld returned 1 exit status
I searched to see if I had an "ipc" library, and found the following:
In cygwin/etc/setup
cygipc.lst.gz
In cygwin/bin
cygcygipc-2.dll
ipc-daemon2.exe
ipctest.exe
libcygipc.a
libcygipc.dll.a
I don't know whether DDD should be looking for -lcygipc rather than
-lipc when targeting cygwin, or whether I should have an IPC library
that I don't have.
I checked config.log. It seems that configure couldn't find ipc either,
although that didn't cause it to abort (I didn't notice the message when
it happened):
configure:14550: result: no
configure:14554: checking for shmat in -lipc
configure:14587: g++ -o conftest.exe -g -O2 -fpermissive
conftest.cc -lipc >&5
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-
pc-cygwin/bin/ld: cannot find -lipc
collect2: ld returned 1 exit status
configure:14590: $? = 1
configure: failed program was:
#line 14561 "configure"
#include "confdefs.h"
The following lines in configure.ac make configure look for it:
dnl Check for -lipc library. SCO unix is said to want that.
dnl
AC_CHECK_LIB(ipc, shmap, X11_LIBS="${X11_LIBS} -lipc",,
${X_PRE_LIBS} ${X11_LIBS} ${X_EXTRA_LIBS})
I don't know if the IPC library is even needed on cygwin, or just SCO.
Am I missing an IPC library in Cygwin that I should have, or should DDD
be linking in the cygipc library that I already have? Thanks for your help.
Steve Strobel
---
Steve Strobel WWW: http://www.link-comm.com
Link Communications, Inc. Phone: (406) 245-5002 ext 102
MailTo:address@hidden Fax: (406) 245-4889
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Trouble linking DDD 3.3.7 under Cygwin - can't find ipc library,
Steve Strobel <=