Page 1 of 2
Compile errors: Cannot find <sys/audio.h>
Posted: Fri Jun 13, 2008 2:22 pm
by roman_austria
Hi,
I am encountering compile errors when I try
to build oss.
Code: Select all
"../../kernel/framework/include/os.h", "line 79: cannot find include file: sys/audio.h"
"../../kernel/framework/include/os.h", "line 80: cannot find include file: sys/mixer.h"
What is wrong here?
Roman.
Posted: Fri Jun 13, 2008 3:24 pm
by cesium
You're missing audio headers - I think you need to install SUNWaudh. Which version of Solaris do you use?
Posted: Fri Jun 13, 2008 5:34 pm
by Ionic
I am asuming you tried to run configure.
HOW do you run it? Please be sure to specify an absolute path to configure, e.g. /path/to/oss-foobar/configure --options and NOT ../../oss-foobar/configure --options and the like.
-Ionic
Posted: Sat Jun 14, 2008 4:57 am
by dev
Check to see if you have the SUNWhea package installed - I think OpenSolaris 5/08 doesn't install the compiler and development packages.
Posted: Mon Jun 16, 2008 8:56 am
by roman_austria
Hi,
thank you for your answers.
What I am using:
OpenSolaris 2008.05
Which compilers do I have installed:
SunStudio 12 (over the packaging system)
To Ionic:
I am aware of how to access the path, but thank you.
I'll check if I have installed either SUNWaudh, or SUNWhea
respecitvely.
Roman.
Posted: Mon Jun 16, 2008 2:22 pm
by roman_austria
I missed the SUNWaudh package. But the compilation
still not works. A lot of undefined symbol errors occurred.
Like:
Code: Select all
"udi.c", line 627: undefined symbol: USB_SUCCESS
Roman.
Posted: Mon Jun 16, 2008 3:19 pm
by Ionic
Hello roman,
could you please try the following patch and report back, please? (against current HG):
http://oss.pastebin.com/d316e8525 (seems like the Forum is not allowing pasting code - it replaced some necessary things...)
[edit by cesium: I don't think this is neccesary since usba.h already
includes usbai.h]
-Ionic
Posted: Wed Jun 18, 2008 12:29 pm
by roman_austria
Ionic wrote:Hello roman,
could you please try the following patch and report back, please? (against current HG):
http://oss.pastebin.com/d316e8525 (seems like the Forum is not allowing pasting code - it replaced some necessary things...)
-Ionic
Hi Ionic,
sorry for the delay. If you mean the mercurial repository, that is
what I am using anyway. So I'll give it a try, by fetching the latest
bits. By the way, the pastebin site didn't show me any useful
information.
Roman.
Posted: Wed Jun 18, 2008 12:37 pm
by Ionic
Hi,
I assumed you would fetch the patch the same day.
http://oss.pastebin.com/mf5bbd8a here it is again.
Yeah, I mean the mercurial repository.
-Ionic
Posted: Wed Jun 18, 2008 1:06 pm
by roman_austria
Ionic wrote:Hi,
I assumed you would fetch the patch the same day.
http://oss.pastebin.com/mf5bbd8a here it is again.
Yeah, I mean the mercurial repository.

-Ionic
So for now I have the problem that configure states:
Cannot locate "sys/usb/usbai.h" (<>, doesn't work)
Roman
Posted: Wed Jun 18, 2008 1:15 pm
by cesium
You need SUNWusbu package to be installed for that file.
Posted: Wed Jun 18, 2008 1:33 pm
by roman_austria
cesium wrote:You need SUNWusbu package to be installed for that file.
Thank you for this hint. For now the build seemed to run
smoothly, but another packege might missing.
Code: Select all
oss-gate/setup/txt2man: line 172: gawk: not found
I have an awk installed found in /usr/bin. So if I could do
a symbolic link to gawk to get it work, I think I would be
done. Can I do that, or is there really gawk required?
By the way. It is really a shame that so many packages are
missing in order to compile as on SXCE.
Roman.
Posted: Wed Jun 18, 2008 1:47 pm
by cesium
You're better off installing SFWgawk. (gawk is used for man pages since txt2man uses a GNU extension. Actually the install can avoid it and use a lower-quality method, not sure why it doesn't).
Posted: Wed Jun 18, 2008 1:53 pm
by roman_austria
cesium wrote:You're better off installing SFWgawk. (gawk is used for man pages since txt2man uses a GNU extension. Actually the install can avoid it and use a lower-quality method, not sure why it doesn't).
So it's me again ...
Sorry, SFWgawk couldn't be found in the repository. Where could
I find that package?
Roman.
Posted: Wed Jun 18, 2008 2:05 pm
by Ionic
Hi,
could you please install CSWgawk? I had a quick look at the Blastwave repo and found it there with this name.
I hope that's working.
-Ionic