X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=DUZ2F4fpgh/CvQpJVSWAStn9wRo/09bA3Cz8JzZM7n3 ODoQoiUDX+yGl89F5KdAWqSNk7oS1Lfidm3z5UZsgYmo1YwytZPQG2uSca33DAEC uWVfGYQmI2rSzdwaF4XZq7XYTm2C+/1FOo54lwgqvhK2eVN+paptZJuMemhZgTbI = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=KPoV7Z7mMf2VC5v08J2iNbt0xX0=; b=pmKQt+27yU8QQZR/H Ugm11+k5BIVDhOAuZsDDvLmNsC9kH+JDPOYWhDKCCiIvm9sIXzZO9kx5mt1uyPD4 HBOkGPWkr+Oxzn2hOMvaEyEVmljL5GGZkZm6hk7F+P0rgP9PD7uNSMKOyPYDIwJP zBrddYTbSwYDdlA0TFpoQtH8bM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_40,KAM_STOCKTIP,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,RCVD_IN_SEMBACKSCATTER,TW_LN,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Message-ID: <51630B3F.2050003@schueler.homeip.net> Date: Mon, 08 Apr 2013 20:23:59 +0200 From: =?ISO-8859-15?Q?=22D=2E_Sch=FCler=22?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.3 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: perl 5.14 ncursesw: calling getbegyx() crashes References: <51617A39 DOT 9000901 AT schueler DOT homeip DOT net> <516186D7 DOT 20201 AT cornell DOT edu> In-Reply-To: <516186D7.20201@cornell.edu> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Am 07.04.2013 16:46, schrieb Ken Brown: >> ~/Curses-1.28 $ export CURSES_LDFLAGS="-L/usr/lib/ncurses -lncurses" >> ~/Curses-1.28 $ export CURSES_CFLAGS="-I/usr/include/ncurses" > > ...you need -L/usr/lib/ncursesw and -I/usr/include/ncursesw. > > Ken I tried it even with that compiler options. Today i tried to compile the test.c file from the Curses Package: ~/Curses-1.28 $ gcc-4 -I/usr/include/ncursesw -L/usr/lib/ncursesw -lncursesw -DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g -fno-strict-aliasing -pipe -fstack-protector -DUSEIMPORTLIB -o testsym testsym.c /tmp/ccp3WxB0.o: In function `main': /home/axnrl/Curses-1.28/testsym.c:5: undefined reference to `_initscr' /home/axnrl/Curses-1.28/testsym.c:6: undefined reference to `_ncwrap_stdscr' /home/axnrl/Curses-1.28/testsym.c:6: undefined reference to `_getcury' /home/axnrl/Curses-1.28/testsym.c:6: undefined reference to `_ncwrap_stdscr' /home/axnrl/Curses-1.28/testsym.c:6: undefined reference to `_getcurx' collect2: ld returned 1 exit status This looks like a linker error, which could not find the symbols for the functions. Here's the test.c: ===8<=== #include main() { int x,y; initscr(); getyx(stdscr,y,x); } ===>8=== So i suppose that something went wrong while compiling the ncurses binary for cygwin. Should i run "rebaseAll" on the ncurses library? Regards, David -- 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