* Compiling with POSIX
@ 2004-12-20 19:38 Dege, Robert C.
0 siblings, 0 replies; only message in thread
From: Dege, Robert C. @ 2004-12-20 19:38 UTC (permalink / raw)
I'm trying to compile a program on TRU64 5.1B machine, but am running into problems when
including the posix libraries. Here is my output:
# cc -o try -O4 -pthread -std -D_INTRINSICS -fprm d -ieee -DLANGUAGE_C try.c -ldbm -ldb -lm -lutil -lposix -lpthread -lexc
# ./try
460777:./try: /sbin/loader: Error: libposix.so: symbol "__ADA_NONBLOCKING_IO" unresolved
460777:./try: /sbin/loader: Fatal Error: Load of "./try" failed: Unresolved symbol name
# cat try.c
#include <stdio.h>
int main() { printf("Ok\n"); return(0); }
If I remove the -lposix from the compile line, then the program runs fine. Am I missing
some additional files that the posix libraries depend on?
Any insight is appreciated.
-Rob
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-20 19:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-20 19:38 Compiling with POSIX Dege, Robert C.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox