Re: SANE-1.0.5/Linux-2.4.6/PowerPC

From: Mehul N. Sanghvi (mehul@kirsun.ne.mediaone.net)
Date: Thu Jul 19 2001 - 04:53:46 PDT

  • Next message: Stefan Nilsen: "Re: Sane and Scan Express 12000P"

    >>>>> stef writes:

    stef> On Tue, Jul 17, 2001 at 08:53:19PM -0400, Douglas Gilbert wrote:
    >> Stef,
    >> This could be the "dirty" glibc trick where
    >> /usr/include/asm and
    >> /usr/src/linux/include/asm
    >> are not the same directories.
    >>
    >> Why glibc maintainers want to duplicate Linux kernel headers
    >> (this is a nasty problem for the sg.h header) is beyond me.
    >>
    >>
    >> Doug Gilbert

    stef> If you have some spare time, I'd like to know if doing the "right" symlink
    stef> to asm directory and building in the umax_pp backend succeeds.

    stef> Regards,
    stef> Stef

    'allo,

       I just verified that /usr/include/asm and
       /usr/src/linux/include/asm are the same directories. I created an
       empty file in /usr/src/linux/include/asm called FUBAR and then did
       an ls on /usr/include/asm and it showed up in the listing.

        Currently the symlinks on my machine are as follows:

           /usr/include/asm -> ../src/linux/include/asm/
           /usr/src/linux/include/asm -> asm-ppc/

       
        I am using 2.4.6-pre5 headers.

        It seems to me to be pointing to the right place.

    cheers,

       mehul

    p.s. removing the umax_pp target from backends/Makefile.in and
         tools/Makefile.in worked and got me what i wanted but i am more
         then happy to try out anything to help with providing a proper
         solution to this compilation problem.

    -- 
    Mehul N. Sanghvi                  email: mehul@kirsun.ne.mediaone.net
    Superior software is always free!   URL: http://kirsun.ne.mediaone.net/~mehul
    

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --- Rich Cook

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Thu Jul 19 2001 - 04:36:07 PDT