delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/30/13:54:51

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: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 30 Jan 2004 13:47:57 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Pinhas Krengel <bknpk AT hotmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: verilator on cygwin - unexplained errors
In-Reply-To: <bve8c6$gd1$1@sea.gmane.org>
Message-ID: <Pine.GSO.4.56.0401301342270.20527@slinky.cs.nyu.edu>
References: <bve8c6$gd1$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0

On Fri, 30 Jan 2004, Pinhas Krengel wrote:

> While tring to build one of its packeage (from CPAN) I got stange
> message in response to the make.
>
> the package is //www.veripool.com/systemperl.html
>
> Message is. Can somebody tell me if I am missing something in my cygwin?
>
> make[1]: Entering directory `/cygdrive/c/pini_prog/verilator/SystemPerl-1.147/Parser'
> gcc -c -I. -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSEIMPORTLIB -O2 -DVERSION=\"1.147\" -DXS_VERSION=\"1.147\" "-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE" Parser.c
> Running Mkbootstrap for SystemC::Parser ()
> chmod 644 Parser.bs
> rm -f ../blib/arch/auto/SystemC/Parser/Parser.dll
> LD_RUN_PATH="" ld2 -s -L/usr/local/lib Parser.o -o ../blib/arch/auto/SystemC/Parser/Parser.dll sclex.o scgrammer.o /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a
> gcc -shared -o Parser.dll -Wl,--out-implib=libParser.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
> -s -L/usr/local/lib Parser.o sclex.o scgrammer.o /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a
> Creating library file: libParser.dll.a
> sclex.o(.text+0x2f2b):sclex.c: undefined reference to `__imp___iob'
> sclex.o(.text+0x2f3e):sclex.c: undefined reference to `__imp___iob'
> sclex.o(.text+0x389b):sclex.c: undefined reference to `__assert'
> sclex.o(.text+0x43bb):sclex.c: undefined reference to `__imp___iob'
> sclex.o(.text+0x444e):sclex.c: undefined reference to `__isctype'
> sclex.o(.text+0x4476):sclex.c: undefined reference to `__isctype'
> sclex.o(.text+0x44bd):sclex.c: undefined reference to `__isctype'
> sclex.o(.text+0x44e9):sclex.c: undefined reference to `__isctype'
> sclex.o(.text+0x4538):sclex.c: undefined reference to `__imp___pctype'
> sclex.o(.text+0x4551):sclex.c: undefined reference to `__imp___pctype'
> sclex.o(.text+0x4569):sclex.c: undefined reference to `__imp___pctype'
> sclex.o(.text+0x4581):sclex.c: undefined reference to `__imp___pctype'
> scgrammer.o(.text+0x16d6):scgrammer.c: undefined reference to `__imp___iob'
> scgrammer.o(.text+0x16fa):scgrammer.c: undefined reference to `__imp___iob'
> scgrammer.o(.text+0x1724):scgrammer.c: undefined reference to `__imp___iob'
> scgrammer.o(.text+0x179b):scgrammer.c: undefined reference to `__imp___iob'
> scgrammer.o(.text+0x17de):scgrammer.c: undefined reference to `__imp___iob'
> scgrammer.o(.text+0x180f):scgrammer.c: more undefined references to `__imp___iob' follow
> collect2: ld returned 1 exit status
> perlld: *** system() failed to execute
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> gcc -shared -o Parser.dll -Wl,--out-implib=libParser.dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--stack,8388608 \
> -s -L/usr/local/lib Parser.o sclex.o scgrammer.o /usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE/libperl.dll.a
> make[1]: *** [../blib/arch/auto/SystemC/Parser/Parser.dll] Error 1
> make[1]: Leaving directory `/cygdrive/c/pini_prog/verilator/SystemPerl-1.147/Parser'
> make: *** [subdirs] Error 2

Please accompany all Cygwin problem reports with the output of "cygcheck
-svr", preferably run from the environment/context in which you get the
error.  The output should be attached, as an uncompressed text
*attachment*, rather than included inline, as per
<http://cygwin.com/problems.html>.

The first question that comes to mind after seeing the underlined line
above, though, is whether you're using Cygwin's perl or if there's another
perl in the PATH that overrides it.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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