From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22792 invoked by alias); 21 Mar 2012 22:19:30 -0000 Received: (qmail 22783 invoked by uid 22791); 21 Mar 2012 22:19:29 -0000 X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-pb0-f43.google.com (HELO mail-pb0-f43.google.com) (209.85.160.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Mar 2012 22:19:17 +0000 Received: by pbcwz12 with SMTP id wz12so1354689pbc.2 for ; Wed, 21 Mar 2012 15:19:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.221.227 with SMTP id qh3mr15061015pbc.43.1332368356756; Wed, 21 Mar 2012 15:19:16 -0700 (PDT) Received: by 10.68.229.102 with HTTP; Wed, 21 Mar 2012 15:19:16 -0700 (PDT) Date: Wed, 21 Mar 2012 22:19:00 -0000 Message-ID: Subject: Linking Errors related to X11 From: Tom Szczesny To: cygwin-xfree@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2012-03/txt/msg00042.txt.bz2 I am attempting to port the aplus-fsf-4.22 package (available at www.aplusdev.org) to cygwin, and I'm getting linking errors related to X11. I can build the package successfully on Gentoo Linux. The build on cygwin fails at /aplus-fsf-4.22/src/main/aplus-main.c with many error messages related to X11, such as undefined reference to '_XWarpPointer'. The Makefile.in contains the lines: X_INCLUDES = @X_INCLUDES@ X_LIBS = @X_LIBS@ which got translated (in the Makefile) to: X_INCLUDES = -I X_LIBS = -L -lX11 While this works when building in Gentoo Linux, it does not appear to be correct for cygwin. What is the correct specification when building the package in cygwin? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/