Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 May 1998 15:04:56 -0400 (EDT)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Kyle Mestery <mestery@winternet.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: ACE and FreeBSD
Message-ID:  <Pine.BSF.3.96.980522150249.20133D-100000@localhost>
In-Reply-To: <Pine.GSO.3.96.980522131222.16980A-100000@tundra.winternet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980522150249.20133D-100000>