hw/inout.h

I can’t seem to find this header on our qnx4 system. Does anyone know
where I can find a copy of it?

-Aaron

“Aaron Solochek” <aarons@ai.mit.edu> wrote in message
news:3B828EF9.9060708@ai.mit.edu

I can’t seem to find this header on our qnx4 system. Does anyone know
where I can find a copy of it?

what’s expected to be inside this header ? anyway there’s no such file in
standart qnx4 development distributions. if my guess is right, there
probably definitions of inp()/outp() and alike functions for accessing x86
i/o ports ? if so you can find it in <conio.h> header file which is supplied
with watcom distributive.

-Aaron

// wbr

I’m unsure what’s expected in it.

Its something that the contributed alsa source references.

-Aaron

ian zagorskih wrote:

“Aaron Solochek” <> aarons@ai.mit.edu> > wrote in message
news:> 3B828EF9.9060708@ai.mit.edu> …

I can’t seem to find this header on our qnx4 system. Does anyone know
where I can find a copy of it?


what’s expected to be inside this header ? anyway there’s no such file in
standart qnx4 development distributions. if my guess is right, there
probably definitions of inp()/outp() and alike functions for accessing x86
i/o ports ? if so you can find it in <conio.h> header file which is supplied
with watcom distributive.


-Aaron


// wbr
\

“Aaron Solochek” <aarons@ai.mit.edu> wrote in message
news:3B829A9C.7050700@ai.mit.edu

I’m unsure what’s expected in it.

Its something that the contributed alsa source references.

as i can see from alsa2 source code got from quics usr/free area, this can
be replaced with

#ifdef WATCOMC
#include <conio.h>
#else
#include <hw/inout.h>
#endif

…but there’s another places with errors so good luck in compiling :slight_smile:

-Aaron

ian zagorskih wrote:
“Aaron Solochek” <> aarons@ai.mit.edu> > wrote in message
news:> 3B828EF9.9060708@ai.mit.edu> …

I can’t seem to find this header on our qnx4 system. Does anyone know
where I can find a copy of it?


what’s expected to be inside this header ? anyway there’s no such file
in
standart qnx4 development distributions. if my guess is right, there
probably definitions of inp()/outp() and alike functions for accessing
x86
i/o ports ? if so you can find it in <conio.h> header file which is
supplied
with watcom distributive.


-Aaron

// wbr

Yeah… here are some:


Warning(1028): snd_enable_irq_ is an undefined reference
Warning(1028): snd_print_nothing_ is an undefined reference
Warning(1028): snd_pci_find_device_ is an undefined reference
Warning(1028): virt_to_bus_ is an undefined reference
Warning(1028): snd_pci_read_config_word_ is an undefined reference
Warning(1028): snd_pci_read_config_byte_ is an undefined reference
Warning(1028): snd_pci_write_config_byte_ is an undefined reference
Warning(1028): snd_pci_read_config_dword_ is an undefined reference
Warning(1028): snd_start_ is an undefined reference
Warning(1028): snd_sound_init_ is an undefined reference
Warning(1028): snd_sound_cleanup_ is an undefined reference
Warning(1028): nanospin_ns_ is an undefined reference
Warning(1028): request_region_ is an undefined reference
Warning(1028): release_region_ is an undefined reference
Warning(1028): request_dma_ is an undefined reference
Warning(1028): free_dma_ is an undefined reference
Warning(1028): request_irq_ is an undefined reference
Warning(1028): free_irq_ is an undefined reference
Warning(1028): snd_notify_trigger_ is an undefined reference
Warning(1028): snd_ioctl_out_ is an undefined reference
Warning(1028): snd_ioctl_in_ is an undefined reference
Warning(1028): snd_copy_to_user_ is an undefined reference
Warning(1028): snd_register_io_ is an undefined reference
Warning(1028): snd_unregister_io_ is an undefined reference
Warning(1028): put_to_sleep_ is an undefined reference
Warning(1028): wake_up_sleeper_ is an undefined reference
Warning(1028): snd_copy_from_user_ is an undefined reference
Warning(1028): WCHAN is an undefined reference
Warning(1028): proxy_callback
is an undefined reference


Anyclue what library might have some of these? I tried linking against
both a library I compiled myself and the asound.lib that was included in
the alsa pacakge.

This is all to debug why snd_pcm_close(device) freezes the computer when
device had been opene RONLY (it works fine for playback).

-Aaron

ian zagorskih wrote:

“Aaron Solochek” <> aarons@ai.mit.edu> > wrote in message
news:> 3B829A9C.7050700@ai.mit.edu> …

I’m unsure what’s expected in it.

Its something that the contributed alsa source references.


as i can see from alsa2 source code got from quics usr/free area, this can
be replaced with

#ifdef WATCOMC
#include <conio.h
#else
#include <hw/inout.h
#endif

…but there’s another places with errors so good luck in compiling > :slight_smile:


-Aaron

ian zagorskih wrote:

“Aaron Solochek” <> aarons@ai.mit.edu> > wrote in message
news:> 3B828EF9.9060708@ai.mit.edu> …


I can’t seem to find this header on our qnx4 system. Does anyone know
where I can find a copy of it?


what’s expected to be inside this header ? anyway there’s no such file

in

standart qnx4 development distributions. if my guess is right, there
probably definitions of inp()/outp() and alike functions for accessing

x86

i/o ports ? if so you can find it in <conio.h> header file which is

supplied

with watcom distributive.



-Aaron



// wbr
\

Aaron Solochek <aarons@ai.mit.edu> wrote:

I can’t seem to find this header on our qnx4 system. Does anyone know
where I can find a copy of it?

The closest compatible header under QNX4 would be <sys/inline.h>

-David


QNX Training Services
dagibbs@qnx.com