X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTi=Mn_QD1vKWpd15c=aKwRHzxOpwm8Dug5K6G-2p@mail.gmail.com>
References: <AANLkTinsM-QZANVNv-GvZ3ucJrrnrSM0oMku+AHAQrY2@mail.gmail.com>	<AANLkTi=Mn_QD1vKWpd15c=aKwRHzxOpwm8Dug5K6G-2p@mail.gmail.com>
Date: Mon, 23 Aug 2010 02:15:28 +0800
Message-ID: <AANLkTikVQRePbaGco349m+PLMaNNNzG6FSKMSPVwhSFM@mail.gmail.com>
Subject: Re: Build S-Lang Fail
From: Steven Woody <narkewoody@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 22 August 2010 16:53, Csaba Raduly <rcsaba@gmail.com> wrote:
> On Sat, Aug 21, 2010 at 12:48 PM, Steven Woody =A0wrote:
>> Hi,
>>
>> I got following error when I was compiling s-lang for cygwin:
>>
>> cd /home/narke/src/slang-2.2.2/src/elfobjs; gcc -c -g -O2
>> -DBUILD_DLL=3D1 =A0-Dunix -DSLANG
>> -DMISC_TERMINFO_DIRS=3D'"/usr/share/terminfo"'
>> /home/narke/src/slang-2.2.2/src/sltermin.c
>> /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe: error while loading shared
>> libraries: ?: cannot open shared object file: No such file or
>> directory
>
> Apparently, it can't find a shared library. What's the output of

Thanks. The question is that what's the missing share library?

>
> ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe

$ ldd /usr/lib/gcc/i686-pc-cygwin/4.3.4/cc1.exe
        ntdll.dll =3D> /cygdrive/c/WINDOWS/system32/ntdll.dll (0x7c920000)
        kernel32.dll =3D> /cygdrive/c/WINDOWS/system32/kernel32.dll (0x7c80=
0000)
        cyggcc_s-1.dll =3D> /usr/bin/cyggcc_s-1.dll (0x67f00000)
        cygwin1.dll =3D> /usr/bin/cygwin1.dll (0x61000000)
        ADVAPI32.DLL =3D> /cygdrive/c/WINDOWS/system32/ADVAPI32.DLL (0x77da=
0000)
        RPCRT4.dll =3D> /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x77e50000)
        Secur32.dll =3D> /cygdrive/c/WINDOWS/system32/Secur32.dll (0x77fc00=
00)
        cyggmp-3.dll =3D> /usr/bin/cyggmp-3.dll (0x63f40000)
        cygmpfr-1.dll =3D> /usr/bin/cygmpfr-1.dll (0x6cd80000)


>
> --
> Life is complex, with real and imaginary parts.
> "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus To=
rvalds
> "People disagree with me. I just ignore them." -- Linus Torvalds
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>
>



--=20
Life is the only flaw in an otherwise perfect nonexistence
=A0 =A0 -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewoody@gmail.com)

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

