Compiling with POSIX
From: Dege, Robert C. (robert.dege_at_ngc.com)
Date: 12/20/04
- Previous message: Christian Wessely: "SUMMARY / UPDATE : HSZ 40 / DEC Alpha Cluster / Problem after power failure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 20 Dec 2004 13:38:08 -0600 To: "Tru64 list (E-mail)" <tru64-unix-managers@ornl.gov>
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
- Previous message: Christian Wessely: "SUMMARY / UPDATE : HSZ 40 / DEC Alpha Cluster / Problem after power failure"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|