delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/09/09:20:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs
Date: Wed, 9 Jul 2003 15:31:45 +0200 (CEST)
From: Ronald Landheer-Cieslak <ronald AT landheer DOT com>
X-X-Sender: ronald AT localhost DOT localdomain
To: =?iso-8859-1?q?philippe=20guillaume?= <guillaume_pfr AT yahoo DOT fr>
cc: cygwin AT cygwin DOT com
Subject: Re: Problem in compiling : cannot find -ldl
In-Reply-To: <20030709122529.49796.qmail@web9901.mail.yahoo.com>
Message-ID: <Pine.LNX.4.44.0307091530520.4547-100000@localhost.localdomain>
MIME-Version: 1.0

Unlike UNIX `mount', Cygwin `mount' doesn't need the directory to actually 
be there - but you can create it if its absence confuses you.

rlc

On Wed, 9 Jul 2003, philippe guillaume wrote:

> I manage to access to the directory lib and bin but i
> can't see it ...
> 
> [homesweet AT home /]$ mount
> c:\cygwin\usr\X11R6\lib\X11\fonts on
> /usr/X11R6/lib/X11/fonts type system (binmode)
> c:\cygwin\usr\bin on /usr/bin type user (textmode)
> c:\cygwin\usr\lib on /usr/lib type user (textmode)
> c:\cygwin on / type user (textmode)
> c: on /cygdrive/c type user (textmode,noumount)
> 
> Thanks a lot for helping me !
> 
>  --- Elfyn McBratney <elfyn AT emcb DOT co DOT uk> a écrit : > On
> Wed, 9 Jul 2003, [iso-8859-1] philippe guillaume
> > wrote:
> > 
> > > Here is the line for the compilation :
> > >
> > > " gcc -o wish.exe OBJ/wish.o OBJ/calculPosition.o
> > > OBJ/calculVisibiliteCmd.o -L/usr/lib
> > -L/usr/X11R6/lib
> > > -ltk -ltcl -ldl -lX11 -lm "
> > >
> > > and it produces this error :
> > >
> > > "
> > >
> >
> /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld
> > > : cannot find -ldl "
> > 
> > libdl is a linux'ism. You don't need it. We don't
> > have it :-) Just remove '-ldl'
> > from the Makefile or link line.
> > 
> > > There's two things that i don't understand ...
> > > 1- Why i can't see the bin directory on windows in
> > > c:\cygwin\usr and even when i do " ls -l /usr " ?
> > 
> > /usr/bin and /usr/lib are just mount points to
> > C:\cygwin\bin and C:\cygwin\lib .
> > You should be able to see bin and lib from `ls -l
> > /usr', though. What's the
> > output of `mount' ?
> > 
> > > 2- the option -llibrary ... this error means that
> > dl
> > > library isn't on my cygwin ? if it's that how can
> > i
> > > get it ?
> > 
> > Elfyn
> > 
> > -- 
> > Elfyn McBratney, EMCB
> > http://www.emcb.co.uk
> > elfyn AT emcb DOT co DOT uk
> > 
> >  
> 
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019