Menu

#1 cvs missing gamma.h

open
nobody
None
5
2006-01-25
2006-01-25
No

make[1]: Entering directory
`/mnt/disk2/export/src/linux-2.6.11-6mdk'

CC [M] /usr/local/src/sqcam26/sq905.o

/usr/local/src/sqcam26/sq905.c:134:19: gamma.h: No such
file or directory

/usr/local/src/sqcam26/sq905.c: In function `sqcam_open':
/usr/local/src/sqcam26/sq905.c:908: warning: ISO C90
forbids mixed declarations and code
/usr/local/src/sqcam26/sq905.c: In function
`sqcam_decode_bayer':
/usr/local/src/sqcam26/sq905.c:1039: error:
`gamma_table' undeclared (first use in this function)

Discussion

  • Robert Day

    Robert Day - 2006-01-30

    Logged In: YES
    user_id=1414233

    use make gamma.h first, then make. Works fine.

     
  • Gary Lawrence Murphy

    Logged In: YES
    user_id=24771

    Indeed "make gamma.h" does make the gamma.h, and the project
    compiles, but it does not load under Linux 2.6.11:

    /usr/local/src/sqcam26/sq905.c:1184: warning: implicit
    declaration of function `remap_page_range'

    $ sudo modprobe sqcam
    FATAL: Error inserting sqcam
    (/lib/modules/2.6.11-13mdk/kernel/3rdparty/sqcam26/sqcam.ko.gz):
    Unknown symbol in module, or unknown parameter (see dmesg)

    $ dmesg
    ...
    sqcam: Unknown symbol remap_page_range

    http://www.ussg.iu.edu/hypermail/linux/kernel/0411.3/1734.html
    suggests this may be a function removed from the Mandrake
    version of the Linux kernel (ie the -mm branch) although it
    is in the Linus kernel; there are some hints on the SuSE
    mailing list that remap_pfn_range is to be used instead, but
    it is apparently not a drop-in replacement. There is a
    patch listed at

    http://www.rage3d.com/board/showpost.php?p=1333461186&postcount=27

    which may or may not be relevent to sqcam's use of that
    function.

     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.