From owner-freebsd-current Sat Jun 13 13:29:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03247 for freebsd-current-outgoing; Sat, 13 Jun 1998 13:29:46 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA03233 for ; Sat, 13 Jun 1998 13:29:40 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id NAA26299; Sat, 13 Jun 1998 13:29:09 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199806132029.NAA26299@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Thomas Dean cc: nanbor@cs.wustl.edu, freebsd-current@FreeBSD.ORG Subject: Re: Undefined symbol `xxx' referenced (use libc_r ?) In-reply-to: Your message of "Sat, 13 Jun 1998 13:02:34 PDT." <199806132002.NAA04932@ix.netcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 13 Jun 1998 13:29:08 -0700 From: Amancio Hasty Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Yes, it works.. {hasty} cat foox.c #include #include int main() { mkdir("./xxyy",0777); } {hasty} g++ -pthread foox.c -o foox {hasty} ./foox {hasty} g++ foox.c -o foox -lc_r {hasty} ./foox > Try something simple, like: > > // xx.cc > > #include > #include > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message