FAQ for porting packages available?
Hi,
I'm the package maintainer of wmtune, a tiny radio tuner which
makes use of the Video4Linux kernel API. I decided to upload it
for "Architecture: any" and to resolve porting problems (like
#205339) later. I started on my own Sparc. (I'm not sure how I
should fix other platforms later..)
wmtune uses outw() for radio card calls, so I need <asm/io.h>,
which is a wrapper for <asm-sparc/io.h>. But gcc fails on this one!
In file included from /usr/include/asm/io.h:11,
from src/wmtune.c:43:
/usr/include/asm-sparc/io.h:17: syntax error before "flip_dword"
which means that the type u32 is unknown, but it is defined in
<linux/types.h>, which is #included. I am puzzled.
Are there any guidelines or resources for help on portability issues
like these? Where should I look to prevent a question like this in
the future?
I see nothing on the developer's corner on www.debian.org, the
Developer's Reference doesn't mention how to solve porting problems
and even Google doesn't really help.
Thanks,
Pieter-Paul
Reply to: