HP3000-L Archives

January 1996, Week 1

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:
Steve Elmer <[log in to unmask]>
Reply To:
Steve Elmer <[log in to unmask]>
Date:
Fri, 5 Jan 1996 22:23:29 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (37 lines)
Leon Degeling ([log in to unmask]) wrote:
: My dear friends
 
: In the posix shell we all love so much I'm trying to get a c programme to
run.
: One of the rpc-calls I need should be in libdce.a
: I do link this library, but still get unresolved externals.
: Now I'm trying to find out what's in the library.
 
: /usr/lib>ls
: Motif1.1/     curses/       libl.a        libtli.a*     tabset/
: X11/          libcurses.a   libsocket.a   liby.a        terminfo/
: X11R4/        libdce.a      libstr.a*     nls/
 
: /usr/lib>ar -t libdce.a
: ar: script execution error on line 109
: >>> too few args to builtin 'access'
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This error message refers to the ccg script in the file /etc/ar.ccg.  My
copy looks like this (as one line):
 
  assert(access(libpath,4) && (fcode = filecode(libpath)) &&
  fcode != "" && fcode != "NMRL",
 
Check to make sure the ",4" is passed to the access function.  It should
work after that.
 
: This looks pretty straightforward to me, it should return a list of
: routines in the library, it works on hpux but not on posix.
: Does anyone know how to find out whats in a (posix-)library.
 
You can also go into the :LINKEDIT command and do a >listprog.  This will
list all the routines.  You probably want to send the output to a file so
you can read it all and do searches.
 
Steve

ATOM RSS1 RSS2