Path: news.daimi.aau.dk!news-b.uni-c.dk!news-inn.uni-c.dk!uninett.no!nntp.uio.no!news.apfel.de!news-fra1.dfn.de!news-koe1.dfn.de!main.Germany.EU.net!Dortmund.Germany.EU.net!Informatik.Uni-Dortmund.DE!news From: Claus-Peter Knaut Newsgroups: comp.lang.beta Subject: betaoption -d Date: 04 Apr 1997 13:50:16 +0200 Organization: University of Dortmund, Germany Lines: 36 Sender: knaut@nephthys Message-ID: Reply-To: Claus-Peter Klas NNTP-Posting-Host: nephthys.informatik.uni-dortmund.de Mime-Version: 1.0 (generated by tm-edit 7.100) Content-Type: text/plain; charset=US-ASCII X-Newsreader: Gnus v5.4.40/Emacs 19.34 Xref: news.daimi.aau.dk comp.lang.beta:11022 Hello, when i compile my program with the -d option i get the following error from the linker: Building dependency graph for: 'main' ... Translating fragments ... Linking Undefined first referenced symbol in file socket /app/sun4_55/unido-inf/beta/4.0/process/current/private/sun4s/nonblock.o gethostbyname /app/sun4_55/unido-inf/beta/4.0/unixlib/v1.5/private/sun4s/unixInt.o accept /app/sun4_55/unido-inf/beta/4.0/process/current/private/sun4s/nonblock.o bind /app/sun4_55/unido-inf/beta/4.0/process/current/private/sun4s/nonblock.o shutdown /app/sun4_55/unido-inf/beta/4.0/process/current/private/sun4s/communication_unixbody.o getsockname /app/sun4_55/unido-inf/beta/4.0/process/current/private/sun4s/nonblock.o listen /app/sun4_55/unido-inf/beta/4.0/process/current/private/sun4s/nonblock.o connect /app/sun4_55/unido-inf/beta/4.0/unixlib/v1.5/private/sun4s/unixInt.o ld: fatal: Symbol referencing errors. No output written to main without -d it does the followinf: beta -w main Mjolner BETA System version 5.2(2) for SUN-4 Solaris 2.x (ELF) Target machine type sun4s Building dependency graph for: 'main' ... Translating fragments ... Linking Object program on file: main Why is the debugcode needed ? CP