Problems with cpia-0.2.3
Bas Rijniersce
bas@brijn.nu
Thu, 28 Oct 1999 16:49:48 +0200
Hi,
Oh well, a few minutes ago I wrote:
>Nick's suggestion solved the compile problems. Insmod'ing the driver
>works OK:
>But ./main SEGFAULT's
I had seen this before when I played a bit with a very simple module,
and I seemed to remember that adding -D__SMP__ fixed it... And it did :)
avrsize 23224 fps 15 compressed(1) thruput: 340.195508 Kbps
avrsize 22761 fps 14 compressed(1) thruput: 324.536133 Kbps
CPU 15% user 15% system
I'll leave it running for a while, but I think the SMP test is passed OK
:)
Oh, in the module/Makefile I now have:
DEFINES = -D__KERNEL__ -DMODULE -D_USE_DMA_ -DMODVERSIONS -include
/usr/src/lin
ux/include/linux/modversions.h -D__SMP__
Bas
----
Bas Rijniersce Phone +31 341 550545
Oude Telgterweg 81 Fax +31 341 562940
3851 EA Ermelo http://www.brijn.nu
The Netherlands bas@brijn.nu
-----------------------------------------------------------------------------
To unsubscribe from this mailinglist, send the line "unsubscribe vision-webcam" in the
body of a message to "majordomo@errors.no".