Compiling 64bit packages under a normal 32 bit arch installation

Hello!
For making packages (e.g. custom kernels) I have a virtual arch installation 32 bit (vmware). After the package is compiled I copy it to the destination machine and install it.
At the moment I want to install my first 64 bit archlinux and I want to make a custom kernel for the system. Is it possible to get the 64 bit tree of arch linux and compile it for my 64 bit system under my 32 bit virtual machine?
Second question: Can I use the normal custom kernel script (wiki article: http://wiki.archlinux.org/index.php/Cus … _with_ABS) for a 64 bit kernel?
Greetings,
Flasher

This shouldn`t work within a 32bit-system. But you can compile 32bit-stuff on a 64-bit machine (using a chroot environment).

Similar Messages

  • [SOLVED] Trying to Install Acroread on 64 bit Arch

    Am trying to install acroread read from the AUR using packer on a 64 bit arch installation...
    I am running the XFCE DE... and I am getting this error. Cannot for the life of me resolve this...any help will be appreciated
    resolving dependencies...
    looking for inter-conflicts...
    :: gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs? [y/N]
    error: unresolvable package conflicts detected
    error: failed to prepare transaction (conflicting dependencies)
    :: gcc-libs-multilib and gcc-libs are in conflict
    Installation failed.
    I cannot install gcc-libs-multilib... coz that asks me to remove gcc-libs which then results is the whole of xfce being removed
    Looking for help desparately
    Thank you all for your time,
    Sameer
    Last edited by samgurung (2014-04-16 15:44:49)

    I cannot install gcc-libs-multilib... coz that asks me to remove gcc-libs which then results is the whole of xfce being removed
    That is weird, since gcc-libs-multilib provides gcc-libs and should not lead to any removal.
    try pacman -S multilib-devel

  • Dual booting of 32 and 64 bit arch, how to upgrade kernel?

    Hi all,
    I have set up a concurrent 32 and 64 bit arch install on my system. I partitioned my system to have 5 partitions:
    boot
    32bit root
    64bit root
    swap
    home
    (64 bit root and home in an extended partition)
    I renamed the 64 bit kernel files in /boot to
    kernel26_64.img
    kernel26-fallback_64.img
    System_64.map26
    vmlinuz26_64
    the 32 bit kernel files have their 'normal' names
    kernel26.img
    kernel26-fallback.img
    System.map26
    vmlinuz26
    Then I changed grubs menu.lst accordingly to either boot the 32 or 64 bit installation, both using same swap and home partition. This works by now. But if I want to upgrade my kernel through pacman, the 64 bit install will overwrite the 32bit kernel files because it generates the 'normal' filenames which belong to the 32bit installation. Is there a way to tell mkinitcpio to build files with a *_64 at the end while run by pacman -Syu?
    Does anybody see other caveats? Are there other solutions to archieve my goal?
    Harvey
    Last edited by Harey (2009-11-11 21:38:41)

    You can change the name of the initcpio images in /etc/mkinitcpio.d/kernel26.preset.  To change the name of the kernel itself (vmlinuz26), you'll have to compile your own kernel.  Well, not quite; this untested PKGBUILD I whipped up just repackages the official 64-bit kernel, with important names changed:
    #pkgname=kernel26 # Build stock -ARCH kernel
    pkgname=kernel26-64 # Build kernel with a different name
    _kernelname=${pkgname#kernel26}
    _basekernel=2.6.31
    pkgver=${_basekernel}.6
    pkgrel=1
    _patchname="patch-${pkgver}-${pkgrel}-ARCH"
    pkgdesc="The Linux Kernel and modules"
    arch=(x86_64)
    license=('GPL2')
    groups=('base')
    url="http://www.kernel.org"
    backup=(etc/mkinitcpio.d/${pkgname}.preset)
    depends=('coreutils' 'kernel26-firmware>=2.6.31' 'module-init-tools' 'mkinitcpio>=0.5.20')
    # pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
    # nforce package support was abandoned by nvidia, kernel modules should cover everything now.
    # kernel24 support is dropped since glibc24
    provides=('kernel26')
    conflicts=('kernel26')
    replaces=('kernel26' 'kernel24' 'kernel24-scsi' 'kernel26-scsi'
    'alsa-driver' 'ieee80211' 'hostap-driver26'
    'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
    'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
    'gspcav1' 'atl2' 'wlan-ng26' 'rt2500')
    install=kernel26.install
    source=(ftp://ftp.archlinux.org/core/os/x86_64/kernel26-${pkgver}-${pkgrel}-x86_64.pkg.tar.gz)
    optdepends=('crda: to set the correct wireless channels of your country')
    md5sums=('d017c2cd05530d8ac47c5f95495c5d49')
    sha256sums=('8f04074814ae0f697edcec2b1d215d3790746acb154604f2b223f32fa71c6434')
    build() {
    cp -r ${srcdir}/boot ${pkgdir} || return 1
    cp -r ${srcdir}/etc ${pkgdir} || return 1
    cp -r ${srcdir}/lib ${pkgdir} || return 1
    cp -r ${srcdir}/usr ${pkgdir} || return 1
    mv ${pkgdir}/boot/{vmlinuz26,vmlinuz26_64} || return 1
    mv ${pkgdir}/boot/{System.map26,System_64.map26} || return 1
    sed -i 's/\.img/_64\.img/g' ${pkgdir}/etc/mkinitcpio.d/kernel26.preset || return 1

  • Compiling a package from source files

    I am trying to install a package from source files. The installation instructions for this package say that I should just download the scripts to one directory, enter the correct paths in the Makefile (which comes with the package) and run "make".
    The problem is that while the g++ compiler is there on my computer
    (there is a binary called g++ located at
    /Developer/usr/bin/g++
    I am not sure if that is the real compiler. Or where the c header files are, for instance, I can't find math.h, or stdio.h or any of the other standard files.
    Any help will be greatly appreciated. I am very new to command lines, so please explain as you would to a five year old.
    To help with specifics, I edited the Makefile so that the first part looks like:
    #MATLABDIR ?= /usr/local/matlab
    # for Mac
    MATLABDIR ?= /Applications/MATLAB_R2008b.app
    CXX ?= g++
    #CXX = g++-4.1
    CFLAGS = -Wall -Wconversion -O3 -fPIC -I$(MATLABDIR)/extern/include
    Thanks a ton for the help

    Your compiler program is gcc. (/usr/bin/gcc).
    http://gcc.gnu.org/
    in terminal type (at the prompt):
    gcc --version
    (press return)
    should output the following:
    i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)
    Copyright (C) 2007 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    If it does, your compiler is alive and kicking and ready for action, if not, reinstall developer tools
    package from your SL install DVD.
    The usual ritual for compiling is to drag the directory containing the source code to your desktop,
    then, in terminal, change terminal path to the source directory using the change directory command
    "cd".
    example; say I have a program called cdrtools 2.0.1 and the source is in a folder I dragged to my
    desktop called cdrtools_2.0.1:
    In terminal i would type:
    cd /Users/kj/Desktop/cdrtools_2.0.1
    Follow the instructions that come with the package. Typically they will tell you to:
    ./configure
    ( Many packages have a configure script which will query your system and configure themselves
    appropriately. Not supported by all software).
    make
    ( Compile the software. Some require a file name to build such as make foo. make reads a file
    normally called Makefile for what commands to run).
    make install
    ( Install the software. Typically packages will put themselves in /usr/local. Run as root).
    That is the usual ritual, but you must follow the instructions that come with the software, as they
    may vary.
    Read documentation!
    Look for files called: INSTALL, README, SETUP, or similar.
    For more information see the following:
    http://luv.asn.au/overheads/compile.html
    Now beware that some source code written before Snow Leopard was released may not compile
    properly on SL, because of SL's 64Bit gcc extensions. If the source has not been updated to run
    under the Snow Leopard compiler, then the compilation may fail.
    IF the program fails to compile, or fails to run after compiling, then most likely, then the source
    may need updating.
    good luck, and don't pull all your hair out at once. Save some for later.
    The guys in the 'NIX forum can help you with all the grizzly details as you go on your quest.
    http://discussions.apple.com/forum.jspa?forumID=735
    Good luck,
    Kj ♘

  • Issue accessing installed plugins under Photoshop 64 Bit CS5

    I downloaded this file from the adobe site PSCS5OptionalPlugins_Win_en_US which are the optional plugins for 64bit version under VISTA BIZ edition.  I followed the instructions explicitly however I cannot access the supported plug-ins.  Can anyone help with this issue?
    By the way I also followed the OneOnOne Software Photo Effects instructions and cannot no matter how hard I try access the plug-in....ps.  all the plugins are visible in the appropriate directories!

    Thought I would send you additional information about the system
    Adobe Photoshop Version: 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch]) x64
    Operating System: Windows 7 64-bit
    Version: 6.1
    System architecture: Intel CPU Family:6, Model:5, Stepping:2 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
    Physical processor count: 4
    Processor speed: 2128 MHz
    Built-in memory: 3885 MB
    Free memory: 1610 MB
    Memory available to Photoshop: 3283 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Basic
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: False.
    OpenGL Crash File: Not Detected.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: Intel
    Video Card Renderer: Intel(R) HD Graphics
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 768, right: 1366
    Video Card Number: 1
    Video Card: Intel(R) HD Graphics
    Driver Version: 8.15.10.2361
    Driver Date: 20110410000000.000000-000
    Video Card Driver: igdumd64.dll,igd10umd64.dll,igdumdx32,igd10umd32
    Video Mode: 1366 x 768 x 4294967296 colors
    Video Card Caption: Intel(R) HD Graphics
    Video Card Memory: 1718 MB
    Serial number: 91198997390687115230
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\
    Temporary file path: C:\Users\Marion\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      Startup, 451.1G, 280.7G free
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\
    Additional Plug-ins folder: not set

  • Package Manager to compile all packages as in Gentoo

    Hello,
    I love Arch and was looking to get my hands dirty, I there a way where I can compile all the packages that I install like in Gentoo rather than using only the pre-compiled i686 packages? I looked at ABS but was not sure how to keep track of the changes, I believe I simply cant do '-Syu' with ABS. I am just looking for something like Yaourt or Packer AUR helpers but for all the packages from core/extra/community.
    Thank You
    Gopi

    RichAustin wrote:I'm perhaps being a bit dumb here but why not just use Gentoo instead? I am actually quite serious here since I wouldn't have thought there was a major difference between the two except you compile everything in Gentoo. I can't really see why you would want to find a workaround to do what you can already do in Gentoo.
    I recently spent many days relearning the Gentoo way, did a stage3 Gentoo install alongside my Arch system, compiled a custom kernel from pf-sources, updated world, spent time reading the forum and web pages.  I won't try to replay "what I found wrong in Gentoo" except for the refrain "Gentoo is broken." That was my take. I found important things broken for long periods with no attention. People rude to each other.   I won't do that scene...
    Arch may have a smaller developer team but I've experienced a generally high level of cooperation and discipline here. I've seen complaints about the forum here being moderated -- to me that seems to work for our good.  Thanks to the moderators who keep this place civil and rational!
    There seems to be a good knowledge base here and the principle of always keeping up-to-date with the upstream releases forces the developers to constantly parse upstream information to roll a coherent stream of Arch packages. The knowledge here is as good as anywhere.  I just don't expect Arch Linux to be an integrated operating system, like Debian stable or Ubuntu.  In my experience it gets almost as much stability as Debian Testing by virtue of quickly taking in the upstream releases, which then fix the bugs that Arch never has to fix ourselves.  We trust upstream   I didn't see a clear policy in Gentoo -- some upstream releases are held back forever as Gentoo devs argue over it.
    I have found it possible to use Arch as the base for a customized, locally compiled system; it's possible to do that with abs/AUR and makepkg.  I've developed my own style.  In place of USE flags I use meld to carry forward my local changes from my local PKGBUILD to the newly released Arch PKGBUILD.  I don't modify many pkgbuilds and mostly just remember which ones I change, for example to exclude gconf from my system. (It's a KDE / Xmonad desktop with a lot of audio tools).
    I haven't found it possible or desirable to do bulk builds on Arch. I encounter quite a few pkgbuilds from abs that do not build straight away, sometimes because the package won't build against the library that is in abs at the same time, sometimes because patches are missing or checksums are incorrect:  it becomes clear that the released binary packages are not built from the daily abs update. That would be the job of a build server that takes in abs and spits out a complete set of binaries. That is the missing step that I do myself: take in abs and compile a (daily) coherent set of binaries from it (with local mods). It is not like Gentoo.  I don't think that the Arch team tries to guarantee that the their binaries can be re-built perfectly from abs, so if you try to use abs rather than pacman -S you need to understand that and accept the responsibility. It works well enough for me.

  • HP C309 G AIO can't install in Windows 7 64bit  running under BootCamp

    HP C309 G Printer wont install in Windows 7 64bit running under BootCamp on a new iMac
    Just bought a new iMac. Installed HP C309 all in one without incident on the Mac side. I am also running Windows 7 on iMac through a program called Bootcamp. When I boot to Windows 7 and try to install the newly downloaded software for windows 7 from the HP site, it begins to load then stops, giving me two error messages. They are both essentially the same except one says software and the other says hardware. The software one says: This computer does not have the necessary USB software support to allow completion of a USB installation. The printer plugs directly into the monitor in one of four usb ports. All the usb ports work on the system when using Windows 7. I have other devices working and plugged into the usb ports while in Windows 7. It is almost like the printer software is unable to find the usb software or hardware. Any ideas

    Well, you have a full Window's 7 install so you would really have to go to HP and/or Microsoft to see what is going on. Bootcamp basically is only involved with "booting" and just installs Apple product drivers and such. Just treat the Window's side as if you are using it on a "normal" Window's PC. (As far as problems, crash's, updates, or any other Windows, HP, etc, problems you may have.)
    "Installed HP C309 all in one without incident on the Mac side."
    So,,, that means the printer "works" (prints) on the Mac or the installer just worked? Make sure the Printer actually prints in the Mac side as you may have a dead USB port on the Printer. It happens.
    If your HP works fine (prints) in the Apple environment you know it's not the USB ports on either the printer or the computer.
    You said you already downloaded the newer versions, have you tried using the drivers on the install disk and then update them to the newer ones? Also if you haven't yet, make sure the drivers are for the 64bit version, just a thought.
    That's about all my brain cells have so good luck.......

  • Re-compiling a package in a stored procedure

    Hi All,
    We are using Oracle 10g. I have coded a stored procedure that does many things one of which is re-creating a Materialized View using Dynamic SQL. However, when this Materialized View is created, a package that this stored procedure needs, becomes invalid. What is the syntax for recompiling the package using Dynamic SQL? I tried something like script listed below, but I am getting "*ORA-24344: success with compilation error*" error message. I like to re-compile the package before it's use in this stored procedure.
    DECLARE
          v_sql         VARCHAR2 (1000);
          object_name   VARCHAR2 (50) := 'TEST.PS2_FNS366';
    BEGIN
           dbms_output.put_line('This is a test.');
           v_sql := 'Alter package ' || object_name || ' compile  package';
           dbms_output.put_line (v_sql);
           EXECUTE IMMEDIATE v_sql;
           v_sql := 'Alter package ' || object_name || ' compile  body';
           dbms_output.put_line (v_sql);
           EXECUTE IMMEDIATE v_sql;     
    END;Thanks,
    Seyed

    Hi Justin,
    I agree with you. Initially, I didn't want to use materialized view in the stored procedure to load a table, but I a kind of was forced into it. I first tried using an Oracle View, but then the Oracle package using it was not finding the view. Then I tried to grant select to it, that failed too. That is when I decided to use a materialized view because, at least I could issue the needed grants.
    After seeing your e-mail and Frank's, I went back to my original plan. I re-created the old view and then tried to give it the right grants. Here is what I tried and the resulting error message:
    GRANT SELECT ON STUDENT.v_ben_reg_case_number TO SCOTT A grant similar to above results in ORA-01720: grant option does not exit for one of the underlying tables. Our DBA tried granting a developer role a system privilege called under_any_role, but that didn't solve it either.
    Thank you for your assistance,
    Seyed

  • How to compile and package my EJB application

    Hi,
    I just ran the sample programs from the Sun J2EE tutorial. Seems to work fine. I used the ant utility to compile all the programs and the J2EE Deployment Wizard to package and deploy everything. Now how do I compile and deploy a sample EJB program that I have written ?
    I am using the following platforms:
    1: JBuilder 3.0 : IDE (for writing the source code)
    2: JDK 1.4.0_01
    3: J2SDK EE 1.3.1 (EJB/Appln server)
    How do I make ant recognize my program and compile it... i guess the deployment procedure would still be the same.
    Can somebody please help me out on this ??
    Thanks
    prasanna

    Hi,
    Thanks for your prompt reply. I tried that out.. I have a directory called "customer" under which I have my interfaces,bean implementation class and the J2EE application client.
    ANT_HOME is set to : the directory where ant is installed
    JAVA_HOME is set to : the directory where JDK is installed
    J2EE_HOME is set to : the directory where J2EE server is installed
    and PATH : includes the bin directories of JDK, ant and J2SDK EE
    These are the paths I had to set when I ran the J2EE tutorial programs. It worked fine.
    Now when I say : ant myprogram I get an error saying:
    BUILD FAILED
    Target "myprogram" does not exist in this project
    How do I add my program also to the project so that ant can recognize it ?
    Also if there is any other way you can suggest to compile and package my application it would be great...
    Thanks
    prasanna

  • Canon LIDE210 scanner won't work with 64 bit arch.

    I have a Canon LIDE 210 flatbed scanner which is supposed to be fully supported in linux - for many many months if I plug it in, and start up GIMP to use the scanner plugin - initially it looks like it will work but although it successfully completes a preview scan, if I ask it to do a full scan of a page or section of page it makes abnormal noises, and ends up usually screaming as if in pain, and then the sane application hangs. This is if it is plugged in to a laptop with usb3 cable connecting the laptop to the scanner, and running 64 bit arch.  Yet the same scanner plugged in to a laptop which only has usb2 ports, and running 32 bit arch works flawlessly running the scanner in the same way.
    I expect that the 32/64 bit arch issue is not relevant, and it is some problem with the usb3 drivers not being compatible with the usb2 capability of the scanner that is causing the failure.
    I have seen some suggestion (from a Ubuntu forum) to "In the UEFI/BIOS change the setting under USB configuration, "XHCI Pre-Boot mode" from enabled to disabled. In some BIOS configurations this setting is known as "XHCI Mode". Is there a better way to resolve this since usb3 external drives and usbkeys work fine without this change on the same machine.
    Does anyone have any experience with running usb flatbed scanners via a usb3 port, and if so is there a workaround that is known to work with this particular scanner? I have seen the thread at https://bbs.archlinux.org/viewtopic.php?id=184816 which also did not lead to a solution.
    It would be nice to find a way to deal with this although perhaps a newer linux compatible scanner that is equivalent to the LIDE 210 is available that is compatible with usb3?

    Hi Steve,
    The Canon Australia web site is only showing v4.5.1.2 of CanoScan Toolbox for the LiDE35 (same version for Windows and Mac). There is no mention of v5.0.1.3 being supported by this model so this could explain the application is unable to locate it. The applications typically have a built-in list of support devices and if the 35 is not in this list then it won't work. Again with reference to the Canon web site, the LiDE 600F and 70 show v5.0.1.4 of CanoScan Toolbox. Later models, such as the LiDE 100 and 200 released last year, don't use the Toolbox application. Instead they work with MP Navigator or OS X apps like Preview.
    Pahu

  • How to compile a package with classess

    Hi,
    Can any one tell me , how to compile a package ?
    Actually, i have three classes under the package named as linklist.
    i am unable to compile the classes under this package ? its always raising errors. saying that the package does not exist.
    Can any one tell me, why it is like this ?
    thanks in advance

    Hi,
    Can any one tell me , how to compile a package ?I'll try.
    Actually, i have three classes under the package named
    as linklist. Okay, so you have the package statement at the top of each class, right?
    And the 3 classes reside in a folder named linklist?
    Okay, if you do, while in the folder above linklist, do:
    javac linklist/*.java (using the appropriate slash)
    Did it work?

  • Error While compiling a Package

    Hi,
    When am compiling a package am getting a error like
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01631: max # extents (505) reached in table SYS.IDL_UB2$
    Can you pls any one help in this reg...
    Thanks,
    Adhi...

    if you look into sql.bsq in your oracle_home/rdbms
    directory, table IDL_UB2$ has storage parameter
    extents defined as maxextents.
    check out the parameter of your IDL_UB2$ table.
    By the way what is your oracle version?
    For a long time, modifying the sql.bsq file was
    frowned upon, but there is a section in the Tuning
    guide about modifying this file now.
    Reference chapter 15.
    Jaffar
    Message was edited by:
    The Human FlyBut why do you need to modify the sql.bsq file when this problem can be analyzed by checking the availability of free space in SYSTEM tablespace.
    And what benefit will you get by modifying this file after the database has been already created?
    This file is the seed of the database and I think careful consideration must be taken before even thinking of touching this file. Also you must be fully aware of the aftermath.

  • USB Errors while trying to install 64 bit Arch

    I'm trying to install Arch onto some brand new hardware. I am installing using the Arch Netboot environment.
    When I try to install 64 bit Arch, I get the following errors straight after archiso.img is downloaded and the kernel is booted:
    usb 2-5: device descriptor read/64, error -32
    usb 2-5: device descriptor read/64, error -32
    usb 2-5: device descriptor read/64, error -32
    usb 2-5: device descriptor read/64, error -32
    usb 2-5: device not accepting address 4, error -32
    usb 2-5: device not accepting address 5, error -32
    hub 2-0:1.0: unable to enumerate USB device on port 5
    The same lines appear for usb 4-1, 6-5 and 7-1. The only USB device that is plugged in is the USB key that I booted ipxe.lkrn from.
    Googling seems to point to a kernel module that needs to be loaded earlier or a faulty USB controller. I do not know how to change what kernel modules are used during installation, and I'm fairly certain the USB controllers are fine. Its a brand new motherboard and I can access my USB key fine (I can boot from it) in any of the available USB ports.
    I was close to giving up until for some reason I decided to try and install the 32 bit version of Arch instead. This worked as expected and I am sent to the archiso installation prompt without seeing any of the same USB errors.
    Can someone please assist me with this? I would really prefer to have the 64 bit version installed.

    https://bbs.archlinux.org/viewtopic.php?id=158206
    This seems to be related, although my errors are giving error -32 instead of -110.
    Is there a way I can force the installation environment to use kernel 3.7.6? Does the 32 bit installer use a different kernel to the 64 bit installer?
    Is there a way I can use the 32 bit installation environment to install 64 bit as well as the 3.7.6 kernel?

  • Compiling a package without disturbing the load process

    Hi,
    I need to compile a package, with the changes, in the database without stopping the load process that is using this package. Please let me know if any one has any ideas.
    Thanks

    sdk11 wrote:
    Hi,
    I need to compile a package, with the changes, in the database without stopping the load process that is using this package. Please let me know if any one has any ideas.
    ThanksIf you mean: "I need to create or replace a package", while some session is still running code of that package.
    Then sorry: nocando.
    Unless you are on 11.2, in which case you could (with the necessary preparation/configuration done first) create a new version of the package in another edition than the session is using. But the session will have to finish its work using the package as-is currently.

  • Help required in compilation of package body.....

    Hi ..
    While taking the export i encounter the error message..
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    EXP-00056: ORACLE error 6550 encountered
    ORA-06550: line 1, column 26:
    PLS-00201: identifier 'XDB.DBMS_XDBUTIL_INT' must be declared
    ORA-06550: line 1, column 14:
    PL/SQL: Statement ignored
    EXP-00056: ORACLE error 6550 encountered
    ORA-06550: line 1, column 26:
    PLS-00201: identifier 'XDB.DBMS_XDBUTIL_INT' must be declared
    ORA-06550: line 1, column 14:
    PL/SQL: Statement ignored
    EXP-00000: Export terminated unsuccessfully..
    SELECT status,object_id,object_type,owner,object_name
    FROM dba_objects
    WHERE object_name = 'DBMS_XDBUTIL_INT';
    gives the output as...
    status object type owner object_name
    valid synonym public DBMS_XDBUTIL_INT
    valid package xdb DBMS_XDBUTIL_INT
    invalid package body xdb DBMS_XDBUTIL_INT
    when i try to compile the invalid object...
    SQL> alter package XDB.DBMS_XDBUTIL_INT COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> sho err
    Errors for PACKAGE BODY XDB.DBMS_XDBUTIL_INT:
    LINE/COL ERROR
    61/7 PL/SQL: Statement ignored
    61/17 PLS-00306: wrong number or types of arguments in call to
    'IS_HIERARCHY_ENABLED_INTERNAL'
    74/7 PL/SQL: Statement ignored
    74/29 PLS-00302: component 'GENERATE_TRGNM' must be declared
    108/9 PL/SQL: Statement ignored
    108/37 PLS-00302: component 'TRUNCATE_NAME' must be declared
    123/7 PLS-00201: identifier 'SYS.DBMS_SYS_SQL' must be declared
    123/7 PL/SQL: Statement ignored
    135/9 PL/SQL: Statement ignored
    LINE/COL ERROR
    135/37 PLS-00302: component 'TRUNCATE_NAME' must be declared
    153/9 PL/SQL: Statement ignored
    153/33 PLS-00302: component 'TRUNCATE_NAME' must be declared
    168/7 PLS-00201: identifier 'SYS.DBMS_SYS_SQL' must be declared
    168/7 PL/SQL: Statement ignored
    181/9 PL/SQL: Statement ignored
    181/33 PLS-00302: component 'TRUNCATE_NAME' must be declared
    Since the code is wrapped .. i cant do anything.. needs ur help.
    sorry for explaining in such a detail...
    Message was edited by:
    437022

    Hi,
    In side the Package Body,
    a) invalid arguments for IS_HIERARCHY_ENABLED_INTERNAL
    b) invalid components GENERATE_TRGNM, etc.
    First, you need to correct the above errors and then
    try to compile the Package Body
    Regards,
    Sailaja

Maybe you are looking for

  • How can I hardwire transfer an iMovie project to another iPad

    Using a hardwire connection (and not iCloud or Airdrop) is there a way to transfer an iPad iMovie project directly from one iPad to another iPad so that the editing can continue on the second iPad? I can't use any wireless or bluetooth connection and

  • 11g R1 database installation is successful on windows 7 64-bit

    Hi all, During installtion I got error Check complete. The overall result of this check is: Failed <<<< Problem: Oracle Database 11g is not certified on the current operating system. Recommendation: Make sure you are installing the software on the co

  • ITunes 8.2 not syncing contacts

    iTunes is not syncing my iPhone contacts. Is anyone else having this problem?

  • WebIOException

    Hi, I am trying to migrate the MedRec Application available with BEAWeblogin to SAP WAS. While deploying the .ear file i am getting com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException The details are as follows: Caused by: com.sap.e

  • Plugin Third party Dependent jars configuration

    Hi, We have developed a scheduled task which has thid party dependent jars (jars for webservice client like axis etc). We put this jars under the lib folder which also contains the plugin jar. When we deploy the plugin with plugin registration utilit