HP3000-L Archives

January 1997, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Date:
Sat, 18 Jan 1997 20:21:32 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
[log in to unmask] writes:
> have you tried placing the -lsocket behind the whois.c parameter,
> i.e. "gcc -D_SOCKET_SOURCE -L/usr/lib -o whois whois.c -lsocket" ??

Eureka!

A clean compile with no unresolved externals at runtime.

However, not the results I was expecting either:

**** Instruction memory protection (TRAPS 57).
ABORT: /usr/contrib/src/whois
NM SYS   a.fff7f000 $RECOVER_END[1]
  1770470       Illegal instruction     ./whois
+ Done (132) ./whois cccd.edu >/tmp/whois.txt 2>&1

(The above is somewhat mangled by the MPE sh output redirection, but you get
the idea.)

> By the way, nice to see more "porting efforts" being started :-)

Well, someone's got to do the dirty work (he said, feeling rather cocky about
debugging other people's code in the UMich LDAP distribution....).
--
Mark Bixby                      E-mail: [log in to unmask]
Coast Community College Dist.   Web: http://www.cccd.edu/~markb/
District Information Services   1370 Adams Ave, Costa Mesa, CA, USA 92626-5429
Technical Support               +1 714 438-4647
"You can tune a file system, but you can't tune a fish." - tunefs(1M)

ATOM RSS1 RSS2