#27 problem installing on RedHat 9..

open
nobody
None
9
2003-09-10
2003-09-10
Lorenzo Ghezzo
No

I'm searching for help to install linux-udf on RedHat 9.
When I type in terminal ( always as root) the command "make
udf.o" from the downloaded directory I receive this error
message:

In file included from <command line>:1:
../include/linux/modversions.h:79:9: macro names must be
identifiers
../include/linux/modversions.h:80:9: macro names must be
identifiers
../include/linux/modversions.h:81:9: macro names must be
identifiers
../include/linux/modversions.h:82:9: macro names must be
identifiers
make[1]: *** [balloc.o] Error 1
make[1]: Leaving directory `/root/udf-0.9.7/module'
make: *** [udf.o] Error 2

How should I do?

I tried to install udftools thinking possible that linux udf in
RedHat 9 has already been installed by default.. but it also fails.

Sorry for my english.

Best regards

Discussion

  • Lorenzo Ghezzo
    Lorenzo Ghezzo
    2003-09-10

    • priority: 5 --> 9
    • summary: Linux Udf on RedHat 9 --> problem installing on RedHat 9..
     
  • Logged In: NO

    I have just had the same problem with RedHat 9

    I have downloaded udf-0.9.7 and attempt to compile with
    kernel 2.4.20-24.9

    cd /home/mhd/tarballs/udf-0.9.7
    /home/mhd/tarballs/udf-0.9.7:make udf.o

    Linux UDF Configuration Script

    The default responses for each question are correct for most
    users.

    Linux source directory [/usr/src/linux]:
    Linux source tree /usr/src/linux does not exist!
    See the HOWTO for a list of FTP sites for current kernel
    sources.
    I will try to make a best guess.

    Alternate target install directory []:
    /usr/src/linux-2.4.20-24.9
    C compiler name [gcc]:
    Linker name [ld]:
    Compiler flags for debugging [-g]:

    Extracting kernel symbol versions...
    Kernel configuration options:
    Symmetric multiprocessing support is disabled.
    Max physical memory in MB is 1024
    Advanced Power Management (APM) support is disabled.
    Networking support is enabled.
    Module version checking is enabled.
    /usr/src/linux/include/asm does not exist!
    To fix, do 'ln -s asm-i386 asm' in /usr/src/linux/include.
    make: *** [.prereq.ok] Error 1
    /home/mhd/tarballs/udf-0.9.7:cd /usr/src/linux/include
    /usr/src/linux/include: No such file or directory.
    /home/mhd/tarballs/udf-0.9.7:ln -s asm-i386 asm
    /home/mhd/tarballs/udf-0.9.7:make udf.o

    Linux UDF Configuration Script

    The default responses for each question are correct for most
    users.

    Linux source directory [/usr/src/linux]:
    /usr/src/linux-2.4.20-24.9
    Alternate target install directory []:
    C compiler name [gcc]:
    Linker name [ld -m elf_i386]:
    Compiler flags for debugging [-g]:

    The UDF driver needs to be compiled to match the kernel it
    will be used with, or it may fail to load.
    If you are not sure what to do, please consult the UDF manual.

    How would you like to set kernel-specific options?
    1 - Read from the currently running kernel
    2 - Read from the Linux source tree
    Enter option (1-2) [1]: 1

    Extracting kernel symbol versions...
    Kernel configuration options:
    Symmetric multiprocessing support is disabled.
    Max physical memory in MB is 1024
    Advanced Power Management (APM) support is disabled.
    Networking support is enabled.
    Module version checking is enabled.

    The kernel source tree is version 2.4.20-24.9custom.
    WARNING: the current kernel is actually version 2.4.20-24.9.
    The current kernel build date is Mon Dec 1 11:43:36 EST 2003.
    Cannot determine version from version.h. Using Makefile.

    Your module utilities are version 2.4.22.
    make[1]: Entering directory
    `/home/mhd/tarballs/udf-0.9.7/module'
    gcc -MD -O2 -Wall -Wstrict-prototypes -pipe -DMODVERSIONS
    -include ../include/linux/modversions.h -g -D__KERNEL__
    -DMODULE -I../include -I.
    -I/usr/src/linux-2.4.20-24.9/include
    -I/usr/src/linux-2.4.20-24.9/include/asm-i386/mach-default
    -DCONFIG_UDF_FS_EXT -DKBUILD_MODNAME=udf
    -DKBUILD_BASENAME=balloc -c -o balloc.o ../linux-2.4/balloc.c
    In file included from <command line>:1:
    ../include/linux/modversions.h:88:9: macro names must be
    identifiers
    ../include/linux/modversions.h:89:9: macro names must be
    identifiers
    ../include/linux/modversions.h:90:9: macro names must be
    identifiers
    ../include/linux/modversions.h:91:9: macro names must be
    identifiers
    make[1]: *** [balloc.o] Error 1
    make[1]: Leaving directory `/home/mhd/tarballs/udf-0.9.7/module'
    make: *** [udf.o] Error 2

    I find in
    /home/mhd/tarballs/udf-0.9.7/include/linux/modversions.h
    at lines 87 - 92
    #define generic_mii_ioctl generic_mii_ioctl_R706534a9
    #define [ipt [ipt_REJECT]
    #define [ipt [ipt_REJECT]
    #define [ipt [ipt_REJECT]
    #define [ipt [ipt_REJECT]
    #define ipt_register_table ipt_register_table_R09fb69ee
    and do not know what to do.

    mhd@slac.stanford.edu