tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Dege, Robert C." <robert.dege@ngc.com>
Subject: Compiling with POSIX
Date: Mon, 20 Dec 2004 13:38:08 -0600	[thread overview]
Message-ID: <B845DD7107659345A6436D4BCF0BDF130AB97B1A@xcgil006.northgrum.com> (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



                 reply	other threads:[~2004-12-20 19:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox