tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* ld inquiry!!
@ 1999-07-14 11:42 Juan Enriquez
  0 siblings, 0 replies; only message in thread
From: Juan Enriquez @ 1999-07-14 11:42 UTC (permalink / raw)
  To: tru64-unix-managers

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
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-07-14 11:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-14 11:42 ld inquiry!! Juan Enriquez

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