From owner-freebsd-questions@FreeBSD.ORG Tue Feb 14 03:35:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C49316A420 for ; Tue, 14 Feb 2006 03:35:13 +0000 (GMT) (envelope-from gareth.reeves@widespreadsolutions.com) Received: from thurlow.textdrive.com (thurlow.textdrive.com [207.7.108.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C9E343D5E for ; Tue, 14 Feb 2006 03:35:08 +0000 (GMT) (envelope-from gareth.reeves@widespreadsolutions.com) Received: from [192.168.0.3] (d53-64-144-227.nap.wideopenwest.com [64.53.227.144]) by thurlow.textdrive.com (Postfix) with ESMTP id DAAFEC9998 for ; Tue, 14 Feb 2006 03:34:57 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v746.2) To: freebsd-questions@freebsd.org Message-Id: <57CF42C6-2919-405B-A662-C5D0257FDBCF@widespreadsolutions.com> From: Gareth Reeves Date: Mon, 13 Feb 2006 21:34:55 -0600 X-Mailer: Apple Mail (2.746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: /compat/linux undefined reference GLIBC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Feb 2006 03:35:13 -0000 Hi I am having some problems compiling and linking a very simple program that I wrote that uses some 3rd party libraries. They are written to run on Linux and are ELF. My understanding of all the things going on here is limited and I apologize for that now. The libraries execute fine but I am having problems building against them. I get a bunch of the following errors /opt/ito33/lib/libitoihg.so: undefined reference to `getenv@GLIBC_2.0' /opt/ito33/lib/libitoihg.so: undefined reference to `strcpy@GLIBC_2.0' /opt/ito33/lib/libitoihg.so: undefined reference to `free@GLIBC_2.0' /opt/ito33/lib/libitoihg.so: undefined reference to `pthread_cond_signal@GLIBC_2.3.2' My compile and link contains the -L/compat/linux/lib. This contains all of the libraries from adding the linux_base port. I dont know where to even start trying to figure out which files the GLIBC references should be in. Any help or guidance is much appreciated. Thanks GarethHi I am having some problems compiling and linking a very simple program that I wrote that uses some 3rd party libraries. They are written to run on Linux and are ELF. My understanding of all the things going on here is limited and I apologize for that now. The libraries execute fine but I am having problems building against them. I get a bunch of the following errors /opt/ito33/lib/libitoihg.so: undefined reference to `getenv@GLIBC_2.0' /opt/ito33/lib/libitoihg.so: undefined reference to `strcpy@GLIBC_2.0' /opt/ito33/lib/libitoihg.so: undefined reference to `free@GLIBC_2.0' /opt/ito33/lib/libitoihg.so: undefined reference to `pthread_cond_signal@GLIBC_2.3.2' My compile and link contains the -L/compat/linux/lib. This contains all of the libraries from adding the linux_base port. I dont know where to even start trying to figure out which files the GLIBC references should be in. Any help or guidance is much appreciated. Thanks Gareth Gareth Reeves widespread solutions (773) 259 0102 www.widespreadsolutions.com gareth.reeves@widespreadsolutions.com