From owner-freebsd-current Fri May 22 13:06:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA06390 for freebsd-current-outgoing; Fri, 22 May 1998 13:06:47 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from picnic.mat.net (picnic.mat.net [206.246.122.117]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA06365 for ; Fri, 22 May 1998 13:06:37 -0700 (PDT) (envelope-from chuckr@glue.umd.edu) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.8.8/8.8.5) with SMTP id PAA13198; Fri, 22 May 1998 15:04:56 -0400 (EDT) Date: Fri, 22 May 1998 15:04:56 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@localhost To: Kyle Mestery cc: freebsd-current@FreeBSD.ORG Subject: Re: ACE and FreeBSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 22 May 1998, Kyle Mestery wrote: > > I am trying to get ACE to work on FreeBSD. After fixing some of the ACE > headers to more acuratley reflect the state of current, I was able to > build and link the shared library libACE.so. However, when trying to > compile any ACE test, this is what I get (or something similar to this): > > g++ -w -fno-strict-prototypes -D_THREAD_SAFE -O2 -g > -fno-implicit-templates -I. -I/usr/home/mestery/src/ACE_wrappers -o > Thread_Manager_Test .obj/Thread_Manager_Test.o > -L/usr/home/mestery/src/ACE_wrappers/ace -L./ -lACE -lc_r -lstdc++ > -lcompat > .obj/Thread_Manager_Test.o: Undefined symbol `_mkdir' referenced (use > -lc_r ?) > ld: Spurious undefined symbols: # undefined symbols 1, reported 0 > gmake: *** [Thread_Manager_Test] Error 1 > > I have recompiled my libc_r and rebuilt the world, but nothing has > chganged. Do I have another stale library? Any help would be greatly > appreciated. Thanks. I don't know if it's of any help, but I was just working on fixing a linking bug on octave, and I tried to compile it (for test) under both egcs and gcc-2.8.1 (both from ports). egcs couldn't compile it, our own 2.7.2.1 could compile it but couldn't run it, but gcc-2.8.1 compiled and ran it just fine. You might want to spend the time checking out gcc-2.8.1, if you have the extra time & disk space. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic (FreeBSD-current) (301) 220-2114 | and jaunt (NetBSD). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message