tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Juan Enriquez <Juan.Enriquez () vtt ! fi>
To: tru64-unix-managers
Subject: ld inquiry!!
Date: Wed, 14 Jul 1999 11:42:05 +0000	[thread overview]
Message-ID: <96079058315859.tru64-unix-managers.marc@archive.invalid> (raw)

HEllo
 I am new to Tru64 UNIX, and I have errors in the linkage stage.
 I try to execuate this small program
 
#include <stdlib.h>
#include <stdio.h>
#include <math.h>


main(void)
{
 double     n;

 printf("INICIO\n");
 n=3.0; printf("n=%f\n",sin(n));
 printf("FIN   \n");

 return(0);
}
 This is just a test program in the real program I call FORTRAN 90
subroutines from C functions, and my main program is a C program. The
compilation process is ok (cc -c main2.c ), but during the linking process
(ld main2.o -lm -o main) I obtain a strange error.
"$ ld main2.o -lm -o main
ld:
Error: Undefined:
printf
sigsetjmp
tis_errno_set_value
__multithreaded
__ieee_get_fp_control
__ieee_set_fp_control
__exc_lookup_function_entry
__exc_virtual_unwind
_OtsAddX"
Please , could you tell me what I am missing in the linkage stage.
 best regards, 
   Juan Enriquez Paraled
 

                 reply	other threads:[~1999-07-14 11:42 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