Compilation problem for 64-bit

Hi,
I am converting my application from 32-bit to 64-bit. When I compile one of my projects with "-xarch=v9 -fast" option, it generates .o files of 32-bit(varified by file command). If I remove -fast option, the it generates 64-bit .o files.
Can anybody tell me, how to build for 64-bit with -fast option.
Thanks--
Amit

Hi,
By changing the order, it worked fine. But now still I'm getting error while linking.
While linking it gives the following error.
ld: fatal: /users/aknanda/myapp/obj/SunWS_cache/CC_obj_8/8GUY2EKcTAmGapxEt9Oo.o: wrong ELF class: ELFCLASS32
I varified that some of the .o files inside the "SunWS_cache/CC_obj_8" folder were of 32-bit.
I deleted all the fies from the SunWS_cache folder, rebuild the application. Before the linking starts, I have varified that all the files inside the "SunWS_cache/CC_obj_8" were of 64-bit, but during linking, the linker might re-genarate some of those .o files which are of 32-bit. I am using -xarch=v9 option in the linking also.
Thanks-
Amit

Similar Messages

  • Has anybody compiled OpenSSL for 64 bit PPC?

    We want to use OpenSSL as a 64 bit application under Mac OS X 10.4.7 over PPC G5 hardware.
    Has anybody had experience compiling OpenSSL for this architecture?
    Any special clues for building a working 64 bit library for PPC?
    Why doesn't Apple support this? I would imagine performance would be better on crypto operations.
      Mac OS X (10.4.7)  

    Yep, it's a do it yourself thing.

  • Jpcap locating and code compilation problem for packet sniffing

    To my previous thread "How to capture and Read Packets", I've got reply to use jpcap. Yes I have tried to use this but the when I tried to compile the code it gives a lot of error, surely because javac cant find the jpcap library. I have download the library which is in installation form and when I installed library the jpcap, instead of installing in lib of JRE or JDK it installed in system32 of window file system and hence the compiler unable to locate this file kindly tell me how can I tackle this problem. i.e. how can and where should I place jpcap.dll file
    Regards,
    Danish Kamran

    Hi
    Thanks for the response.
    I would like to know if it is possible to capture all the data that is returned from a running port in a server. For eg. if oracle Apps Instance is running on port 1615, will I be able to capture all the data (before sending it to the DB server, through JpCap or any other java program) that, that form is sending to the Oracke DB Server?
    What I need to to develop is an intermediate (middleware) Database Simulator using java for an oracle application. I need to capture the data that oracle application is sending into this Simulator and then send it to the Oracle DB server, after performing some operations in the simulator. Is this possible through java socket programming?
    Thanks in advance.
    Revathi

  • Compiling problem for java.

    Hi, all,
    I am new user of Java SDK standard edition. I have installed the J2sdk1_3_1_02 (standard edtion) under a certain directory on Solaris system. I also set the JAVA_HOME to the ../j2sdk1_3_1_02, and CLASSPATH to ../j2sdk1_3_1_02/lib/tools.jar.
    I finished a simple example of "Helloworld.java", which can be compiled successfully. But when I use "java Helloworld" to run it, the erro message appeas as follows:
    Unable to initialize threads: cannot find class java/lang/Thread
    I need your people 's help, thanks a lot.
    Kevin

    Dear Cmouttet,
    Thank you very much for the help. I followed your suggestion to change my setting about runtime environment in my classpath.
    But the error still appears:
    SIGSEGV 11* segmentation violation
    si_signo [11]: SIGSEGV 11* segmentation violation
    si_errno [0]: Error 0
    si_code [1]: SEGV_ACCERR [addr: 0x0]
    Full thread dump:
    Segmentation Fault(coredump)
    The following is that simple java program of Helloworld:
    class Helloworld
    public static void main(String args[])
    System.out.println("Hello world, this xxd!");
    Could you tell me how to do in next step to finish my fist trial of java technology?
    Thanks for any reply!
    kevin

  • Before Update Trigger compilation problem

    Hello experts! I have a compilation problem for a trigger I am trying to create.
    As a matter of fact it should update INT_INITIAL with the old value of INT_LOCK.
    The compilation fails and the debugger raises an ORA 01747 error (invalid declaration for user table, user column etc.)
    Do you have an idea what is wrong with my code?
    create or replace
    TRIGGER TRIGGER_INT_INITIAL
    BEFORE UPDATE ON  TBL_MATRIX_INTERMEDIATE_RESULT
    FOR EACH ROW
    Begin
      IF NVL(:new.INT_INITIAL, 0) != :old.INT_LOCK THEN
           UPDATE TBL_MATRIX_INTERMEDIATE_RESULT set
          :NEW.INT_INITIAL = :old.INT_LOCK;
      END IF;
    END;Regards,
    Seb

    Hi Seb,
    You don't need to use UPDATE stmt here as you are updating the same table on which your trigger is fired. So it may cause mutating table error too.
    when you use :new.colname it will immediately take care of the new value to be inserted in the respective column.
    So no need to write Update stmt.
    Hence remove,
    UPDATE TBL_MATRIX_INTERMEDIATE_RESULT set And use := is an assignment operator whereas = is to equate..
    :=Twinkle

  • Memory Problems with Adobe PDF iFilter for 64-bit

    In preparation to rebuild my Windows Search Index, I installed the Adobe PDF iFilter for 64-bit on my system (Vista Business 64).  When I finally rebuilt the index, I wasn't too surprised by what I saw happen, namely, the SearchFilter.exe process would kick in whenever I wasn't using the system and just eat RAM.  One time I turned it on and it had allocated over 4,000 MB (and my system only has 4,030 MB available) so of course it was forcing all the other processes to hard fault (ie. everything was moving like molasses--for example, it took 20 minutes to put the thing to sleep).  But I just let it do it's work, figuring that perhaps this was to be expected relative to the small library of PDF's that I've accumulated on my computer, ranging from LaTeX generated text files, to containers for hi-res scans.  So, after a day and a half of basically not using my laptop, everything finally calmed down and I enjoyed the benefits of searching the content of my library from the Windows Start menu--for a short while.
    However, to my dismay I've encountered the problem that this freezing of my computer would now occur after everytime I download a new PDF (in this particular case they were Google Books scans) and then left the computer to idle.  Again, the SearchFilter.exe would allocate all of my RAM for itself and just push everything else onto the Virtual RAM, which means the SLOWEST possibly fetching you can get.  I had to uninstall as this was making my computer unusable for 15-30 minutes after each idle. Everything is back in working order without the iFilter, but I would like to know if anyone has reported such problems on x64 systems.  Obviously, I will also report the problem to Microsoft, since the search engine should certainly have the precaution to handle such memory problems.   However, it is a problem that is created by the Adobe PDF iFilter interacting with the Windows Search engine.

    Hello,
    We believe we have figured this out.  It looks like it has to do with the length of the default folder location for the Adobe iFilter.
    I was able to reproduce the issue and the following resolved it for me.  See if this resolves it for you all as well.
    Here is how to get Adobe Version 11 PDF filter to work.
     1 . If you haven’t already, run the following in SQL Server:
    Sp_fulltext_service ‘Load_os_resources’, 1
    Go
    --you might also need to run: 
    sp_fulltext_service ‘Verify_signature’,0  --This is used to validate trusted iFilters. 0 disables it. So use with caution.
    --go
    2. Stop SQL Server.  (Make sure FDHost.exe stops)
    3.  
    Uninstall the Adobe ifilter (because it defaulted to having spaces or the folder name is too long).
    4.  
    Reinstall the Adobe iFilter and when it prompts for where to install it, change it to: C:\Program Files\Adobe\PDFiFilter
    5.  Once the installation finishes, go the computer’s Environment variables. Add the following to the PATH.
    C:\Program Files\Adobe\PDFiFilter\BIN
    NOTE: it must include the BIN folder
    NOTE: If you had the OLD location that included spaces, remove it from the path environment variable.
    6. Start SQL Server
    7.  IF you had an existing Full-text index on PDFs, drop the full-text index and recreate it.
    8. You should now get results when you run sys.dm_fts_index_keywords('db','tblname')  --Note: Change db to be the actual database name and tblname to be the actual table name.
     Give this a try and see if this fixes yours. 
    Sincerely,
    Rob Beene, MSFT

  • The Adobe Photoshop CC 2014 - I can't use becouse is LOOCK DOWN the computer -  When USE is LOCK the computer so everything is LOCKING can't even move the mouse + need to restart the computer and use Photoshop CC 64 bit instead - have this problem for abo

    The Adobe Photoshop CC 2014 - I can't use becouse is LOOCK DOWN the computer -
    When USE is LOCK the computer so everything is LOCKING can't even move the mouse + need to restart the computer and use Photoshop CC 64 bit instead - have this problem for about 6 months ...

    Please read this (in particular the section titled "Supply pertinent information for quicker answers"):
    http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
    http://forums.adobe.com/docs/DOC-2325
    Are you trying to use a 32bit version (I did not even know there is one for Photoshop CC 2014)?
    If so – why?

  • Problem on open Preference in CMC: Unable to compile class for JSP

    Hi all,
    I meet problem when opening Preference in CMC.
    When I click "Web Intelligence" or "Desktop Intelligence", the following message will be display:
    An error has occurred:
    Unable to compile class for JSP
    I have check for catalina.out in tomcat, following error comes out:
    java.io.FileNotFoundException: /opt/boe/bobje/tomcat/work/Catalina/localhost/AnalyticalReporting/org/apache/jsp/jsp/User_005fWebiPreferences/user_005fwebipreferences_jsp.java (No such file or directory)
            at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
            at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:140)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
            at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
            at com.businessobjects.webutil.struts.CrystalUTF8InputActionServlet.process(CrystalUTF8InputActionServlet.java:32)
            at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:595)
    Please help to indicate where is the problem. Many thanks.
    Regards,
    May

    Hi all,
    I meet problem when opening Preference in CMC.
    When I click "Web Intelligence" or "Desktop Intelligence", the following message will be display:
    An error has occurred:
    Unable to compile class for JSP
    I have check for catalina.out in tomcat, following error comes out:
    java.io.FileNotFoundException: /opt/boe/bobje/tomcat/work/Catalina/localhost/AnalyticalReporting/org/apache/jsp/jsp/User_005fWebiPreferences/user_005fwebipreferences_jsp.java (No such file or directory)
            at java.io.FileOutputStream.open(Native Method)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
            at java.io.FileOutputStream.<init>(FileOutputStream.java:70)
            at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:140)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
            at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
            at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:305)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
            at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
            at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
            at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
            at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
            at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
            at com.businessobjects.webutil.struts.CrystalUTF8InputActionServlet.process(CrystalUTF8InputActionServlet.java:32)
            at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:595)
    Please help to indicate where is the problem. Many thanks.
    Regards,
    May

  • HT6058 I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly

    I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • Compiling STREAM module for 64-bit kernel

    Hi,
    I am trying to compile a STREAM module for Solaris. The results I get when I execute "isalist" and "isainfo -kv" are:
    -"sparcv9+vis sparcv9 sparcv8plus+vis sparcv8plus sparcv8 sparcv8-fsmuld sparcv7 sparc"
    -"64-bit sparcv9 kernel modules"
    The host is a Ultra5_10 with SunOS 5.7 sun4u sparc.
    First I tried to compile the module with gcc 2.8.1 but altough the compilation apparentelly finisihed OK I did not get to load the module. Later I read that, gcc so far does not generate binaries for 64-bit sparc.
    So I installed the Sun WorkShop 5 environment (try version) and I tried to compile my sources with the following line:"cc -D_KERNEL -xarch=v9 -xcode=abs32 -xregs=no%appl -x03 -I. -I/usr/include -c mymodule.c"
    but I get a huge list of errors such as:
    "/usr/include/sys/thread.h/, line73:warning: volatile is a keyworkd in
    ANSI C"
    "/usr/include/sys/thread.h/, line 73:sintax error before or at:volatile"
    so if I compile adding the directire "-D_ASM" to the previous line, the list of errors descreases to 2 lines:
    "/usr/include/sys/kstat.h, line 52: sintax error before or at: hrtime_t"
    "/usr/include/sys/kstat.h, line 52: cannot recover from previous errors".
    I have also tried adding directives such as: -D_LP64 -D__sparcv9 -D_POSIX_C_SOURCE, -D_XOPEN_SOURCE but I do not get to compile it successfully.
    Could someone be so kind to give me a clue of what I am doing wrong, and what should I do in order to compile it??.
    The header files I have included right now in my ".c" are:
    #include <sys/stream.h>
    #include <sys/conf.h>
    #include <sys/modctl.h>
    #include <sys/kmem.h>
    #include <sys/cmn_err.h>
    #include <sys/ddi.h>
    #include <sys/sunddi.h>
    If I do not add the directives -I. -I/usr/include to the compile line above I get the following error:
    "/usr/include/sys/modctl.h, line 185: major, argument mismatch"
    "/usr/include/sys/cred.h, line 51: sintax error before or at: uint_t"
    But this is because the environment it is taken the /usr/ucbinclude as default include path instead of the "/usr/include". �which one should I consider?.
    Thank in advance for your support.
    Looking forward to hearing from you.
    (could you please send to me the answeres to this e-mail:[email protected]??)
    Regards
    Elena

    HI,
    Maybe a file I can edit that says to run the Garmin stuff in 32-bit mode?
    Right or control click the Garmin application (or utility) then click: Get Info
    In the Get Info window under the General tab, if it can be enabled you should see:
    Open in 32-bit mode.
    Activity Monitor (Applications/Utilities) shows all apps running in 64 bit. If it doesn't have 64 bit under Kind on the right, then it's running in 32 bit mode.
    Carolyn

  • Creation of Add-on package for 64 bit and 32 bit SAP Business One Client

    Please help me creating package for 64 bit and 32 bit SAP Business One. If Add-on executable is compiled with x86 option then there is no issue of connecting Add-on with 32 bit SAP Business one and if Add-on executable is compiled with Any CPU option then there is no issue of connecting Add-on with 64 bit SAP Business one. Problems are mentioned as below
    1. My Add-on uses MS ACCESS connection and the connection is read using Jet OLEDB 4.0 provider. It works fine for x86 compile mode but not when compile mode is Any CPU. I searched for the issue on Google and found a solution to change MS ACCESS connection provider to ACE.OLEDB.12.0 but again ACE provider is installed according to the Office version i.e. 32 bit or 64 bit office suite. If I install 32 bit ACE provider then Add-on executable compiled with x86 version is working fine but with Any CPU option throws error as provider is not registered on current machine.
    2. Secodly, our license validation activex dll is build using vb 6.0 and therefore when Add-on executable is compiled using Any CPU option, Add-on EXE cannot read from license dll. Any suggestion, how the activeX dll can be compiled whose component can be created from for X86 compiled exe and any cpu compiled exe.
    Please help because we are stuck in this issue and cannot move forward.
    Thanks.

    Hi Alejandro,
    That is one solution but did your add on used ms access connection? if you used Jet oledb to connection string or ace oledb connection string? what if 32 bit office is installed and what if 64 office is installed? how did you found the office version in install script? after determining the office version how did you installed Microsoft redistributable for ace oledb (32 bit or 64 bi )?
    I am sorry that I asked many questions but these are the problems where I am stuck with the addon installer?
    Thanks

  • Jikes compiler problem when importing class from a jar

    hi everyone,
    I'm new there so please excuse me if i post a pb that have been already answered...
    I've a pb with jikes that is encountering a problem and so closing when compiling. I use ant to build my project.
    In my classpath I have, among others, a jar named 'kepler.jar' in which I use the following class 'WSResult;'
    In my java class I have the following import :
    'import com._4d.kepler.model.WSResult;'
    Do you think it is the character "_" that makes jikes to bug ?
    What else can be the problem of not compiling and stopping building the project ?
    Thank you very much for your help, looking forward to your answer...!
    Florence.

    Editing material is vastly different from just playing it.
    With Audio, a player is accessing the actual file on the HDD, and reading the info from there.
    The big difference is that with PrE (and PrPro), those files are not being used directly. When Imported, a couple of things happen:
    PrE creates links to those files, for later use, when one Exports/Shares
    PrE creates "proxy files," to display the Video on the Timeline, based on those links. It also creates proxy files for better display, when one Renders the Timeline, or portions of it.
    PrE creates a CFA (Conformed Audio) and a PEK (Waveform Display) file, that are used - the CFA is to allow for critical editing and the PEK is what one sees on the Audio Track. The actual files are NOT directly accessed - only the CFA file.
    For a bit more info on Conforming, see this ARTICLE.
    Now, there have been some problems reported, where the Audio was Linear PCM/WAV. I do not know what there is about the LPCM, that causes the issue, but the "plain vanilla" PCM/WAV's seem to be trouble-free. I would love to read, from an Adobe employee, or audio engineer, explaining on why there might be issues.
    For the red, and as there is some "earthiness" to it, I like the Acacia Carneros Pinot Noir. I pick it up at Costco for about US $22. It has proved to be about the best inexpensive PN, that I have encountered. Another, is the Peachy Canyon Incredible Red, which I have picked up "on sale" for around US $ 9. Their Peachy Canyon East Side Zinfandel, is even better, and I've found it as low as US $ 15. If you can find the Glen Carlou Grand Classique (South Africa), it is about the best cheap Bordeaux Blend, that I have ever found at ~ US $ 12.
    Good luck,
    Hunt

  • Boxee-source compilation "checking for main in -ldl... no"

    Hello Guys and Girls,
    I'm trying to get Boxee to run on my laptop so that I can setup up on a small homebuild HTPC running a naked Arch Linux Installation in the future.
    I have tried the versions that are in the AUR and got them to install after linking some header files, downgrading glew etc. but they are very old and
    are teaming with bugs. The repo found in the Wiki https://wiki.archlinux.org/index.php/Boxee-source is outdated as well. The current Version is 1.5
    and it is downloading 0.9.8.something from the repo.
    There are 32 and 64 bit *.deb's for Ubuntu available on boxee.tv/download, but Ubuntu is way to bloated and I don't know how to work with it
    when it comes to more advanced configuration (booting straight into X11 and starting boxee trough .xinitrc which worked fine with xbmc).
    Made me realize what a great learning tool Arch Linux is.
    So I downloaded the Sorce Code and extracted it and opened the README.ubuntu to find some building instructions.
    TOC
    1. Introduction
    2. Installing the required Ubuntu packages
    3. How to compile
    4. Create Installer
    1. Introduction
    We currently recommend Ubuntu 11.10.
    NOTE TO NEW LINUX USERS: All lines that are prefixed with the '#'
    character are commands that need to be typed into a terminal window /
    console (similar to the command prompt for Windows). Note that the '#'
    character itself should NOT be typed as part of the command.
    2. Installing the required Ubuntu packages
    # sudo apt-get install make g++ gcc gawk pmount nasm automake cmake bison libsdl1.2-dev libsdl-image1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound2-dev python-sqlite libglew1.5-dev libcurl4-openssl-dev libmad0-dev libogg-dev libvorbis-dev libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libjasper-dev libfontconfig1-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libpng12-dev libjpeg62-dev libcdio-dev libsamplerate0-dev libmms-dev libmpeg3-dev libfaad-dev libflac-dev doxygen php5 swig libssl-dev libgdbm-dev libvdpau-dev libxmu-dev libxtst-dev libxinerama-dev libhal-dev libhal-storage-dev gperf libtool
    3. How to compile
    # ./bootstrap
    # ./configure --enable-optimizations --disable-debug
    # make -j4
    # make -C tools/TexturePacker -f Makefile.host
    # rm skin/boxee/media/Textures.xbt
    # make -C skin/boxee/media
    4. Create installer
    # cd debian
    # sudo ./make_debian.sh
    ./bootstrap wored fine.
    With ./configure I ran into problems a few times but managed to fix them on my own ( installed libmms, lz02, mysql-clients etc. when check failed)
    but now I'm stuck at: "checking for main in -ldl... no" and I have no clue how to fix it. What am I missing?
    Once I get this to compile and run I want to contribute my first package to the AUR. Would be a good opportunity to get familiar with ABS, PKGBUILDs and all
    that.
    Regards,
    blackout23
    Last edited by blackout23 (2011-12-30 22:42:21)

    Looks like a linking issue?
    http://phaseit.net/claird/comp.unix.programmer/linking-unix.html wrote:
    Linux's dl library
    There are at least two distinct problem symptoms with dynamic-linking that Linux users frequently report: that
        the configure for Tcl and/or derivatives think that dynamic linking is not possible; and
        a makefile which attempts dynamic linking fails for not resolving "... -ldl ..." adequately.
    To the best of my knowledge, all instances of the former problem have been traced back to an inconsistency between configure and other sources, typically the result of incomplete application of a patch, mis-installation of a compiler and its ancillary libraries, or some sort of cross-OS contamination. As far as I know, correcting any compiler problems and doing a "make distclean" to sanitize the Tcl source directory has always been enough to cure the situation.
    Some installations (Slackware 2.1? 3.1? others? Red Hat before 4.0?) are reputed to have a missing symbolic link between /lib/libdl.so.1 and /lib/libdl.so. Any application which employs dynamic linking, and which therefore links with "... -ldl ..." under Linux, apparently will fail until one completes the installation by commanding
               ln -s /lib/libdl.so.1 /lib/libdl.so
    That's the whole story that I know. However, those unfamiliar with Unix deserve a warning: the previous paragraph used "link" in three distinct senses. If these matters are new to you, you might feel more comfortable substituting
               cp /lib/libdl.so.1 /lib/libdl.so
    for the "ln ..." command above. When I'm able to make time, I'll return to explain these matters more fully.
    Why isn't there a /lib/libdl.a? That's an involved topic, one that I aim to document later in spring '97.
    ldconfig is sometimes an issue for Linux. I'll document it once I understand it better.

  • Compiling problem in oracle 11g environment

    Hello mates,
    We have recently migrated from oracle10g to oracle11g. we have lot of pro*c and forms programs.
    my requirement is to compile all those pro*c and form programs in 11g.
    for compiling pro*c programs we have compilation scripts. these compilation scripts are prepared
    based on oracle10g. pro*c programs are compiling fine by using this compilation scripts.
    after migrated to 11g, ihave used same 10g compilation scripts to compile pro*c programs.
    1.while compiling the programs first time, i got these errors
    /oracle/app/product/11.2.0.3_cli/lib32/libsql10.a: No such file or directory
    /oracle/app/product/11.2.0.3_cli/rdbms/lib32/kpudfo.o: No such file or directory
    /oracle/app/product/11.2.0.3_cli/lib32/libpls10.a: No such file or directory
    /oracle/app/product/11.2.0.3_cli/lib32/libpls10.a: No such file or directory
    /oracle/app/product/11.2.0.3_cli/lib32/libpls10.a: No such file or directory
    so i have replace all libsql10.a,libpls10.a,libpls10.a,libpls10.a to libsql11.a,libpls11.a,libpls11.a,libpls11.a
    2.then these errors got resolved but second time compilation it shown below error.
    /oracle/app/product/11.2.0.3_cli/rdbms/lib/kpudfo.o: No such file or directory
    so i have removed kpudfo.o file from compilation script.
    3. i have compiled third time then it shown diffrent error as shown below
    ld: fatal: library -lnapt: not found
    ld: fatal: file /oracle/app/product/11.2.0.3_cli/lib/libclntsh.so: wrong ELF class: ELFCLASS64
    ld: fatal: file /oracle/app/product/11.2.0.3_cli/rdbms/lib/cdf.o: wrong ELF class: ELFCLASS64
    ld: fatal: File processing errors. No output written to ./ebsparam
    i have changed script
    "/usr/local/bin/gcc -m32 -g -DSOLARIS -DSOLARIS2 -I$HOME/include"
    to
    "/usr/local/bin/gcc -m64 -g -DSOLARIS -DSOLARIS2 -I$HOME/include"
    4. then i have compiled again then it shown error as below
    ld: fatal: file /usr18/SIR02551/mydomain/BD/obj/ebsparam.o: wrong ELF class: ELFCLASS32
    ld: fatal: File processing errors. No output written to ./ebsparam
    collect2: ld returned 1 exit status
    because of 32 bit problem i have changed script to 32 to 64. but now it is showing this error
    what is the problem i am not able to understand.
    please help on this
    Thanks
    Edited by: ramadurga.v on Jan 25, 2013 3:10 PM
    Edited by: ramadurga.v on Jan 25, 2013 3:26 PM

    Pl do not post duplicates -
    Compilaton problem in 11g environment
    Compilation problem in 11g environment
    Compilation problem in 11g environment

  • How to create a ARD for 64 Bit And 32 Bit Systems

    Dear All,
    Please help me to solve my problem. I am not able to create the ARD for both type systems (32 Bit and 64 Bit Bit). My system is OS Windows 7, 32 bit operating system. Sometimes my add-ons run successfully for 32 bit , sometimes for 64 bit. I am creating 2 ARD's for each add-on but I have failed.
    I have read many threads but I got no success.
    Please help me.
    Regards

    Hi Pedro Magueija, Edy Simon,
    Thanks for your reply. I follow below mentioned steps to create the ARD File. I build my add-on code as mentioned below:
    Solution Configuration
    Solution Platform
    Project Properties/Compile/ Advanced Compile Option/ Target CPU
    Add-on Registration Data Generator x64 Option
    Debug
    x86
    x86
    FALSE (Unchecked)
    Debug
    x86
    x86
    True (Checked)
    I was able to create and use ARD by doing in above mentioned way. But sometimes these ARD doesn't work or doesn't get installled.
    Regards

Maybe you are looking for