Looking for compat/linux/common...where is it?

One would figure that installing the linux layer would install this subdirectory, but it is not present. I've googled for this and searched the forum here with no luck thus far. So...how do I get this? This directory contains important header files I need to port a program.

For the record, I'm still using FreeBSD 7.2, and the port I built was linux_base-fc4 after doing a portsnap yesterday.
 
FWIW I don't have a /compat/linux/common either. I'm running linux_base-f10 on 8-STABLE. Everything works like a charm.

AFAIK there is no /common directory on Linux either. Are you sure the headers are supposed to be there?
 
Yes. The header I looking for in particular is compat/linux/common/linux_cdrom.h. If this exists somewhere else, then that would be fine too, as long as it´s the header I after. There are a couple of other headers I need as well, but they should be in with that one.
 
FYI, linux_cdrom.h doesn't exist on any of the linux boxes I just checked. There is no /common directory, either.
 
It doesn´t exist in linux. It´s part of linux compatibility in FreeBSD. In Linux, it´s simply called cdrom.h.
 
Hrm...odd. I saw a site during my search that indicated that it was indeed a part of the FreeBSD linux compatibility, and was indicated in helping to port linux software, as the person in question was doing just that (some archaic program for playing videos I believe). Well then, this is a major problem. I suppose it needs to be added then...perhaps I can help with this.
 
Back
Top