From: anurag@umich.edu (Anurag Govil)
Subject: Use of DXML on DEC-Alpha
Date: 1995/04/28 [thread overview]
Message-ID: <3nqubr$p2q@lastactionhero.rs.itd.umich.edu> (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
reply other threads:[~1995-04-28 4:00 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