From owner-freebsd-current  Sat Jun 13 13:03:15 1998
Return-Path: <owner-freebsd-current@FreeBSD.ORG>
Received: (from majordom@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id NAA00221
          for freebsd-current-outgoing; Sat, 13 Jun 1998 13:03:15 -0700 (PDT)
          (envelope-from owner-freebsd-current@FreeBSD.ORG)
Received: from ix.netcom.com (sil-wa4-13.ix.netcom.com [207.93.136.77])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA00188
          for <freebsd-current@freebsd.org>; Sat, 13 Jun 1998 13:03:10 -0700 (PDT)
          (envelope-from tomdean@ix.netcom.com)
Received: (from tomdean@localhost)
	by ix.netcom.com (8.8.8/8.8.8) id NAA04932;
	Sat, 13 Jun 1998 13:02:34 -0700 (PDT)
	(envelope-from tomdean)
Date: Sat, 13 Jun 1998 13:02:34 -0700 (PDT)
Message-Id: <199806132002.NAA04932@ix.netcom.com>
From: Thomas Dean <tomdean@ix.netcom.com>
To: nanbor@cs.wustl.edu
CC: freebsd-current@FreeBSD.ORG
In-reply-to: <ovpsol944m7.fsf@lambada.cs.wustl.edu> (message from Nanbor Wang
	on 13 Jun 1998 12:02:24 -0500)
Subject: Re: Undefined symbol `xxx' referenced (use libc_r ?)
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

Try something simple, like:

// xx.cc

#include <sys/types.h>
#include <sys/stat.h>

int main() {
  mkdir("./xxyy",0777);
}

then,

g++ xx.cc -o xx -lc_r

Does this work?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message