From owner-freebsd-hackers Mon Apr 3 20:06:15 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id UAA00406 for hackers-outgoing; Mon, 3 Apr 1995 20:06:15 -0700 Received: from saul4.u.washington.edu (saul4.u.washington.edu [140.142.83.2]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id UAA00398 for ; Mon, 3 Apr 1995 20:06:12 -0700 Received: by saul4.u.washington.edu (5.65+UW95.02/UW-NDC Revision: 2.32 ) id AA06996; Mon, 3 Apr 95 20:05:52 -0700 X-Sender: spaz@saul4.u.washington.edu Date: Mon, 3 Apr 1995 20:05:50 -0700 (PDT) From: John Utz To: FreeBSD hackerlist Subject: ld.so trauma on the march 22 snap please assist! Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: hackers-owner@FreeBSD.org Precedence: bulk Hi folks; I have a serious problem: mira# gmake blackj g++ -g -O2 -c -o cards.o cards.cpp g++ -g -O2 -c -o debug.o debug.cpp g++ -g -O2 -c -o main.o main.cpp g++ -g -O2 -c -o io.o io.cpp g++ -g -O2 -c -o play-hand.o play-hand.cpp play-hand.cpp: In function `int blackjack_check(int *, int *, int, int &)': play-hand.cpp:107: warning: initialization to `int' from `double' g++ -o blackj -g -O2 cards.o debug.o main.o io.o play-hand.o mira# ./blackj ld.so failed mira# gdb ./blackj GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc... (gdb) r Starting program: /usr/local/working/./blackj ld.so failed Program exited with code 01. You can't do that without a process to debug (gdb) q mira# This is the example program that we are supposed to be able to compile without difficulty using g++. It is supposed to work. I have waited a long time to be able to actually *use* my FreeBSD box to do some schoolwork. Now it is barfing all over the place. The TA who proofed it ( the Makefile and program ) is a linux dude, as is the vast majority of unix folk around this campus. They are no help at all. any suggestions would be vastly appreciated!! ******************************************************************************* John Utz spaz@stein.u.washington.edu idiocy is the impulse function in the convolution of life