* Use of DXML on DEC-Alpha
@ 1995-04-28 4:00 Anurag Govil
0 siblings, 0 replies; only message in thread
From: Anurag Govil @ 1995-04-28 4:00 UTC (permalink / raw)
Hi,
We are trying to use DXML to do some signal processing on our Alpha.
When we try to compile the example FORTRAN code it compiled with no
trouble. However there are no examples in C that we can follow. When
we try to link in the library with our program, the program complains
that it can't find the DXML routine. We get
<elvis:/var/tmp> cc -c test.c
<elvis:/var/tmp> cc -o a.out test.o -ldxml -lm -lc
ld:
Unresolved:
sfft
We are not sure what is going on. I am appending the code to this
message. Thanks for any help that you can provide.
Anurag
=================================================================
#define SIZE 128
#define TOLERANCE 0.0001
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <dxmldef.h>
main()
{
float a[SIZE],b[SIZE],maxerror;
int i,sz;
int astatus, bstatus, status;
sz = SIZE;
/* Data initialization */
for(i=0;i<SIZE;i++)
{
a[i] = i;
}
astatus = sfft('r', 'c', 'f', a, b, SIZE, 1);
bstatus = sfft('c', 'r', 'b', b, b, SIZE, 1);
for(i=0;i<SIZE;i++)
{
printf("%d\t%f\t%f\n", i,a[i],b[i]);
}
}
--
===========================================================================
Anurag Govil Internet : anurag.govil@umich.edu
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-04-28 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-28 4:00 Use of DXML on DEC-Alpha Anurag Govil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox