Precompiler interface?

So, we're having a problem with CLOB inserts and updates via our Uniface interface, they're just not happening now that we've upgraded to 10.1.0.5. By default, Uniface uses the OCI interface, but you can toggle it to use the Precompiler Interface.
What is the Precompiler Interface? I found this, http://www.orafaq.com/faq/precompilers, but since it's such a novel area for me, it doesn't really make too much sense.
Can someone give an OCI illiterate, Precomiler illiterate person a description of the Precompiler Interface?
Thanks,
---=Chuck

There are several precompilers, Pro*C, Pro*Cobol, among the most popular. Difference between OCI and, let's say Pro*C is that OCI is pure C Oracle library invocations. Meanwhile Pro*C is embedded SQL/PLSQL into a C program.
OCI is not guaranteed to be compatible with new releases, so it is not extrange to see your Uniface application is failing to compile against a 10g database. Pro*C is more stable.
You must make sure you have installed the demos from the companion disk, so you can access the *.pc demo files.
Compiling a Pro*C program means you have to, evidently, create your Pro*C source code, next invoke the proc command, it is usually invoked through a makefile, which performs all of the includes and library linking.

Similar Messages

  • [SOLVED] nVidia 87.76 Drivers installer fails to build kernel module

    Hey,
    I have a nVidia GeForce2 Integrated graphics card on my Asus A7N266 motherboard. According to the nVidia site, http://www.nvidia.com/object/IO_32667.html, the most recent driver that supports this is the 96.xx series. Yet as shown here, http://www.nvnews.net/vbulletin/showthread.php?t=87332, many people have found that the 96.xx series drivers cause graphical corruption when using a GeForce2 IGP.
    Before coming to Arch, I had used Xubuntu 7.04 and managed to compile the last known working drivers, version 87.76, following the instructions here: http://kmandla.wordpress.com/2007/03/25 … 20-12-386/
    That all went well but now I'm using Arch. I tried using the nvidia-96.xx driver in the repos just for testing sake but I still got the same graphical corruption.
    Thus I have been trying to install the 87.76 drivers on Arch, but it always fails at the kernel module building stage. I had first applied this patch here, http://www.nvnews.net/vbulletin/showthr … ost1086669, before compling as the plain driver wont compile against recent kernels.
    Here is the output from the installer:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sun Aug 5 11:57:53 2007
    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    precompiled interfaces : true
    no ncurses color : false
    query latest version : false
    OpenGL header files : true
    no questions : false
    silent : false
    no recursion : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    no kernel module : false
    force SELinux : default
    force tls : (not specified)
    X install prefix : (not specified)
    X library install path : (not specified)
    X module install path : (not specified)
    OpenGL install prefix : (not specified)
    OpenGL install libdir : (not specified)
    utility install prefix : (not specified)
    utility install libdir : (not specified)
    doc install prefix : (not specified)
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
    this means that the installer will need to compile a kernel interface for
    your kernel.
    -> Performing CC sanity check with CC="cc".
    -> Performing CC version check with CC="cc".
    -> Kernel source path: '/lib/modules/2.6.22-ARCH/build'
    -> Kernel output path: '/lib/modules/2.6.22-ARCH/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
    -vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
    rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
    rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
    rm -f -f stprof stprof.o symtab.h
    rm -f -rf .tmp_versions
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.22-ARCH/bui
    ld SYSOUT=/lib/modules/2.6.22-ARCH/build'...
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.22-ARCH/build SUBDIRS=/home
    /kris/Source/nVidia GLX 87.76 Driver/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/
    nv modules
    test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
    echo; \
    echo " ERROR: Kernel configuration is invalid."; \
    echo " include/linux/autoconf.h or include/config/auto.conf are mis
    sing."; \
    echo " Run 'make oldconfig && make prepare' on kernel src to fix it
    echo; \
    /bin/false)
    make[2]: *** No rule to make target `GLX'. Stop.
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [mdl] Error 1
    make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.
    Any ideas as to how I can get the kernel module to build?
    I am using 'kernel26 2.6.22.1-4' with the 'kernel-headers 2.6.22.1-1' from the testing repo.
    Last edited by Nameless One (2007-08-10 07:08:38)

    make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.22-ARCH/buildSUBDIRS=/home/kris/Source/nVidia GLX 87.76 Driver/NVIDIA-Linux-x86-1.0-8776-pkg1/usr/src/
    The name of the directory you placed the driver in contains spaces. That is  why you get the no rule to make target GLX error.
    It would be better not to circumvent pacman. I am using the following PKGBUILDs for the 8776 driver:
    nvidia-8776:
    pkgname=nvidia-8776
    pkgver=1.0.8776
    _nver=1.0-8776
    _kernver='2.6.22-ARCH'
    pkgrel=1
    pkgdesc="NVIDIA drivers for Arch kernel."
    arch=(i686 x86_64)
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=(kernel26 nvidia-8776-utils)
    conflicts=('nvidia' 'nvidia-96xx' 'nvidia-71xx' 'nvidia-legacy')
    install=nvidia.install
    source=(http://download.nvidia.com/XFree86/Linux-$ARCH/${_nver}/NVIDIA-Linux-$ARCH-${_nver}-pkg0.run NVIDIA_kernel-1.0-8776-20061203.diff.txt)
    md5sums=('93ad45fe7b974a5a80348e1890f9b7c9' '70e669f06ee4881c2583261672de292a')
    [ "$CARCH" = "x86_64" ] && md5sums=('f5340e4bbce811add994b1685cdea03b' '70e669f06ee4881c2583261672de292a')
    build()
    # Extract
    cd $startdir/src/
    sh NVIDIA-Linux-$ARCH-${_nver}-pkg0.run --extract-only
    cd NVIDIA-Linux-$ARCH-${_nver}-pkg0
    # Any extra patches are applied in here...
    patch -p0 < $startdir/NVIDIA_kernel-1.0-8776-20061203.diff.txt ||return 1
    cd usr/src/nv/
    ln -s Makefile.kbuild Makefile
    make SYSSRC=/lib/modules/$_kernver/build module || return 1
    # install kernel module
    mkdir -p $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
    install -m644 nvidia.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/video/
    sed -i -e "s/KERNEL_VERSION='.*'/KERNEL_VERSION='${_kernver}'/" $startdir/*.install
    Place the patch (NVIDIA_kernel-1.0-8776-20061203.diff.txt) and nvidia.install in the same directory as the PKGBUILD.
    nvidia-utils:
    pkgname=nvidia-8776-utils
    pkgver=1.0.8776
    _nver=1.0-8776
    pkgrel=1
    pkgdesc="NVIDIA drivers utilities and libraries."
    arch=(i686 x86_64)
    [ "$CARCH" = "i686" ] && ARCH=x86
    [ "$CARCH" = "x86_64" ] && ARCH=x86_64
    url="http://www.nvidia.com/"
    depends=(xorg-server)
    conflicts=('libgl' 'libgl-dri' 'ati-fglrx-utils' 'nvidia-legacy-utils' 'nvidia-71xx-utils' 'nvidia-96xx-utils')
    provides=('libgl' )
    #install=nvidia.install
    source=(http://download.nvidia.com/XFree86/Linux-$ARCH/${_nver}/NVIDIA-Linux-$ARCH-${_nver}-pkg0.run)
    md5sums=('93ad45fe7b974a5a80348e1890f9b7c9')
    [ "$CARCH" = "x86_64" ] && md5sums=('f5340e4bbce811add994b1685cdea03b')
    build()
    # override nvida install routine and do it the long way.
    cd $startdir/src/
    sh NVIDIA-Linux-${ARCH}-${_nver}-pkg0.run --extract-only
    cd NVIDIA-Linux-${ARCH}-${_nver}-pkg0/usr/
    mkdir -p $startdir/pkg/usr/{lib,bin,share/applications,share/pixmaps,man/man1}
    mkdir -p $startdir/pkg/usr/lib/xorg/modules/{extensions,drivers}
    mkdir -p $startdir/pkg/usr/share/licenses/nvidia/
    install `find lib/ -iname \*.so\*` $startdir/pkg/usr/lib/
    install lib/tls/* $startdir/pkg/usr/lib
    install share/man/man1/* $startdir/pkg/usr/man/man1/
    rm $startdir/pkg/usr/man/man1/nvidia-installer.1.gz
    install X11R6/lib/libXv* $startdir/pkg/usr/lib/
    install share/applications/nvidia-settings.desktop $startdir/pkg/usr/share/applications/
    # fix nvidia .desktop file
    sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i $startdir/pkg/usr/share/applications/nvidia-settings.desktop
    install share/pixmaps/nvidia-settings.png $startdir/pkg/usr/share/pixmaps/
    install X11R6/lib/modules/drivers/nvidia_drv.so $startdir/pkg/usr/lib/xorg/modules/drivers
    install X11R6/lib/modules/extensions/libglx.so.$pkgver $startdir/pkg/usr/lib/xorg/modules/extensions
    install -m755 bin/nvidia-{settings,xconfig,bug-report.sh} $startdir/pkg/usr/bin/
    cd $startdir/pkg/usr/lib/;
    ln -s /usr/lib/libGL.so.$pkgver libGL.so
    ln -s /usr/lib/libGL.so.$pkgver libGL.so.1
    ln -s /usr/lib/libGLcore.so.$pkgver libGLcore.so.1
    ln -s /usr/lib/libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1
    ln -s /usr/lib/libnvidia-tls.so.$pkgver libnvidia-tls.so.1
    cd $startdir/pkg/usr/lib/xorg/modules/extensions;
    ln -s /usr/lib/xorg/modules/extensions/libglx.so.$pkgver libglx.so
    install $startdir/src/NVIDIA-Linux-${ARCH}-${_nver}-pkg0/LICENSE $startdir/pkg/usr/share/licenses/nvidia/
    find $startdir/pkg/usr -type d -exec chmod 755 {} \;
    # phew :)
    Last edited by kappa (2007-08-09 11:14:42)

  • TuxRacer kill my x session!!

    I installed tuxracer:
    pacman -Sy tuxracer
    it worked fine.
    when i ran it the first time, he could not find libstdc++.so.6
    so:
    pacman -S gcc
    it installed it, and now when I run tux racer it kills my x session.

    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Mon May 10 14:53:08 2004
    option status:
      license pre-accepted    : true
      update                  : false
      force update            : false
      expert                  : false
      uninstall               : false
      driver info             : false
      no precompiled interface: true
      no ncurses color        : false
      query latest driver ver : false
      OpenGL header files     : false
      no questions            : true
      silent                  : false
      XFree86 install prefix  : /usr/X11R6
      OpenGL install prefix   : /usr
      Installer install prefix: /usr
      kernel source path      : (not specified)
      kernel install path     : (not specified)
      proc mount point        : /proc
      ui                      : none
      tmpdir                  : /tmp
      ftp site                : ftp://download.nvidia.com
    Using built-in stream user interface
    -> License accepted by command line option.
    -> There appears to already be a driver installed on your system (version: 1.0-
       5336).  As part of installing this driver (version: 1.0-5336), the existing
       driver will be uninstalled.  Are you sure you want to continue? ('no' will a
       bort installation) (Answer: Yes)
    -> Not probing for precompiled kernel interfaces.
    -> Kernel source path: '/lib/modules/2.6.3/build'
    -> Performing cc_version_check with CC="cc".
    -> Cleaning kernel module build directory.
       executing: 'cd ./usr/src/nv; make clean'...
       rm -f -f nv.o os-agp.o os-interface.o os-registry.o nv.o os-agp.o os-interfa
       ce.o os-registry.o nvidia.mod.o
       rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
       rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
    -> Building kernel module:
       executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.3/build'...
         HOSTCC  scripts/fixdep
         HOSTCC  scripts/split-include
         HOSTCC  scripts/conmakehash
         HOSTCC  scripts/docproc
         HOSTCC  scripts/kallsyms
         CC      scripts/empty.o
         HOSTCC  scripts/mk_elfconfig
         MKELF   scripts/elfconfig.h
         HOSTCC  scripts/file2alias.o
         HOSTCC  scripts/modpost.o
         HOSTLD  scripts/modpost
         HOSTCC  scripts/pnmtologo
         HOSTCC  scripts/bin2c
         SPLIT   include/linux/autoconf.h -> include/config/*
       *** Warning: Overriding SUBDIRS on the command line can cause
       ***          inconsistencies
         CC      arch/i386/kernel/asm-offsets.s
         CHK     include/asm-i386/asm_offsets.h
       echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz362/NVID
       IA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv_compiler.h
         CC [M]  /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.o
       In file included from include/linux/sched.h:23,
                        from include/linux/module.h:10,
                        from /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/
       nv/nv-linux.h:52,
                        from /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/
       nv/nv.c:14:
       include/linux/smp.h:33: error: conflicting types for 'smp_send_reschedule'
       include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' w
       as here
       include/linux/smp.h:33: error: conflicting types for 'smp_send_reschedule'
       include/asm/smp.h:41: error: previous declaration of 'smp_send_reschedule' w
       as here
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
       nvos_malloc_pages':
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:385: warning:
       use of cast expressions as lvalues is deprecated
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
       nvos_create_alloc':
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:513: warning:
       use of cast expressions as lvalues is deprecated
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:523: warning:
       use of cast expressions as lvalues is deprecated
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: At top level:
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1185: warning:
       initialization from incompatible pointer type
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
       nv_alloc_file_private':
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1193: warning:
       use of cast expressions as lvalues is deprecated
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1204: warning:
       use of cast expressions as lvalues is deprecated
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
       nv_kern_open':
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1265: warning:
       use of cast expressions as lvalues is deprecated
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c: In function `
       nv_kern_ctl_open':
       /tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.c:1914: warning:
       use of cast expressions as lvalues is deprecated
       make[3]: *** [/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv/nv.o]
       Error 1
       make[2]: *** [/tmp/selfgz362/NVIDIA-Linux-x86-1.0-5336-pkg0/usr/src/nv] Erro
       r 2
       nvidia.ko failed to build!
       make[1]: *** [module] Error 1
       make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed.  Please see the file
           '/var/log/nvidia-installer.log' for details.  You may find suggestions
           on fixing installation problems in the README available on the Linux
           driver download page at www.nvidia.com.

  • Nvidia problem after kernel update

    I moved from 2.6.15 to 2.6.16 with ABS and now my nvidia isn't working.
    When I run pacman -S nvidia, I see:
    INSTALLATION FAILED
    => You have to shutdown X-server to finish installation! You have to rerun pacman -s nvidia
    And I am sure that I've shutdown my X, I even removed /tmp/.X0-lock
    Can anyone help me 

    :? I don't understand, I have my kernel sources at /usr/src/linux-2.6.16-ARCH and I have /lib/modules/linux-2.6.16-ARCH but the ABS is /var/abs/testing/kernels/kernel26/pkg/lib/modules/2.6.16-ARCH
    The logfile talks about /opt/nvidia but I dont have that
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Fri Mar 31 10:42:51 2006
    option status:
    license pre-accepted : true
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    no precompiled interface: true
    no ncurses color : false
    query latest driver ver : false
    OpenGL header files : false
    no questions : true
    silent : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : true
    no network : true
    no ABI note : false
    no RPMs : false
    force tls : (not specified)
    force compat32 tls : (not specified)
    X install prefix : /usr
    OpenGL install prefix : /usr
    compat32 install prefix : (not specified)
    installer install prefix: /usr
    utility install prefix : /usr
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : none
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)
    Using built-in stream user interface
    -> License accepted by command line option.
    -> Not probing for precompiled kernel interfaces.
    -> Performing CC test with CC="cc".
    -> Kernel source path: '/lib/modules/2.6.16-ARCH/build'
    -> Kernel output path: '/lib/modules/2.6.16-ARCH/build'
    -> Performing rivafb check.
    -> Performing nvidiafb check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
    agp.o os-interface.o os-registry.o nvidia.mod.o
    rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
    rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
    rm -f -f stprof stprof.o symtab.h
    rm -f -rf .tmp_versions
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.16-ARCH/bui
    ld SYSOUT=/lib/modules/2.6.16-ARCH/build'...
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.16-ARCH/build SUBDIRS=/opt/
    nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv modules
    mkdir -p /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.tmp_versions
    make -f scripts/Makefile.build obj=/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg
    0/usr/src/nv
    echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /opt/nvidia/NVIDIA-
    Linux-x86-1.0-8178-pkg0/usr/src/nv/nv_compiler.h
    cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.nv.o.d
    -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERNEL__
    -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototyp
    es -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -f
    omit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i
    686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-point
    er-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wall -Wimpl
    icit -Wreturn-type -Wswitch -Wformat -W
    char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
    no-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAM
    ES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1
    -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MU
    LTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_CHANGE_PAGE_ATT
    R_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"
    -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /opt/nvidia/NVIDIA-Linux-x86-1.0
    -8178-pkg0/usr/src/nv/nv.o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/sr
    c/nv/nv.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:20,
    from include/linux/module.h:10,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:47,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv.c:14:
    include/linux/prefetch.h: In function 'prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:522,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:71,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv.c:14:
    include/asm/io.h: In function 'check_signature':
    include/asm/io.h:258: warning: wrong type argument to increment
    In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv.c:14:
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
    ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c: In function 'nvo
    s_get_agp_device_by_class':
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:503: warning: imp
    licit declaration of function 'pci_find_class'
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:503: warning: ass
    ignment makes pointer from integer without a cast
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:517: warning: ass
    ignment makes pointer from integer without a cast
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c: In function 'nv_
    kern_mmap':
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:1983: warning: im
    plicit declaration of function 'remap_page_range'
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c: In function 'nvo
    s_count_devices':
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:3646: warning: as
    signment makes pointer from integer without a cast
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv.c:3652: warning: as
    signment makes pointer from integer without a cast
    cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.nv-vm.o.
    d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERNE
    L__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prot
    otypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2
    -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -marc
    h=i686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-po
    inter-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wall -Wi
    mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpo
    inter-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wn
    o-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -
    DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEV
    EL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV
    _PM_MESSAGE_T_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(
    s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(n
    vidia)" -c -o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-vm.o
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-vm.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:20,
    from include/linux/module.h:10,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:47,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-vm.c:14:
    include/linux/prefetch.h: In function 'prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:522,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:71,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-vm.c:14:
    include/asm/io.h: In function 'check_signature':
    include/asm/io.h:258: warning: wrong type argument to increment
    In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-vm.c:14:
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
    ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
    cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.os-agp.o
    .d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERN
    EL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
    totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2
    -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -mar
    ch=i686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-p
    ointer-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wall -W
    implicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wp
    ointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -W
    no-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM
    -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLE
    VEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DN
    V_PM_MESSAGE_T_PRESENT -D
    NV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAM
    E=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /opt/nvid
    ia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-agp.o /opt/nvidia/NVIDIA-Lin
    ux-x86-1.0-8178-pkg0/usr/src/nv/os-agp.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:20,
    from include/linux/module.h:10,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:47,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-agp.c:24:
    include/linux/prefetch.h: In function 'prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:522,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:71,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-agp.c:24:
    include/asm/io.h: In function 'check_signature':
    include/asm/io.h:258: warning: wrong type argument to increment
    In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-agp.c:24:
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
    ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
    cc -Wp,-MD,/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/.os-inter
    face.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D
    __KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstri
    ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding
    -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
    -march=i686 -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -
    Wno-pointer-sign -I/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv -Wa
    ll -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -W
    parentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -W
    sign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
    MODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION
    =0 -DNV_PATCHLEVEL=8178 -UDEBUG -U_DEBUG -DNDEBUG -DNV_MULTIPLE_BRIDGE_AGPG
    ART_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODUL
    E -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUI
    LD_MODNAME=KBUILD_STR(nvidia)" -c -o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-p
    kg0/usr/src/nv/os-interface.o /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr
    /src/nv/os-interface.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:20,
    from include/linux/module.h:10,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:47,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-interface.c:26:
    include/linux/prefetch.h: In function 'prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:522,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    nv-linux.h:71,
    from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-interface.c:26:
    include/asm/io.h: In function 'check_signature':
    include/asm/io.h:258: warning: wrong type argument to increment
    In file included from /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/
    os-interface.c:26:
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/nv-linux.h:715:2: warn
    ing: #warning "conftest.sh failed, assuming remap_page_range(4)!"
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-interface.c: In fun
    ction 'os_set_mlock_capability':
    /opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-interface.c:1375: e
    rror: 'struct task_struct' has no member named 'rlim'
    make[3]: *** [/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv/os-inter
    face.o] Error 1
    make[2]: *** [_module_/opt/nvidia/NVIDIA-Linux-x86-1.0-8178-pkg0/usr/src/nv]
    Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [mdl] Error 1
    make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.

  • Help reverting to nvidia 6629 drivers

    ok folks,
    I need to revert to the 6629 driver for my nvidia mx 420 pci graphics card (64 MB).  I have downloaded the installer, and am trying on a brand new install as of today.  It says I need the kernel source....but shouldn't that be present?  or is the supplied kernel not compiled using gcc 3.4.3?  Do I need to simply recomplie the kernel or do I need additional packages?  If someone could help me out that would be great.
    Since my move from debian stable with the 6629 drivers I find that none of the newer versions are stable with my nforce 2 board...constant crashing, and have heard others find this to work.  A quick walkthrough would be appriciated, as I am getting used to this new packaging system.

    THe installer doesn't prompt me with errors until after the build, where it says it was unable to build the module.  I have attached my log.  Any help would be great.
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Thu Jun 23 09:53:45 2005
    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    no precompiled interface: false
    no ncurses color : false
    query latest driver ver : false
    OpenGL header files : false
    no questions : false
    silent : false
    no backup : false
    kernel module only : false
    sanity : false
    add this kernel : false
    no runlevel check : false
    no network : false
    no ABI note : false
    no RPMs : false
    force tls : (not specified)
    force compat32 tls : (not specified)
    X install prefix : /usr/X11R6
    OpenGL install prefix : /usr
    compat32 install prefix : (not specified)
    installer install prefix: /usr
    utility install prefix : /usr
    kernel name : (not specified)
    kernel include path : (not specified)
    kernel source path : (not specified)
    kernel output path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp mirror : ftp://download.nvidia.com
    RPM file list : (not specified)
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> There appears to already be a driver installed on your system (version: 1.0-
    7664). As part of installing this driver (version: 1.0-6629), the existing
    driver will be uninstalled. Are you sure you want to continue? ('no' will a
    bort installation) (Answer: Yes)
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
    this means that the installer will need to compile a kernel interface for
    your kernel.
    -> Kernel source path: '/lib/modules/2.6.11.10-ARCH/build'
    -> Performing CC test with CC="cc".
    -> Performing rivafb check.
    -> Performing rivafb module check.
    -> Cleaning kernel module build directory.
    executing: 'cd ./usr/src/nv; make clean'...
    rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
    agp.o os-interface.o os-registry.o nvidia.mod.o
    rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
    rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
    rm -f -rf .tmp_versions
    -> Building kernel module:
    executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.11.10-ARCH/
    build SYSOUT=/lib/modules/2.6.11.10-ARCH/build'...
    NVIDIA: calling KBUILD...
    make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.11.10-ARCH/build SUBDIRS=/t
    mp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
    mkdir -p /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_vers
    ions
    make -f scripts/Makefile.build obj=/tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629
    -pkg1/usr/src/nv
    echo #define NV_COMPILER "`cc -v 2>&1 | tail -n 1`" > /tmp/selfgz2831/NVI
    DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
    cc -Wp,-MD,/tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.o
    .d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include -D__KERNE
    L__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
    -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -
    mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/asm-i3
    86/mach-default -Wdeclaration-after-statement -I/tmp/selfgz2831/NVIDIA-Linu
    x-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wfor
    mat -Wchar-subscript
    s -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD
    -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNT
    RM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VER
    SION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -
    DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PFN_RAN
    GE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DN
    V_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DMODULE -DKBUILD_
    BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz2831/NVIDIA-Linux-x86-1
    .0-6629-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-
    pkg1/usr/src/nv/nv.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:19,
    from include/linux/module.h:10,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/nv-linux.h:52,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/nv.c:14:
    include/linux/prefetch.h: In function `prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:864,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/nv-linux.h:75,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/nv.c:14:
    include/asm/io.h: In function `check_signature':
    include/asm/io.h:242: warning: wrong type argument to increment
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
    `nvidia_init_module':
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:930: warning:
    `pm_register' is deprecated (declared at include/linux/pm.h:106)
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
    `nvidia_exit_module':
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1051: warning
    : `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
    `_get_phys_address':
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2509: warning
    : passing arg 1 of `pmd_offset' from incompatible pointer type
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
    `nv_agp_init':
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: warning
    : `inter_module_put' is deprecated (declared at include/linux/module.h:578)
    cc -Wp,-MD,/tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv-v
    m.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include -D__KE
    RNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-alias
    ing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-flo
    at -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/as
    m-i386/mach-default -Wdeclaration-after-statement -I/tmp/selfgz2831
    /NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -W
    switch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multic
    har -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_
    NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__
    KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL
    =6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_
    DEBUG -DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -D
    NV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_
    CLASS_PRESENT -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -
    o /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_nv-vm.o /tm
    p/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:19,
    from include/linux/module.h:10,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/nv-linux.h:52,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/nv-vm.c:14:
    include/linux/prefetch.h: In function `prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:864,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/nv-linux.h:75,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/nv-vm.c:14:
    include/asm/io.h: In function `check_signature':
    include/asm/io.h:242: warning: wrong type argument to increment
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c: At top le
    vel:
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: warnin
    g: 'cache_flush' defined but not used
    cc -Wp,-MD,/tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-a
    gp.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include -D__K
    ERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-alia
    sing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-fl
    oat -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/a
    sm-i386/mach-default -Wdeclaration-after-statement -I/tmp/selfgz2831/NVIDIA
    -Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch
    -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -W
    error -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -
    D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL_
    _ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629
    -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -
    DNDEBUG -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_
    DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_P
    RESENT -DMODULE -DKBUILD_BA
    SENAME=os_agp -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz2831/NVIDIA-Linux-x86
    -1.0-6629-pkg1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz2831/NVIDIA-Linux-x86-1.0
    -6629-pkg1/usr/src/nv/os-agp.c
    In file included from include/linux/list.h:7,
    from include/linux/wait.h:23,
    from include/asm/semaphore.h:41,
    from include/linux/sched.h:19,
    from include/linux/module.h:10,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/nv-linux.h:52,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/os-agp.c:24:
    include/linux/prefetch.h: In function `prefetch_range':
    include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
    metic
    In file included from include/linux/dmapool.h:14,
    from include/linux/pci.h:864,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/nv-linux.h:75,
    from /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv/os-agp.c:24:
    include/asm/io.h: In function `check_signature':
    include/asm/io.h:242: warning: wrong type argument to increment
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: At top l
    evel:
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: error
    : parse error before '*' token
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni
    ng: type defaults to `int' in declaration of `drm_agp_p'
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni
    ng: data definition has no type or storage class
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
    ion `KernInitAGP':
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:76: warni
    ng: assignment discards qualifiers from pointer target type
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:85: error
    : request for member `acquire' in something not a structure or union
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:88: warni
    ng: `inter_module_put' is deprecated (declared at include/linux/module.h:578
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:113: erro
    r: request for member `copy_info' in something not a structure or union
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:173: erro
    r: request for member `enable' in something not a structure or union
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:185: erro
    r: request for member `release' in something not a structure or union
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:186: warn
    ing: `inter_module_put' is deprecated (declared at include/linux/module.h:57
    8)
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
    ion `KernTeardownAGP':
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:216: erro
    r: request for member `release' in something not a structure or union
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:218: warn
    ing: `inter_module_put' is deprecated (declared at include/linux/module.h:57
    8)
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
    ion `KernAllocAGPPages':
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:265: erro
    r: request for member `allocate_memory' in something not a structure or unio
    n
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:273: erro
    r: request for member `bind_memory' in something not a structure or union
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:290: erro
    r: request for member `unbind_memory' in something not a structure or union
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:305: erro
    r: request for member `free_memory' in something not a structure or union
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
    ion `KernMapAGPPages':
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:345: erro
    r: request for member `unbind_memory' in something not a structure or union
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
    ion `KernFreeAGPPages':
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:444: erro
    r: request for member `unbind_memory' in something not a structure or union
    /tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:445: erro
    r: request for member `free_memory' in something not a structure or union
    make[3]: *** [/tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-a
    gp.o] Error 1
    make[2]: *** [_module_/tmp/selfgz2831/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
    /nv] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [module] Error 1
    make: *** [module] Error 2
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.

  • Strange Nvidia Install Errors (anyone?!)

    The new nvidia kerenel module installer doesn't work with my 2.6.3 kernel, big surprise...
    I've searched these forums but I still have not found a solution that works for me
    1st tried downloading the source and unpacking it into the /usr/src directory and making a symlink linux -> linux-2.6.3
    2nd I tried building a kernel with ABS and installing it using "pacman -A [whatever]"   no luck there either.
    3rd tried compiling my own 2.6.3 kernel and I always get VFS errors, and yes my Grub/fsatb config files were correct, no i don't think it was a filesysyem change because i used the .config from the ABS kernel. Anyway, I would really like the go abut this "the arch way" (to paraphrase debian) and I even though i am experienced in compiling my own kernel, I'm not a big fan of it. I'd like to find a solution besides troubleshooting my kernel parameters/processes
    other than that, I have seen mention of people copying or linking to stuff in the ABS directory, but no explicit directions
    any help would be appreciated
    p.s. yes a kernel sources package would be nice, but I don't see anything like that in unsatable

    When I do that, I get "ERROR: Unable to determine the NVIDIA kernel
    module filename."
    Here is my /var/log/nvidia-installer.lo
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Thu Mar 4 17:38:49 2004
    option status:
    license pre-accepted : false
    update : false
    force update : false
    expert : false
    uninstall : false
    driver info : false
    no precompiled interface: false
    no ncurses color : false
    query latest driver ver : false
    OpenGL header files : false
    no questions : false
    silent : false
    XFree86 install prefix : /usr/X11R6
    OpenGL install prefix : /usr
    Installer install prefix: /usr
    kernel source path : (not specified)
    kernel install path : (not specified)
    proc mount point : /proc
    ui : (not specified)
    tmpdir : /tmp
    ftp site : ftp://download.nvidia.com
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
    ke the installer to attempt to download a kernel interface for your kernel f
    rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
    this means that the installer will need to compile a kernel interface for
    your kernel.
    -> Kernel source path: '/lib/modules/2.6.3/build'
    -> Performing cc_version_check with CC="cc".
    ERROR: Unable to determine the NVIDIA kernel module filename.
    ERROR: Installation has failed. Please see the file
    '/var/log/nvidia-installer.log' for details. You may find suggestions
    on fixing installation problems in the README available on the Linux
    driver download page at www.nvidia.com.
    I checked /lib/modules/2.6.3/build and there was a symlink to /usr/src/linux-2.6.3
    so, just for fun I ran the installer with --kernel-source-path=/usr/src/linux-2.6.3 and got the same results
    Thanks for the reply, any other suggestions?

  • 2.6 kernel upgrade lost Nvidia & aumix

    I upgraded kernel to 2.6 per notes from Apeiro under General Discussion topic "2.6.0 Goes Final" and system is alot faster.  I copied my old (modules.conf) over to modprobe.conf and network is up good.   I lost aumix for some reason even though I have it in rc.local and when I try to reinstall NVIDIA driver it states that I don't have header files.  Wondering if I'm missing something obvious (likely) or if there is anyone else having this problem. Running P4 1.6 on Shuttle AV45GT (266A) MB w/cm onboard audio and GF2 video card.  I'm using the "nv" video driver now but would like to get the nvidia back online. Any direction or assistance would be much appreciated. If more info is needed, let me know and I'll try to post as soon as possible.  TIA!
    P.S.  Thanks for the info Apeiro!

    Well I solved the sound issue by installing ALSA but I still can't get the nvidia driver to load. I attempted to do so from a clean install, patch the driver & install w/o any luck. Here is my /var/log/nvidia-installer.log.
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Wed Dec 24 19:14:51 2003
    option status:
      license pre-accepted    : false
      update                  : false
      force update            : false
      expert                  : false
      uninstall               : false
      driver info             : false
      no precompiled interface: false
      no ncurses color        : false
      query latest driver ver : false
      OpenGL header files     : false
      no questions            : false
      silent                  : false
      XFree86 install prefix  : /usr/X11R6
      OpenGL install prefix   : /usr
      Installer install prefix: /usr
      kernel source path      : (not specified)
      kernel install path     : (not specified)
      proc mount point        : /proc
      ui                      : (not specified)
      tmpdir                  : /tmp
      ftp site                : ftp://download.nvidia.com
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; wou
       ke the installer to attempt to download a kernel interface for your
       rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ft
       this means that the installer will need to compile a kernel interfa
       your kernel.
    -> Kernel source path: '/lib/modules/2.6.0/build'
    -> Cleaning kernel module build directory.
       executing: 'cd ./usr/src/nv; make clean'...
       cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
       cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
       cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
    -> Building kernel module:
       executing: 'cd ./usr/src/nv; make KERNDIR=/lib/modules/2.6.0/build
       cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
       cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
       cat: /lib/modules/2.6.0/build/Makefile: No such file or directory
       make[1]: Entering directory `/usr/src/linux-2.6.0'
       make[1]: *** No rule to make target `modules'.  Stop.
       make[1]: Leaving directory `/usr/src/linux-2.6.0'
       nvidia.ko failed to build!
       make: *** [module] Error 1
    -> Error.
    ERROR: Unable to build the NVIDIA kernel module.
    ERROR: Installation has failed.  Please see the file
           '/var/log/nvidia-installer.log' for details.  You may find sugg
           on fixing installation problems in the README available on the
           driver download page at www.nvidia.com.
    I find nothing in my /usr/src/linux-2.6.0/include/video for nvidia. I take it that is where the driver should be installed. I see the error ***No rule to make target 'modules'*** but I don't understand why I'm getting that. Am I on the right track and if so any ideas on repairing? TIA!

  • Precompiler of PRO*C giving error when compiling a RFC  interface program.

    Hello ,
    We are on HPUX11   ORACLE
    Pro*C/C++: Release 10.2.0.4.0 -
    rfcsdk library 6.40
    The  main RFC program has not been changed  which is getting compiled with the older libraries
    The make file is given below
    Makefile For SFA :
    Variables
    TUX_INC=$/include
    ORA_INC=$/precomp/public
    RDBMS_INC=$/rdbms/public
    PLSQL_INC=$/plsql/public
    #RFC_INC=/home/psoni/TUX10gR3/application/cls/orgseclib
    RFC_INC=/home/psoni/TUX10gR3/application/cp/include
    RFC_INC1=/home/psoni/TUX10gR3/application/cp/lib
    HEADER_FILE=/home/psoni/TUX10gR3/application/cp/HEADER_FILE
    ORALIBS=\
    -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon   \
    -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon  \
    -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3  \
    -lcore3 -lnlsrtl3
    Makefile Objects
    TAR_SBACK=CRMtoE2
    SRC_SBACK=MScpCRMtoE2.pc
    CSRC_SBACK=$(SRC_SBACK:.pc=.c)
    COBJ_SBACK=$(CSRC_SBACK:.c=.o)
    CLIS_SBACK=$(CSRC_SBACK:.pc=.lis)
    SFA_LIB=/home/psoni/TUX10gR3/application/cp/lib/sfalib.o
    .SUFFIXES: .pc
    .pc.c:
                    @echo   "Pro*C/C++ $<:"
                    @proc   INCLUDE=$      \
                    INCLUDE=$            \
                    INCLUDE=$            \
                    INCLUDE=$              \
                    INCLUDE=$              \
                    INCLUDE=$              \
                    INCLUDE=/home/psoni/TUX10gR3/application/cp/HEADER_FILE \
                    USERID=$\
                    DBMS=v7  
                    CODE=ANSI_C                     \
                    MODE=ORACLE                     \
                    LINES=YES                       \
                    SQLCHECK=FULL                   \
                    UNSAFE_NULL=YES                 \
                    iname=MScpCRMtoE2.pc
    help:
            @echo ""
            @echo "Makefile For CP Application "
            @echo "----
            @echo ""
            @echo "CP : Price Condition Extraction- $(TAR_SBACK)"
            @echo ""
            @echo "clean: Clean Up Of Redundant Files"
            @echo ""
            @echo "For Using This Makefile Give Commands As:"
            @echo "make -f makefile.cond <Target Name From Above>"
            @echo ""
    @cc  $(RFC_OPTSC) -I$(ORA_INC)  -I$(RFC_INC)  -c $(CSRC_SBACK)
    sfa: $(SRC_SBACK) $(CSRC_SBACK)
            @cc  -o $(TAR_SBACK) $(CSRC_SBACK)  -L$(RFC_INC) -L$(RFC_INC1)  -l:librfccm.sl \
                    -L$(ORACLE_HOME)/lib  -lclntsh `cat $(ORACLE_HOME)/lib/sysliblist`  -lm -lpthread -lpthread
            @rm -f *.o 2> /dev/null
            @rm -f *.lis 2> /dev/null
            @strip $(TAR_SBACK)
            @echo "SFA Application Compiled"
    clean:
            @rm -f          \
            $(CSRC_SBACK)    $(COBJ_SBACK) $(CLIS_SBACK)
    This directory  /home/psoni/TUX10gR3/application/cp/include  has the following file
    rfc.ini    
    rfcsi.h    
    sapitab.h  
    saprfc.h   
    sapuc.h    
    sapucx.h   
    srfcserv.h 
    srfctest.h 
    trfcserv.h 
    trfctest.h
    This directory  /home/psoni/TUX10gR3/application/cp/lib has the following files
    librfc.a   
    librfccm.sl
    when we do the make then we get the following errors.
    the RFC program is  MScpCRMtoE2.pc  and there is no change in the code of this program
    whic is getting compiled with the old  rfc.
    Pro*C/C++ MScpCRMtoE2.pc:
    Pro*C/C++: Release 10.2.0.4.0 - Production on Wed May 27 12:59:58 2009
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    System default option values taken from: /oracle/software/precomp/admin/pcscfg.cfg
    Syntax error at line 1039, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
    Error at line 1039, column 1 in file /home/psoni/TUX10gR3/application/cp/include
    /sapuc.h
    SAP_U16_PROTOTYPE_STDC(strcat)
    1
    PCC-S-02201, Encountered the symbol "strcat" when expecting one of the following
       ; , = ( [
    Syntax error at line 1046, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
    Error at line 1046, column 1 in file /home/psoni/TUX10gR3/application/cp/include
    /sapuc.h
    SAP_U16_PROTOTYPE_STDC(strchr)
    1
    PCC-S-02201, Encountered the symbol "strchr" when expecting one of the following
       ; , = ( [
    Syntax error at line 1052, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
    Error at line 1052, column 1 in file /home/psoni/TUX10gR3/application/cp/include
    /sapuc.h
    SAP_U16_PROTOTYPE_STDC(strcmp)
    1
    PCC-S-02201, Encountered the symbol "strcmp" when expecting one of the following
       ; , = ( [
    Syntax error at line 1058, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
    Error at line 1058, column 1 in file /home/psoni/TUX10gR3/application/cp/include
    /sapuc.h
    SAP_U16_PROTOTYPE_STDC(strcpy)
    1
    PCC-S-02201, Encountered the symbol "strlen" when expecting one of the following
       ; , = ( [
    Syntax error at line 1064, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
    Error at line 1064, column 1 in file /home/psoni/TUX10gR3/application/cp/include
    /sapuc.h
    SAP_U16_PROTOTYPE_STDC(strcspn)
    1
    PCC-S-02201, Encountered the symbol "strcspn" when expecting one of the followin
    g:
       ; , = ( [
    Syntax error at line 1070, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
    Error at line 1070, column 1 in file /home/psoni/TUX10gR3/application/cp/include
    /sapuc.h
    SAP_U16_PROTOTYPE_STDC(strdup)
    1
    PCC-S-02201, Encountered the symbol "strdup" when expecting one of the following
       ; , = ( [
    Syntax error at line 1077, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
    Error at line 1077, column 1 in file /home/psoni/TUX10gR3/application/cp/include
    /sapuc.h
    SAP_U16_PROTOTYPE_STDC(strlen)
    1
    PCC-S-02201, Encountered the symbol "strlen" when expecting one of the following
       ; , = ( [
    Syntax error at line 1083, column 1, file /home/psoni/TUX10gR3/application/cp/include/sapuc.h:
    Error at line 1083, column 1 in file /home/psoni/TUX10gR3/application/cp/include
    /sapuc.h
    SAP_U16_PROTOTYPE_STDC(strncat)
    1
    PCC-S-02201, Encountered the symbol "strncat" when expecting one of the followin
    g:
       ; , = ( [
    It would be great if any one can  give us directions to look into resolving the above problem.
    with regards
    Lakshman

    Try this makefile
    PROCPPFLAGS= SQLCHECK=SEMANTICS USERID=$(DATABASE) code=ansi_c mode=oracle threa
    ds=no hold_cursor=no sys_include='(/usr/lpp/xlC/include,/usr/include,/usr/local
    /lib/perl5/5.8.0/aix/CORE)' CHAR_MAP=STRING
    OTHER_H= -I. -I/usr/include -I/usr/stlinclude -I$(PRECOMPHOME)public -I$(RDBMSHO
    ME)public -I$(PLSQLHOME)public -I$(NETWORKHOME)public
    MAIN_EXEC = WSMPWorkAround
    DEBUG_EXEC = WSMPWorkAround_DBG
    OBJS = WSMPWorkAround.o \
    processWSMPWorkAround.o
    DEBUG_OBJS = WSMPWorkAroundDBG.o \
    processWSMPWorkAroundDBG.o
    # This is required to create the c code for the ProC program
    GEN_C = dbConnector.c
    all: $(MAIN_EXEC)
    debug: $(DEBUG_EXEC)
    include $(ORACLE_HOME)/precomp/lib/env_precomp.mk
    LIBDIR=lib32
    CC = xlc_r
    RM = /bin/rm -f
    STRIP = /usr/bin/strip
    OPTIMISATION = -O2
    #COMPILE_OPTS = -qdbxextra -qthreaded -qstaticinline -qstrict -D_THREAD_SA
    FE -D_REENTRANT
    COMPILE_OPTS = -qthreaded -q32 -qstaticinline -qinfo -qflag=I:E -qsource -
    D TRACE_ON -D_THREAD_SAFE -D_REENTRANT
    DEBUG_COMPILE_OPTS = -qthreaded -q32 -qstaticinline -g -qinfo -qflag=I:E -qsourc
    e -D_THREAD_SAFE -D_REENTRANT
    # Functions for processing
    processWSMPWorkAround.o: processWSMPWorkAround.c
    $(CC) $(COMPILE_OPTS) -c $(INCLUDE) processWSMPWorkAround.c
    processWSMPWorkAround.c: processWSMPWorkAround.pc
    $(PROC) $(PROCPPFLAGS) iname=processWSMPWorkAround oname=processWSMPWork
    Around.c
    # WSMP Work Around
    WSMPWorkAround: $(OBJS)
    # $(CC) $(COMPILE_OPTS) -o $(MAIN_EXEC) $(OBJS) -L$(LIBHOME) $(STATICPRO
    LDLIBS) $(AIXIMP) $(LDFLAGSLIST)
    $(CC) $(COMPILE_OPTS) $(OPTIMISATION) -o $(MAIN_EXEC) $(OBJS) -L$(LIBHO
    ME) $(STATICPROLDLIBS) $(AIXIMP) $(LDFLAGSLIST)
    $(STRIP) $(MAIN_EXEC)
    WSMPWorkAround.o: WSMPWorkAround.c
    $(CC) $(COMPILE_OPTS) -c $(INCLUDE) WSMPWorkAround.c
    clean:
    $(RM) $(MAIN_EXEC) $(OBJS) $(DEBUG_EXEC) $(DEBUG_OBJS) $(GEN_C) core *.l
    is *.lst

  • Precompiled JSP Compatibility Problem

    I am a developer in the Cross Applications Unlimited group. We are experiencing a problem with precompiled jsps in a ADF web application that we have developed. Any help that you can provide with this problem would be much appreciated. Neither Oracle forums nor the internet have yielded any leads to us so far. Here are the specifics of our problem.
    In our application, we precompile our JSPs when the EAR is built. The application was initially developed in JDeveloper 10.1.3.2 and worked without problems when deployed to OAS 10.1.3.2. However, our application server MTR recently shifted to OAS 10.1.3.3. We migrated our workspace and projects to JDeveloper 10.1.3.3 and rebuilt our EAR file in JDeveloper 10.1.3.3. We are getting "500 Internal Server Errors" when this new ear file is deployed to OAS 10.1.3.3. The error does not always manifest when running the application. We can login and navigate to JSPs linked directly from our navigation menu (our first level pages). However, in these first level pages are buttons that navigate to second level pages. The error is being seen whenever we try to access one of these second level pages. Everything else about the application works fine. When we don't precompile our JSPs and deploy, the application works fine.
    This is the error we find reported in our application logs...
    EWCoreViewController: Servlet error
    javax.faces.el.PropertyNotFoundException: Error testing property 'inputValue' in bean of type null
    at com.sun.faces.el.PropertyResolverImpl.isReadOnly(PropertyResolverImpl.java:274)
    at oracle.adfinternal.view.faces.model.FacesPropertyResolver.isReadOnly(FacesPropertyResolver.java:124)
    at com.sun.faces.el.impl.ArraySuffix.isReadOnly(ArraySuffix.java:236)
    at com.sun.faces.el.impl.ComplexValue.isReadOnly(ComplexValue.java:209)
    at com.sun.faces.el.ValueBindingImpl.isReadOnly(ValueBindingImpl.java:266)
    Enabling enhanced java logging yields these logs...
    <record>
    <date>2008-04-09T11:27:25</date>
    <millis>1207762045495</millis>
    <sequence>258943</sequence>
    <logger>com.sun.faces.application.ViewHandlerImpl</logger>
    <level>FINE</level>
    <class>com.sun.faces.application.ViewHandlerImpl</class>
    <method>renderView</method>
    <thread>14</thread>
    <message>Found no URL patterns mapping to FacesServlet </message>
    </record>
    <record>
    <date>2008-04-09T11:27:25</date>
    <millis>1207762045495</millis>
    <sequence>258944</sequence>
    <logger>com.sun.faces.taglib.jsf_core.ViewTag</logger>
    <level>FINE</level>
    <class>com.sun.faces.taglib.jsf_core.ViewTag</class>
    <method>doStartTag</method>
    <thread>14</thread>
    <message>Can't leverage base class</message>
    <exception>
    <message>java.lang.IllegalStateException</message>
    <frame>
    <class>com.sun.faces.taglib.jsf_core.ViewTag</class>
    <method>getComponentType</method>
    <line>253</line>
    </frame>
    Any information anyone can provide would be greatly appreciated.
    Thanks

    Hi Ian,
    Add this jar file to classpath...use either web interface or directly edit jvm12.conf to modify classpath..
    Raj

  • URGENT: problem with variable-declaration while precompiling

              Hi,
              i got a problem while precompiling my webapplication.
              i got some jsp-pages, each containing following code
              <%@ include file="/header.jsp" %>
              <% button = true; %>
              [...some code...]
              <%@ include file="/footer.jsp" %>
              The variable 'button' is defined in header.jsp and
              evaluated in footer.jsp. When i run through my application without precompiling
              it, there appear NO errors, but when i try to precompile my pages, the jsp-compiler
              reports an error in footer.jsp, because in footer.jsp is the 'button'-Variable
              used, but not defined and not included (because all other pages include footer.jsp)
              How can I tell the jsp-Compiler not to check for variable declarations, or what
              else can i do to work around this problem ?
              thanks,
              Dirk Bade
              

    Thanks for the sample. Changed it to look this way. Still getting the error message from above. Any clue?
    [ BTW: you can see the auto-fixits that Netbeans used to resolve the exception thrown errors from earlier.  Ugly ... I used Netbeans for the ease of interface generation, but I am spending a lot time chasing down little stuff like this. ]
    public class DesktopApplication1View extends FrameView {
        public DesktopApplication1View(SingleFrameApplication app) throws PortInUseException, UnsupportedCommOperationException, IOException, NoSuchPortException {
            super(app);
          initComponents();  //interface code follows this until the variables below ...
            String      defaultPort = "/dev/ttyS0";
            String      portName;
            ByteBuffer  asciiBytes = null;
            CommPort    commPort = null;
            byte[] h = new byte[asciiBytes.capacity()];
            asciiBytes.get(h, 0, h.length);
            CommPortIdentifier portIdentifier = CommPortIdentifier.getPortIdentifier(defaultPort);
                System.out.println("Default port" + defaultPort + "found.");
            if ( portIdentifier.isCurrentlyOwned() )
                System.out.println("Error: Port is currently in use");
            try {
                 commPort = portIdentifier.open(this.getClass().getName(), 200);
            } catch (NoSuchPortException e) {
            System.out.println("Whoops! Cannot identify the port.");
            }

  • Using Pro*C precompiler with 8i on Windows98

    I wish to use the C precompiler to implement a dbms_pipe to link between Oracle and our application. The 'proc' command doesn't seem to exist on my 8i Personal Edition (8.1.6)
    Is this the case or is it located somewhere other than on then main CD?

    Hi,
    GCC is not a supported compiler for Pro*C on Windows. There's a note number on My Oracle Support that tells you what is supported if you search MOS for "certified compilers."
    You could try posting this question in the forum that covers precompilers (this one is for a VS plugin for Server Explorer) to see if anyone has a different suggestion or experience getting it to work, but I suspect you'll find that the response is to use a certified compiler. Precompilers are covered in the Call Interface forum I believe: Oracle Call Interface (OCI)
    Hope it helps
    Greg

  • [PERFORMANCE] Precompiled vs Compiled

    Hi all I was thinking about using precompiled arch kernels instead compiling my own (which I do since 5 years...), someone of you knows if there's a difference in performance between precompiled archlinux kernel and my custom compiled ones?
    I think that precompiled kernels are built with CFLAGS of makepkg.conf, despite compiled ones that use no CFLAGS but surely *something* is optimized by the PROCESSOR string in .config (in my case it is amd k7 which is better than i686). So surely there's a difference but which one is better?
    Also precompiled kernels features a different "way" to the kernel bootup since it uses initrd and it launch different modules that may slowdown performances.  :?:
    Since for me it's not a problem compile the kernel by myself I was asking here an opinion from an expert.

    Hmm... some reason people think that modular kernels initialize the hardware slower. As that may be true since there is some more I/O transactions involved, a few miliseconds may be added when loading a module; it's not such a big deal since initializing the hardware - the process itself - does take just ask long.
    A real killer for bootup-time is udev which scans /sys for devices. This, you can't really change unless you switch to a static dev, which in fact makes a lot of sense on machine that do not have any hotplugable interfaces. Such as pre-usb boards for some pentium pro and as I experience it on Motorola PowerStack machines.
    What I find strange though is that it takes udev differently long on different machines. I know, it might be related to the number of potential devices detected to load modules for many of you will say, but that doesn't seam to be a good unit to measure. You see, my P4 2.8ghz at work takes about 8 seconds to get past uevents, while the pentium m 1.1ghz based machine next to it - with the same number of and similar types/vendors of devices - rushes past it in 2 seconds.  :?: I think what you really should optimize is your hardware to gain some speedups.
    Fiddling with the inner workings of things to get it right, makes you lose more time than you'll ever gain again until you need to rebuild your bootstrap-system sinc eyou didn't document it. That would have taken you another day plus you didn't of making a standardized package, didn't you?
    In essence, why do people reboot their computers that often? For me it's a blessing to have the chance to make an excuse to get my first coffee in the morning before reading my email. 
    Just my opinion on things.

  • CIN(Code Interface Node)

    NI engineers:
    I am one of your users (labVIEW 6.1).
    Now, I have some questions to ask you. Please give me some help.
    I try to use the CIN(Code Interface Node) function, but I can not pass compile.I do not know why?
    The c file is very simple, and the Compiling result is as following.
    Please help me to solve the problem.
    Thank you !
    Chenyong
    2002/7/7
    * CIN source file
    #include "extcode.h"
    CIN MgErr CINRun(int a,int b,int c);
    CIN MgErr CINRun(int a,int b,int c) {
    /* ENTER YOUR CODE HERE */
    int a;int b;int c;
    a=1;b=2;
    c=a+b;
    return noErr;
    --------------------Configuration: try - Win32 Debug--------
    Compiling...
    629.c
    c:\labview\labview 6.1\z_beginner\629.c(17) : fatal error C1010: unexpected end of file while looking for precompiled header directive
    Error executing cl.exe.

    Hallo
    re-declaring the parameters as local variables will prevent the function to do what you expect.
    But your error is more probably a problem the compiler configuration. Make sure the path to the include file extcode.h (and all it's own includes) is known to your compiler.
    Gabi
    7.1 -- 2013
    CLA

  • Connection Server interface error

    Hi All,
    While trying to open administration interface in my web browser, i get the following error. Can somebody please help.
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 10 in the jsp file: /sysadminindex.jsp
    Generated servlet error:
    F:\Program Files\Stellent Connection Server\webpages\syndicator\precompiled\org\apache\jsp\sysadminindex_jsp.java:195: reference to UUID is ambiguous, both class java.util.UUID in java.util and class com.kinecta.util.UUID in com.kinecta.util match
    if (!UUID.isValid(synUUID)) {
    ^
    An error occurred at line: 10 in the jsp file: /sysadminindex.jsp
    Generated servlet error:
    Note: F:\Program Files\Stellent Connection Server\webpages\syndicator\precompiled\org\apache\jsp\sysadminindex_jsp.java uses unchecked or unsafe operations.
    An error occurred at line: 10 in the jsp file: /sysadminindex.jsp
    Generated servlet error:
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
         org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

    Dont bother got it my self

  • Open Interface Rejects - SQL Report

    Hi guys, I'm trying to help out some folks in AP with an easier access to view Open Interface rejects. I already knew the relation between AP_INVOICES_INTERFACE and AP_INTERFACE_REJECTIONS was INVOICE_ID AND PARENT_ID (respectively). Now I've seen that some invoices also have a relation between AP_INVOICE_LINES_INTERFACE and AP_INTERFACE_REJECTIONS, same columns related (INVOICE_ID AND PARENT_ID respectively).
    What I'm having a problem with, maybe I've just been sitting here too long, but I cannot get it all into one report.
    I tried this, but it's giving me way more records than it should:
    SELECT AIR.CREATION_DATE
    , AIR.REJECT_LOOKUP_CODE
    , AII.PO_NUMBER
    , AII.GROUP_ID
    , AII.VENDOR_NUM
    , AII.INVOICE_NUM
    , AII.INVOICE_DATE
    , AII.INVOICE_AMOUNT
    , AII.SOURCE
    FROM AP.AP_INTERFACE_REJECTIONS AIR
    , AP.AP_INVOICES_INTERFACE AII
    , AP.AP_INVOICE_LINES_INTERFACE AILI
    WHERE (AII.INVOICE_ID = AIR.PARENT_ID AND AII.ORG_ID = 162)
    OR (AILI.INVOICE_ID = AIR.PARENT_ID AND AILI.ORG_ID = 162)
    Any thoughts on where I mucked it up or how I could actually go about this? What shows in the actual Open Interface app is a good start, it's just missing some fields like vendor name and reject lookup code.
    Thanks for any help!

    945273 wrote:
    Hi guys, I'm trying to help out some folks in AP with an easier access to view Open Interface rejects. I already knew the relation between AP_INVOICES_INTERFACE and AP_INTERFACE_REJECTIONS was INVOICE_ID AND PARENT_ID (respectively). Now I've seen that some invoices also have a relation between AP_INVOICE_LINES_INTERFACE and AP_INTERFACE_REJECTIONS, same columns related (INVOICE_ID AND PARENT_ID respectively).
    What I'm having a problem with, maybe I've just been sitting here too long, but I cannot get it all into one report.
    I tried this, but it's giving me way more records than it should:
    SELECT AIR.CREATION_DATE
    , AIR.REJECT_LOOKUP_CODE
    , AII.PO_NUMBER
    , AII.GROUP_ID
    , AII.VENDOR_NUM
    , AII.INVOICE_NUM
    , AII.INVOICE_DATE
    , AII.INVOICE_AMOUNT
    , AII.SOURCE
    FROM AP.AP_INTERFACE_REJECTIONS AIR
    , AP.AP_INVOICES_INTERFACE AII
    , AP.AP_INVOICE_LINES_INTERFACE AILI
    WHERE (AII.INVOICE_ID = AIR.PARENT_ID AND AII.ORG_ID = 162)
    OR (AILI.INVOICE_ID = AIR.PARENT_ID AND AILI.ORG_ID = 162)
    Any thoughts on where I mucked it up or how I could actually go about this? What shows in the actual Open Interface app is a good start, it's just missing some fields like vendor name and reject lookup code.
    Thanks for any help!I don't know the table strructures or relationships, but based on what you said, I think you want something more like:
    SELECT air.creation_date, air.reject_lookup_code, aii.po_number, aii.group_id,
           aii.vendor_num, aii.invoice_num, aii.invoice_date, aii.invoice_amount,
           aii.source
    FROM ap.ap_interface_rejections air, ap.ap_invoices_interface aii,
         ap.ap_invoice_lines_interface aili
    WHERE ali.invoice_id = alii.invoice_id and
          ali.invoice_id = air.parent_id and
          aii.org_id = 162You may need/want to add the org_cd predicate to the interfact lines as well, depending if there could be invoices with the same id in multiple orgs.
    Assuming you have the relations correct, this should give you a row for every line on every invoice that has a row in the ap_interface_rejections table. It might be worthwhile to look at the ap_interface_rejections table to see if it has an analog for the invoice line number, which could also be used in the join, to get a more specific result set.
    John

Maybe you are looking for

  • How do I combine 2 user accounts on the same computer

    An account was set up when I purchased my MacBook Pro and when I got home and transfered my information from my netbook to my mac I inadvertantly set up another account.  How do I combine the 2 so I just have everything on one. THANKS!!

  • HT4587 i want to plug my apple tv via ethernet to mac mini and wirelessly transmit data, movies to work in iMovie

    its in the heading if anyone can help thanks

  • EEWB enhancement destroyed BP_HEAD ??

    Hi there, I did an EEWB enhancement for the objecttype BUPA. I added some new fields and a table as assignementblock. I followed the steps explained in the SAP help and in SAP Note # 1069791. What happens now is that I get following dumps opening an

  • HELP!! Export Problems

    Ok, new to fireworks need some help big time. I have a finished prototype that I'm trying to export into a working website. I get that Fireworks isn't the best exporter as far as more complicated designs, but I'm kind of at a loss on what to do. I've

  • Can't use the panorama feature

    Hi, I just acquired PS 12 & wanted to build a panorama from a suite of photos. I loaded the photos in the Expert Edit mode and then tried to open a new file of the panorama type, as shown in the video tutorial. But the only choice I have is "Empty Fi