delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/18/05:52:01

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
Date: Tue, 18 Mar 2003 11:51:45 +0100 (MET)
From: enrico DOT luedecke AT gmx DOT de
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Subject: question about undefined reference
X-Priority: 3 (Normal)
X-Authenticated-Sender: #0002582250 AT gmx DOT net
X-Authenticated-IP: [217.237.58.21]
Message-ID: <11995.1047984705@www63.gmx.net>
X-Flags: 0001

Hi all,

this is my first posting, so be patient if something goes wrong :-)

I installed Cygwin yesterday with nearly all packages. I want to write an
app running both on win and linux. I want to use gtk and glade to build the
GUI. I started to compile the libs and packages needed for linux: gtk, glib,
pango, atk, ... But nearly everytime I try to compile a package I get an error:
undefined reference to '_some_function'. For example compiling gtk the last
error was: /home/lÿ77777774decke/Projekte/gtk+-2.2.1/gtk/gtksocket.c:334:
undefined reference to `_gdk_x11_drawable_get_xid'. Right before the errors I got
the message:

libtool: link: warning: `/lib/libintl.la' seems to be moved

*** Warning: This system can not link to static lib archive
../gdk/libgdk-x11-2.0.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

I don't understand this message, but it seems to occur often.
I did an aclocal and autoconf before compiling to avoid the _WinMain AT 16
error. The Makefiles are therefore automatically build. The problem seems to be,
that the linker can't find libraries for instance in ../../name_of_lib. These
are provided by the package and definitively are there. I must admit that
I'm a Newbee in using Makefiles. I ever use generated ones and don't have
problems with it. 

Does anybody knows this problem and maybe a solution?

Thanks

Enrico


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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