Re: ReRe: [PARPORT] Problem with writing anything to parport

Philip Blundell (
Tue, 15 Feb 2000 15:43:48 +0000

>I tried compiling gcc with -O2 option and he linked without complaints.
>But what has a optimize-parameter (-O2) to do with finding a library?

Nothing, but it has everything to do with function inlining.

>When running the executable (doesnt matter if root or not) it exits with
>an error when calling outb: "Segmentation fault"
>The program is nothing more than:
>#include <asm/io.h>
>main() {
> outb(0x0378,1);

You need to call ioperm() first to enable access to the ports.

>strace can not be found on my installation. Should I install it? In which
>packet can I find it?



-- To unsubscribe, send mail to: --
-- with the single word "unsubscribe" in the body of the message. --

This archive was generated by hypermail 2.0b3 on Tue 15 Feb 2000 - 11:01:10 EST