#56 RH9 compilation problem

closed-rejected
nobody
None
5
2003-07-24
2003-04-02
Anonymous
No

I have searched the bugs here at sf.net and not found
anything that would solve this issue. If I were to
guess what the problem is, it would be some of the
backports to the kernel from 2.5.x that Red Hat did to
2.4.20. A transcript of the compile is below.

[root@friday aureal]# gcc -v
Reading specs from
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix
--disable-checking --with-system-zlib
--enable-__cxa_atexit --host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
[root@friday aureal]#

[root@friday aureal]# make
gcc -M -I/lib/modules/2.4.20-8/build/include
au_vortex.c > au_vortex.dep
gcc -M -I/lib/modules/2.4.20-8/build/include
au_vortex.c | sed s/\\.o/.dep/ >> au_vortex.dep
gcc -M -I/lib/modules/2.4.20-8/build/include au_utils.c
> au_utils.dep
gcc -M -I/lib/modules/2.4.20-8/build/include au_utils.c
| sed s/\\.o/.dep/ >> au_utils.dep
gcc -M -I/lib/modules/2.4.20-8/build/include
au_sndstat.c > au_sndstat.dep
gcc -M -I/lib/modules/2.4.20-8/build/include
au_sndstat.c | sed s/\\.o/.dep/ >> au_sndstat.dep
gcc -M -I/lib/modules/2.4.20-8/build/include au_mixer.c
> au_mixer.dep
gcc -M -I/lib/modules/2.4.20-8/build/include au_mixer.c
| sed s/\\.o/.dep/ >> au_mixer.dep
gcc -M -I/lib/modules/2.4.20-8/build/include au_midi.c
> au_midi.dep
gcc -M -I/lib/modules/2.4.20-8/build/include au_midi.c
| sed s/\\.o/.dep/ >> au_midi.dep
gcc -M -I/lib/modules/2.4.20-8/build/include au_core.c
> au_core.dep
gcc -M -I/lib/modules/2.4.20-8/build/include au_core.c
| sed s/\\.o/.dep/ >> au_core.dep
gcc -M -I/lib/modules/2.4.20-8/build/include au_audio.c
> au_audio.dep
gcc -M -I/lib/modules/2.4.20-8/build/include au_audio.c
| sed s/\\.o/.dep/ >> au_audio.dep
gcc -D__KERNEL__ -DMODULE -DAU8820 -mpentiumpro -O6
-fomit-frame-pointer -Wall -pipe
-I/lib/modules/2.4.20-8/build/include -c -o au_audio.o
au_audio.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro'
or `-mcpu=pentiumpro' instead.
au_audio.c: In function `au_audio_mmap':
au_audio.c:626: warning: passing arg 1 of
`remap_page_range_R2baf18f2' makes pointer from integer
without a cast
au_audio.c:626: incompatible type for argument 4 of
`remap_page_range_R2baf18f2'
au_audio.c:626: too few arguments to function
`remap_page_range_R2baf18f2'
au_audio.c:650: warning: passing arg 1 of
`remap_page_range_R2baf18f2' makes pointer from integer
without a cast
au_audio.c:650: incompatible type for argument 4 of
`remap_page_range_R2baf18f2'
au_audio.c:650: too few arguments to function
`remap_page_range_R2baf18f2'
make: *** [au_audio.o] Error 1
[root@friday aureal]#

Discussion

  • Larry Brown

    Larry Brown - 2003-04-28

    Logged In: YES
    user_id=766974

    I found an answer to this problem. In au_audio.c you will
    find two lines that include remap_page_range(). Change
    these lines by adding "vma ," to the beginning of the
    parameter string so the line reads:

    if (remap_page_range(vma, vma->vm_start,
    virt_to_phys(stream->dmabuf), size, vma->vm_page_prot))

    After doing this the make install will work.

    Larry D. Brown
    UITS
    Indiana University
    brownld@indiana.edu

     
  • Warren Chartier

    Warren Chartier - 2003-07-24
    • status: open --> closed-rejected
     
  • Warren Chartier

    Warren Chartier - 2003-07-24

    Logged In: YES
    user_id=22025

    Redhat borked kernel - non driver issue.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks