From owner-freebsd-questions Mon Mar 1 20: 0:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.scl.ameslab.gov (mailhub.scl.ameslab.gov [147.155.137.127]) by hub.freebsd.org (Postfix) with ESMTP id D26BD14D04 for ; Mon, 1 Mar 1999 20:00:19 -0800 (PST) (envelope-from ghelmer@scl.ameslab.gov) Received: from demios.ether.scl.ameslab.gov ([147.155.137.54]) by mailhub.scl.ameslab.gov with esmtp (Exim 1.90 #1) id 10HgMH-0006l1-00; Mon, 1 Mar 1999 22:00:37 -0600 Date: Mon, 1 Mar 1999 22:00:00 -0600 From: Guy Helmer To: Chris Cc: freebsd-questions@freebsd.org Subject: Re: linking problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 1 Mar 1999, Chris wrote: > Hi folks, I seem to be having problems compiling on 3.1-stable. > the compile seems to go fine, however it seems to fail when it begins to > link. An example would be: > gcc -o aim -O -pipe `gtk-config --cflags` -elf aim.o buddy.o toc.o im.o > conversation.o buddy_chat.o html.o prefs.o sound.o about.o `gtk-config --libs` > /usr/local/lib/libgtk.so: file not recognized: File format not recognized What happens when you do "file /usr/local/lib/libgtk.so*"? It seems it may be an a.out library, whic your build is using the elf loader (and your elf /usr/lib libraries). Guy Helmer, Ph.D. Candidate, Iowa State University Dept. of Computer Science Research Assistant, Ames Laboratory --- ghelmer@scl.ameslab.gov Research Assistant, Dept. of Computer Science --- ghelmer@cs.iastate.edu http://www.cs.iastate.edu/~ghelmer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message