jgp
1
hi,I used a I/O card to send data from QNX to other PC,
when I run my ./a.out,the error just like this:
a.out terminated (SIGSEGC)at 0007:0000A100
384 memory fault
what does it mean?
my program is a test:
#define baseport 0x200
#include<stdio.h>
#include<coino.h>
main()
{
outp(baseport+3,0x00);
return 0;
}
who can give some advice?thanks!
Compile (link) it as root with the -T1 option. inp/outp instructions require
it be owned by root and linked at privity 1.
Previously, jgp wrote in qdn.public.qnx4:
hi,I used a I/O card to send data from QNX to other PC,
when I run my ./a.out,the error just like this:
a.out terminated (SIGSEGC)at 0007:0000A100
384 memory fault
what does it mean?
my program is a test:
#define baseport 0x200
#include<stdio.h
#include<coino.h
main()
{
outp(baseport+3,0x00);
return 0;
}
who can give some advice?thanks!
\