• RELEVANCY SCORE 3.82

    DB:3.82:Powerpc-Eabi/Bin/Ld: Cannot Find Boot.O c7





    Hi,

    I built an ppc-eabi cross tool chain based on ppc-eabi-gnu.tar.gz from the http://www.xilinx.com/guest_resources/gnu/.

    When I compile a simpleapplication with the cross tool,I got the below error that boot.o file is not found.

    where can i find the boot.o?

    Is itgenerated when compiling the ppc-eabi cross tool?

    Why is the boot.o needed?

    lihacker@lihacker-laptop:~/workspace/ppc/release/lin/bin$ ./powerpc-eabi-gcc -v test.c -o test Using built-in specs.Target: powerpc-eabiConfigured with: ../gcc/configure --target=powerpc-eabi --prefix=/home/lihacker/workspace/ppc/release/lin --program-prefix=powerpc-eabi- --with-newlib --enable-languages=c,c++ --with-board=xilinx --enable-multilib --enable-optimize-memory --disable-libssp --disable-newlib-atexit-dynamic-alloc --with-cpu=405 --with-sysroot=/home/lihacker/workspace/ppc/release/lin/powerpc-eabiThread model: singlegcc version 4.1.1 20060524 (Xilinx 12.1 Build EDK_M.13 3 Jul 2012)/home/lihacker/workspace/ppc/release/lin/libexec/gcc/powerpc-eabi/4.1.1/cc1 -quiet -v -mxilinx-fpu test.c -quiet -dumpbase test.c -mcpu=405 -auxbase test -version -o /tmp/ccZT04oT.signoring nonexistent directory "/home/lihacker/workspace/ppc/release/lin/powerpc-eabi/usr/local/include"ignoring nonexistent directory "/home/lihacker/workspace/ppc/release/lin/powerpc-eabi/usr/include"#include "..." search starts here:#include ... search starts here:/home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/include/home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/../../../../powerpc-eabi/includeEnd of search list.GNU C version 4.1.1 20060524 (Xilinx 12.1 Build EDK_M.13 3 Jul 2012) (powerpc-eabi)compiled by GNU C version 4.3.3.GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072Compiler executable checksum: 025dc115cb73f66303c8ae4a82eb76c1/home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/../../../../powerpc-eabi/bin/as --traditional-format -m405 -many -V -Qy -o /tmp/cc2cUJSC.o /tmp/ccZT04oT.sGNU assembler version 2.16 (powerpc-eabi) using BFD version 2.16/home/lihacker/workspace/ppc/release/lin/libexec/gcc/powerpc-eabi/4.1.1/collect2 --sysroot=/home/lihacker/workspace/ppc/release/lin/powerpc-eabi --eh-frame-hdr -V -Qy -dn -Bstatic -T /home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/../../../../powerpc-eabi/lib/xilinx.ld -N -o test /home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/ecrti.o /home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/xil-crt0.o /home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/crtbegin.o -L/home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1 -L/home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/../../../../powerpc-eabi/lib -L/home/lihacker/workspace/ppc/release/lin/powerpc-eabi/lib /tmp/cc2cUJSC.o -lgcc --start-group -lxil -lc -lm --end-group -lgcc /home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/crtend.o /home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/ecrtn.oGNU ld version 2.16 Supported emulations: elf32ppc elf32ppclinux elf32ppcsim/home/lihacker/workspace/ppc/release/lin/lib/gcc/powerpc-eabi/4.1.1/../../../../powerpc-eabi/bin/ld: cannot find boot.ocollect2: ld returned 1 exit status

    DB:3.82:Powerpc-Eabi/Bin/Ld: Cannot Find Boot.O c7


    boot.o is supposed to be in libxil.a which exists in my install area and powerpc-eabi-ld is seeing that library.

  • RELEVANCY SCORE 3.78

    DB:3.78:Error Compiling Gcc On Ppc ps





    Im trying to install the ps3toolchain from http://ps2dev.org/ps3/Tools/Toolchain/p … 26.tar.bz2 so I can compile programs specifically for ppu/spu, but I keep having problems. I noticed that in the i686 PKGCONFIG for gcc that it required the de_DE locale, so I regenerated my locales with that and began compiling. binutils compiled just fine, but a good ways into compiling gcc I get the following error:
    make[2]: Entering directory `/root/ps3toolchain/build/gcc-4.2.0/build-ppu-stage1
    Configuring stage 2 in ./intl
    configure: loading cache ./config.cache
    checking whether make sets $(MAKE)... yes
    checking for a BSD-compatible install... /bin/install -c
    checking whether NLS is requested... no
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for powerpc64-unknown-linux-gnu-gcc... /root/ps3toolchain/build/gcc-4.2.0/build-ppu-stage1/./prev-gcc/xgcc -B/root/ps3toolchain/build/gcc-4.2.0/build-ppu-stage1/./prev-gcc/ -B/usr/local/ps3dev/ppu/ppu/bin/
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log for more details.
    make[2]: *** [configure-stage2-intl] Error 77
    make[2]: Leaving directory `/root/ps3toolchain/build/gcc-4.2.0/build-ppu-stage1
    make[1]: *** [stage2-bubble] Error 2
    make[1]: Leaving directory `/root/ps3toolchain/build/gcc-4.2.0/build-ppu-stage1
    make: *** [all] Error 2

    DB:3.78:Error Compiling Gcc On Ppc ps


    Im trying to install the ps3toolchain from http://ps2dev.org/ps3/Tools/Toolchain/p … 26.tar.bz2 so I can compile programs specifically for ppu/spu, but I keep having problems. I noticed that in the i686 PKGCONFIG for gcc that it required the de_DE locale, so I regenerated my locales with that and began compiling. binutils compiled just fine, but a good ways into compiling gcc I get the following error:
    make[2]: Entering directory `/root/ps3toolchain/build/gcc-4.2.0/build-ppu-stage1
    Configuring stage 2 in ./intl
    configure: loading cache ./config.cache
    checking whether make sets $(MAKE)... yes
    checking for a BSD-compatible install... /bin/install -c
    checking whether NLS is requested... no
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for powerpc64-unknown-linux-gnu-gcc... /root/ps3toolchain/build/gcc-4.2.0/build-ppu-stage1/./prev-gcc/xgcc -B/root/ps3toolchain/build/gcc-4.2.0/build-ppu-stage1/./prev-gcc/ -B/usr/local/ps3dev/ppu/ppu/bin/
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log for more details.
    make[2]: *** [configure-stage2-intl] Error 77
    make[2]: Leaving directory `/root/ps3toolchain/build/gcc-4.2.0/build-ppu-stage1
    make[1]: *** [stage2-bubble] Error 2
    make[1]: Leaving directory `/root/ps3toolchain/build/gcc-4.2.0/build-ppu-stage1
    make: *** [all] Error 2

  • RELEVANCY SCORE 3.67

    DB:3.67:How To Indicate The Alignment In Neon Instructions When Using Gcc Compiler? ka




    Note: This was originally posted on 23rd July 2008 at http://forums.arm.comI use GCC to compile my projects. When compiling the follow NEON instructions, the compiler reports error like "Error: ']' expected -- `vld2.32 {d2,d3},[r1@64]!'". VLD2.32 {d2, d3}, [r1@64]!Can anyone tell me how to indicate the alignment in GCC format?Thank you very much!

    DB:3.67:How To Indicate The Alignment In Neon Instructions When Using Gcc Compiler? ka

    Note: This was originally posted on 24th July 2008 at http://forums.arm.comWhat exactly are you trying to make the compiler do with the instruction as you wrote it?VLD2.32 {d2, d3}, [r1]! is the syntax that it expects.

  • RELEVANCY SCORE 3.47

    DB:3.47:Running Sdk 1.3 On Ubuntu 13.10 xf



    Running Freescale SDK 1.3 on Ubuntu 13.10:

    ==========================================

    Since running SDK 1.3 on VirtualMachine with old Ubuntu installtion is too slow. I decided to run it directly on my host machine which has latest(at the time when I installed) Ubuntu version. I find some problems in compiling new BSPs on Ubuntu 13.10 and spent some time searching the Internet to find a quick solution. Therefore, I decided to write this short howto which will hopefully help someone someday!

    Here is the step-by-step guide of running Freescale's SDK 1.3 to newer Ubuntu distributions.

    1. You can copy the QorIQ-SDK-V1.3-20121114-yocto folder from previous Ubuntu installation directly to Ubuntu 13.10.

    2. Install texinfo 4.13:

    - If you have latest version of texinfo, remove it first.

    - textinfo 4.13 can be installed as follows:

    - wget http://ftp.gnu.org/gnu/texinfo/texinfo-4.13a.tar.gz

    - tar -zxf texinfo-4.13a.tar.gz

    -./configure, make and make install. It will install texinfo bins in /usr/local/bin/

    3. Patching gcc 4.6.2:

    - copy the following patch in meta-fsl-ppc/recipes-devtools/gcc/files/

    --- gcc/gcc/ira-int.h 2014-10-20 10:42:27.995591144 +0200

    +++ gcc-fix-ira/gcc/ira-int.h 2014-10-20 10:36:12.915597704 +0200

    @@ -1123,8 +1123,12 @@

    ira_allocno_object_iter_cond (ira_allocno_object_iterator *i, ira_allocno_t a,

    ira_object_t *o)

    {

    - *o = ALLOCNO_OBJECT (a, i-n);

    - return i-n++ ALLOCNO_NUM_OBJECTS (a);

    + int n = i-n++;

    + if (n ALLOCNO_NUM_OBJECTS (a)) {

    + *o = ALLOCNO_OBJECT (a, n);

    + return true;

    + }

    + return false;

    }

    /* Loop over all objects associated with allocno A. In each

    - You can save it in filename like gcc.compile-with-gcc-4_8-compiler.patch.

    - add new gcc patch filename at the end of SRC_URI_fsl list in meta-fsl-ppc/recipes-devtools/gcc/gcc-fsl.inc

    4. Configure new BSP from fsl-setup-poky.

    5. Compile new BSP with bitbake fsl-image-minimal. DONE!

    Any suggestions or comments are welcome!

    Best Regards,

    Adeel

    DB:3.47:Running Sdk 1.3 On Ubuntu 13.10 xf


    Running Freescale SDK 1.3 on Ubuntu 13.10:

    ==========================================

    Since running SDK 1.3 on VirtualMachine with old Ubuntu installtion is too slow. I decided to run it directly on my host machine which has latest(at the time when I installed) Ubuntu version. I find some problems in compiling new BSPs on Ubuntu 13.10 and spent some time searching the Internet to find a quick solution. Therefore, I decided to write this short howto which will hopefully help someone someday!

    Here is the step-by-step guide of running Freescale's SDK 1.3 to newer Ubuntu distributions.

    1. You can copy the QorIQ-SDK-V1.3-20121114-yocto folder from previous Ubuntu installation directly to Ubuntu 13.10.

    2. Install texinfo 4.13:

    - If you have latest version of texinfo, remove it first.

    - textinfo 4.13 can be installed as follows:

    - wget http://ftp.gnu.org/gnu/texinfo/texinfo-4.13a.tar.gz

    - tar -zxf texinfo-4.13a.tar.gz

    -./configure, make and make install. It will install texinfo bins in /usr/local/bin/

    3. Patching gcc 4.6.2:

    - copy the following patch in meta-fsl-ppc/recipes-devtools/gcc/files/

    --- gcc/gcc/ira-int.h 2014-10-20 10:42:27.995591144 +0200

    +++ gcc-fix-ira/gcc/ira-int.h 2014-10-20 10:36:12.915597704 +0200

    @@ -1123,8 +1123,12 @@

    ira_allocno_object_iter_cond (ira_allocno_object_iterator *i, ira_allocno_t a,

    ira_object_t *o)

    {

    - *o = ALLOCNO_OBJECT (a, i-n);

    - return i-n++ ALLOCNO_NUM_OBJECTS (a);

    + int n = i-n++;

    + if (n ALLOCNO_NUM_OBJECTS (a)) {

    + *o = ALLOCNO_OBJECT (a, n);

    + return true;

    + }

    + return false;

    }

    /* Loop over all objects associated with allocno A. In each

    - You can save it in filename like gcc.compile-with-gcc-4_8-compiler.patch.

    - add new gcc patch filename at the end of SRC_URI_fsl list in meta-fsl-ppc/recipes-devtools/gcc/gcc-fsl.inc

    4. Configure new BSP from fsl-setup-poky.

    5. Compile new BSP with bitbake fsl-image-minimal. DONE!

    Any suggestions or comments are welcome!

    Best Regards,

    Adeel

  • RELEVANCY SCORE 3.39

    DB:3.39:Error:Edk:1278 Failed To Create Directory When Executing Libgen From Command Prompt 7f



    Version: Xilinx ISE Design Suite 13.2

    OS: Windows 7

    I was be able to build the board support package using SDK tool, but when I executed the same command on the Xilinx ISE Command Prompt (either 32-bit or 64-bit version), I received the following errors.

    Is there a workaround to fix this? I'm trying to automate our build process using script.

    make -k alllibgen -hw ../my_up_hw_platform/system.xml\ \ -pe microblaze_0 \ -log libgen.log \ system.msslibgenXilinx EDK 13.2 Build EDK_O.61xdCopyright (c) 1995-2011 Xilinx, Inc. All rights reserved.

    Command Line: libgen -hw ../my_up_hw_platform/system.xml -pe microblaze_0 -loglibgen.log system.mss

    Staging source files.ERROR:EDK:1278 - Failed to create directory C:\Users\cjs142.DS\My Documents\my_project\workspace\standalone_bsp_1\microblaze_0\libsrc\standalone_v3_01_a\src\.

    ERROR:EDK:1278 - Failed to create directory C:\Users\cjs142.DS\My Documents\my_project\workspace\standalone_bsp_1\microblaze_0\libsrc\common_v1_00_a\src\.

    ERROR:EDK:3419 - Error(s) while staging sources.make: *** [microblaze_0/lib/libxil.a] Error 2make: Target `all' not remade because of errors.

    -------------------------------

    Output from SDK's console:

    make -k all libgen -hw ../my_up_hw_platform/system.xml\ \ -pe microblaze_0 \ -log libgen.log \ system.msslibgenXilinx EDK 13.2 Build EDK_O.61xdCopyright (c) 1995-2011 Xilinx, Inc. All rights reserved.

    Command Line: libgen -hw ../my_up_hw_platform/system.xml -pe microblaze_0 -loglibgen.log system.mss

    Staging source files.Running DRCs.Running generate.Running post_generate.Running include - 'make -s include "COMPILER=mb-gcc" "ARCHIVER=mb-ar""COMPILER_FLAGS=-mlittle-endian -mno-xl-soft-mul -mxl-barrel-shift-mxl-pattern-compare -mcpu=v8.20.a -O2 -c" "EXTRA_COMPILER_FLAGS=-g"'.

    Running libs - 'make -s libs "COMPILER=mb-gcc" "ARCHIVER=mb-ar""COMPILER_FLAGS=-mlittle-endian -mno-xl-soft-mul -mxl-barrel-shift-mxl-pattern-compare -mcpu=v8.20.a -O2 -c" "EXTRA_COMPILER_FLAGS=-g"'."Compiling common""Compiling standalone";"Compiling spi""Compiling hwicap""Compiling uartlite""Compiling bram""Compiling cpu"Running execs_generate.'Finished building libraries'







    Solved!
    Go to Solution.

  • RELEVANCY SCORE 3.31

    DB:3.31:Parser Warnings 19



    Originally published on 2011-03-01 09:20

    Is there a way to turn off one specific parser warning? I only see options to disable all parser warnings. We are using "#pragma GCC poision" for a few functions and Coverity is giving us an "unrecognized_gcc_pragma" parser warning, but when compiling it works without warning or error (we have -Werror and -Wall turned on).

    Thank you.

    DB:3.31:Parser Warnings 19


    Originally published on 2011-03-01 12:32

    See Checker Reference manual for instructions: 1.6.3.1.Changing which parse warning checkers are enabled

  • RELEVANCY SCORE 3.26

    DB:3.26:Microblaze Project Is Not Compiling In Sdk (Execvp: Permission Denied) j8



    Hi,

    I am using ISE/EDK 10.1.03 and I am running on Vista.

    In ISE I created an embedded processor project, in EDK I configured the system adding a microblaze. In SDK I wanted to write some code. But I can't even compile. This is what I get:

    Building target: TestApp_Peripheral.elf
    mb-gcc -o TestApp_Peripheral.elf TestApp_Peripheral.o xgpio_tapp_example.o -mxl-soft-mul -mxl-pattern-compare -mcpu=v7.10.d -L../../microblaze_0_sw_platform/microblaze_0/lib -xl-mode-executable -T../../../TestApp_Peripheral/src/TestApp_Peripheral_LinkScr.ld
    collect2: error trying to exec '/cygdrive/c/Xilinx/10.1/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze-xilinx-elf/4.1.1/../../../../microblaze-xilinx-elf/bin/ld': execvp: Permission denied
    collect2: ld returned 255 exit status
    mb-gcc: TestApp_Peripheral.o: No such file or directory
    mb-gcc: xgpio_tapp_example.o: No such file or directory
    mb-gcc: no input files

    I tried to figure out if something is wrong with my cygwin, but I don't think so. I am a bit lost, because I couldn't even find a topic where anyone had a similar problem.

    If anyone knows why I got the permission denied, please let me know.

    Thanks a lot.

    Jens







    Solved!
    Go to Solution.

    DB:3.26:Microblaze Project Is Not Compiling In Sdk (Execvp: Permission Denied) j8


    Sorry, for being impatient :)

    The problem I had is described in the Embedded System Tools Reference Manual under the EDK Shell chapter.

    On Vista one has to install cygwin with administrator rights. If not, the problem described above occurs.

  • RELEVANCY SCORE 3.25

    DB:3.25:Building A Kernel For The Ps3 With A Cross-Compiling Toolchain s1



    I just put Arch on my PS3 after Fedora borked itself (RPM makes me go crazy also, but thats not important now ).

    Anyway, I followed Erroneous guide to get started and updated the wiki while I was on it. The crucial part - getting a kernel for this beast to run - proves to be a daunting task so far (well maybe not daunting, but lets just say my LFS days are far behind me ). The link Erroneous provides on the wiki to download his kernel does not work - in a browser it gives me a login screen, logging in as anonymous doesnt work. Nor does just wgeting it - it just keeps on trying and trying.

    Anyway - I tried his first suggestion, to grab the toolchain provided here, but the thing does not want to compile - it borks on the very first binutils run. I included both the ./configure and make output for the sake of completeness (since my post exceeded the 64k limit with this code, Ill link to pastebin):

    Pastebin entry

    Its a whole lot of code, I know . I googled the mktemp warning - somewhere higher up make says it will treat any warnings as errors - but no clear solutions so far. Then I found this thread about a cross-compiling toolchain provided by kth5. Someone in the same thread said to change it for 64 bit PPC and it would work but I was a bit suspicious (the packages all have PPC32 in their name ). As I installed those packages, patched the latest kernel together (both the 2.6.26.5 patch and the PS3 patch for 2.6.26 needed some adjusting), I finally bumped into this error:
    [stijn@hermes linux-2.6.26]$ make
    cc1: fout: -m64 not supported in this configuration
    cc1: fout: -m64 not supported in this configuration
    /home/stijn/src/ps3linux/kernel/linux-2.6.26/scripts/gcc-version.sh: line 31: printf: #: invalid number
    /home/stijn/src/ps3linux/kernel/linux-2.6.26/scripts/gcc-version.sh: line 31: printf: #: invalid number
    /bin/sh: line 0: [: too many arguments
    cc1: fout: -m64 not supported in this configuration
    cc1: fout: -m64 not supported in this configuration
    /home/stijn/src/ps3linux/kernel/linux-2.6.26/scripts/gcc-version.sh: line 31: printf: #: invalid number
    /home/stijn/src/ps3linux/kernel/linux-2.6.26/scripts/gcc-version.sh: line 31: printf: #: invalid number
    cc1: fout: -m64 not supported in this configuration
    cc1: fout: -m64 not supported in this configuration
    cc1: fout: -m64 not supported in this configuration
    /home/stijn/src/ps3linux/kernel/linux-2.6.26/scripts/gcc-version.sh: line 29: printf: #: invalid number
    /home/stijn/src/ps3linux/kernel/linux-2.6.26/scripts/gcc-version.sh: line 29: printf: #: invalid number
    /home/stijn/src/ps3linux/kernel/linux-2.6.26/scripts/gcc-version.sh: line 29: printf: #: invalid number
    *** 2.6 kernels no longer build correctly with old versions of binutils.
    *** Please upgrade your binutils to 2.12.1 or newer
    make: *** [checkbin] Fout 1
    [stijn@hermes linux-2.6.26]$ pacman -Q|grep binutils-ppc32
    crossbinutils-ppc32 2.18.50.0.5-2

    DB:3.25:Building A Kernel For The Ps3 With A Cross-Compiling Toolchain s1


    mhhm... i adapted the pkgbuilds for the cbea-sdk package to ppc and compile with ppu-gcc on the ps3. works fine for the latest git-versions. and i can even have loadable module support which doesnt work with the toolchain.

  • RELEVANCY SCORE 3.23

    DB:3.23:No Java Compiler Installed On This System p1


    I have been getting an error in the Xcode console when I try to build and debug a java class. it says, $i686-apple-darwin10-gcc-4.2.1: JavaTest.jar: Java compiler not installed on this system

    Can anyone shed some light on this? I do have gcc, like everyone else, and can get all of the compiling abilities of the command line in both X11 and Terminal. Xcode and OS 10.6.1 are up to date.

    DB:3.23:No Java Compiler Installed On This System p1

    Here are the first couple lines I got.

    java version "1.6.0_15"
    Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)

  • RELEVANCY SCORE 3.21

    DB:3.21:Cw Ppc Isa - Glibc ("Gcc Toolchain") Upgrade dj


    DB:3.21:Cw Ppc Isa - Glibc ("Gcc Toolchain") Upgrade dj

    Hi Michael,gcc 3.3.2 is...Hope this helps...Regards

  • RELEVANCY SCORE 3.12

    DB:3.12:Error While Compiling Ttclasses xp


    Hi!

    I am getting alot of errors while compliing TTClasses using make.

    I have two machines having same configuration on one machine its being compiled successfully and generates the .so file, while on the other its giving alot of errors like:

    /usr/users/spider/TimesTen/tt70/include/ttclasses/TTCmd.h:492: instantiated from here
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.tcc:188: error: invalid use of undefined type `struct std::allocatorchar'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stringfwd.h:49: error: declaration of `struct std::allocatorchar'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.tcc:188: error: invalid use of undefined type `struct std::allocatorchar'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stringfwd.h:49: error: declaration of `struct std::allocatorchar'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.tcc:188: error: invalid use of undefined type `struct std::allocatorchar'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stringfwd.h:49: error: declaration of `struct std::allocatorchar'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/basic_string.tcc:188: error: invalid use of undefined type `struct std::allocatorchar'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stringfwd.h:49: error: declaration of `struct std::allocatorchar'
    make: *** [objOpt/TTCmd.o] Error 1

    May be I am missing some rpm. Please help.

    Best Regards
    /Ahmad

    DB:3.12:Error While Compiling Ttclasses xp

    Hi Ahmad,

    Do you have the same GCC version plus the 'development backwards compatability' packages installed on both machines? You might want to check the GCC version and the set of installed rpms on both machines and resolve any differences.

    Chris

  • RELEVANCY SCORE 3.12

    DB:3.12:Edk Problem In Xup Lab With Virtex-Ii Pro x9


    Hello, I experiment the Lab with Virtex-II Pro in Xilinx University Program, and I'm using EDK8.2i.But I found some errors in XUP Lab1 - Simple Hardware Design (Targeting XUP Virtex-II Pro PPC).
    I followed the steps of this lab, Creating (or Opening) the Project, then Generating the Hardware Netlists. There was all
    right and No error found.Then "Update Bitstream", some errors came out.
    I want to show some errors as follows:"...

    2 [main] powerpc-eabi-gcc 6060 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid
    5724, Win32 error 87
    powerpc-eabi-gcc: fork: Resource temporarily unavailablemake[1]: *** [libs] Error 1
    22821660 [main] powerpc-eabi-gcc 4344 fork_copy: linked dll data/bss pass 0 failed, 0x3CD000..0x3CD020, done 0, windows pid
    4236, Win32 error 87

    ...

    Compiling opbarb
    powerpc-eabi-gcc: Internal error: Segmentation fault (program as)
    make[1]: *** [libs] Error 1
    2 [main] powerpc-eabi-gcc 2444 fork_copy: linked dll data/bss pass 0 failed, 0x88D000..0x88D020, done 0, windows pid
    1432, Win32 error 87
    powerpc-eabi-gcc: Internal error: Segmentation fault (program as)
    make[1]: *** [libs] Error 1

    ...

    Installing Cygwin from EDK installation area...Added registry entries for E:\EDK\cygwin
    2 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 5156,
    Win32 error 871012257 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 3144,
    Win32 error 873023449 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 5872,
    Win32 error 87/cygdrive/e/EDK/gnu/powerpc-eabi/nt/bin/../lib/gcc/powerpc-eabi/3.4.1/../../../../powerpc-eabi/bin/ld: cannot find boot.ocollect2: ld returned 1 exit statusmake: *** [TestApp_Peripheral/executable.elf] Error 1

    ..."

    And my laptop is HP 2210b with CPU T7100 and my operation system is VISTA Ultimate. And the software is ISE8.2i and EDK8.2i.I am now puzzled. How can I solve this problem?

    Thanks

    -Stefaniee

    P.S. the Attachment is the output when I did the procedure of "Update Bitstream".










    Attachments:







    Update_Bitstream2.txt ‏39 KB

    DB:3.12:Edk Problem In Xup Lab With Virtex-Ii Pro x9

    Hello, I experiment the Lab with Virtex-II Pro in Xilinx University Program, and I'm using EDK8.2i.But I found some errors in XUP Lab1 - Simple Hardware Design (Targeting XUP Virtex-II Pro PPC).
    I followed the steps of this lab, Creating (or Opening) the Project, then Generating the Hardware Netlists. There was all
    right and No error found.Then "Update Bitstream", some errors came out.
    I want to show some errors as follows:"...

    2 [main] powerpc-eabi-gcc 6060 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid
    5724, Win32 error 87
    powerpc-eabi-gcc: fork: Resource temporarily unavailablemake[1]: *** [libs] Error 1
    22821660 [main] powerpc-eabi-gcc 4344 fork_copy: linked dll data/bss pass 0 failed, 0x3CD000..0x3CD020, done 0, windows pid
    4236, Win32 error 87

    ...

    Compiling opbarb
    powerpc-eabi-gcc: Internal error: Segmentation fault (program as)
    make[1]: *** [libs] Error 1
    2 [main] powerpc-eabi-gcc 2444 fork_copy: linked dll data/bss pass 0 failed, 0x88D000..0x88D020, done 0, windows pid
    1432, Win32 error 87
    powerpc-eabi-gcc: Internal error: Segmentation fault (program as)
    make[1]: *** [libs] Error 1

    ...

    Installing Cygwin from EDK installation area...Added registry entries for E:\EDK\cygwin
    2 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 5156,
    Win32 error 871012257 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 3144,
    Win32 error 873023449 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 5872,
    Win32 error 87/cygdrive/e/EDK/gnu/powerpc-eabi/nt/bin/../lib/gcc/powerpc-eabi/3.4.1/../../../../powerpc-eabi/bin/ld: cannot find boot.ocollect2: ld returned 1 exit statusmake: *** [TestApp_Peripheral/executable.elf] Error 1

    ..."

    And my laptop is HP 2210b with CPU T7100 and my operation system is VISTA Ultimate. And the software is ISE8.2i and EDK8.2i.I am now puzzled. How can I solve this problem?

    Thanks

    -Stefaniee

    P.S. the Attachment is the output when I did the procedure of "Update Bitstream".










    Attachments:







    Update_Bitstream2.txt ‏39 KB

  • RELEVANCY SCORE 3.12

    DB:3.12:Linux Plugin Compilation: Need Gcc 4.1.2 But I Can't Install It! ck


    Hi guys!Am using ubuntu 12.04 LTS, and I need gcc-4.1.2 for compiling some maya plugins for version early 2011 such as 2009~2010. But my system Gcc version is 4.6.I download the 4.1.2 source code but does not compile the source successfully. So I download .deb files from ubuntu archive, but still, errors show up in software center:Dependency is not satisfiable: gcc-4.1-base(=4.1.2-27ubuntu1)usingsudo dpkg -i *.debends in :Selecting previously unselected package cpp-4.1.(Reading database ... 325894 files and directories currently installed.)Unpacking cpp-4.1 (from cpp-4.1_4.1.2-27ubuntu1_amd64.deb) ...Selecting previously unselected package g++-4.1.Unpacking g++-4.1 (from g++-4.1_4.1.2-27ubuntu1_amd64.deb) ...Selecting previously unselected package g++-4.1-multilib.Unpacking g++-4.1-multilib (from g++-4.1-multilib_4.1.2-27ubuntu1_amd64.deb) ...Selecting previously unselected package gcc-4.1.Unpacking gcc-4.1 (from gcc-4.1_4.1.2-27ubuntu1_amd64.deb) ...Selecting previously unselected package gcc-4.1-base.Unpacking gcc-4.1-base (from gcc-4.1-base_4.1.2-27ubuntu1_amd64.deb) ...Selecting previously unselected package gcc-4.1-multilib.Unpacking gcc-4.1-multilib (from gcc-4.1-multilib_4.1.2-27ubuntu1_amd64.deb) ...Selecting previously unselected package libstdc++6-4.1-dev.Unpacking libstdc++6-4.1-dev (from libstdc++6-4.1-dev_4.1.2-27ubuntu1_amd64.deb) ...dpkg: dependency problems prevent configuration of g++-4.1-multilib: g++-4.1-multilib depends on lib32stdc++6 (= 4.1.2-27ubuntu1); however: Package lib32stdc++6 is not installed.dpkg: error processing g++-4.1-multilib (--install): dependency problems - leaving unconfiguredSetting up gcc-4.1-base (4.1.2-27ubuntu1) ...Setting up cpp-4.1 (4.1.2-27ubuntu1) ...Processing triggers for man-db ...dpkg: dependency problems prevent configuration of gcc-4.1: libgomp1 (4.6.3-1ubuntu5) breaks gcc-4.1 and is installed. libstdc++6:i386 (4.6.3-1ubuntu5) breaks gcc-4.1 and is installed. libstdc++6 (4.6.3-1ubuntu5) breaks gcc-4.1 and is installed. libgcc1:i386 (1:4.6.3-1ubuntu5) breaks gcc-4.1 and is installed. libgcc1 (1:4.6.3-1ubuntu5) breaks gcc-4.1 and is installed.dpkg: error processing gcc-4.1 (--install): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of gcc-4.1-multilib: gcc-4.1-multilib depends on gcc-4.1 (= 4.1.2-27ubuntu1); however: Package gcc-4.1 is not configured yet.dpkg: error processing gcc-4.1-multilib (--install): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of g++-4.1: g++-4.1 depends on gcc-4.1 (= 4.1.2-27ubuntu1); however: Package gcc-4.1 is not configured yet.dpkg: error processing g++-4.1 (--install): dependency problems - leaving unconfigureddpkg: dependency problems prevent configuration of libstdc++6-4.1-dev: libstdc++6-4.1-dev depends on g++-4.1 (= 4.1.2-27ubuntu1); however: Package g++-4.1 is not configured yet.dpkg: error processing libstdc++6-4.1-dev (--install): dependency problems - leaving unconfiguredErrors were encountered while processing: g++-4.1-multilib gcc-4.1 gcc-4.1-multilib g++-4.1 libstdc++6-4.1-devDoes anyone know how to install gcc 4.1.2 on ubuntu 12.04 LTS ?

    DB:3.12:Linux Plugin Compilation: Need Gcc 4.1.2 But I Can't Install It! ck

    Oh,When I compile it with Gcc4.6, it make me the .so file, but when I load it in Maya2010,error like so:undefined symbol: _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_lI believe this is the Gcc version issue, isn't it?Thanks beforehand.

  • RELEVANCY SCORE 3.11

    DB:3.11:[Compiler] Error #1063: Unable To Open File: /Alchemy-Darwin-V0.5a/Avm2-Libc/Lib/Asmachine.Abc 1f


    Can anyone give input on receiving this error when compiling? I've come across it a few times. The current project is compiling libjpg from www.ijg.org/

    [Compiler] Error #1063: Unable to open file: /projects/zaalabs/alchemy-darwin-v0.5a/avm2-libc/lib/asmachine.abc.

    There is no trace of this file, however within the achacks/gcc script there is a line:

  • RELEVANCY SCORE 3.10

    DB:3.10:Long Double Trouble With Gcc 4.0 sm


    I have recently upgraded to Xcode 2.2.1 from 2.0. Suddenly, reliable C code (a simulation model), that uses lots of long doubles, has started producing unusual output.

    The model tracks frequencies stored in arrays of long doubles. I first noticed that frequecies that should be 1 are 2, which should be impossible. On closer inspection, many of the other numbers are not what I would expect, while some are what I would expect.

    I have determined that this is a gcc 4.0 specific problem. Compiling with 3.3 or 2.95 (on various G4 and G5 PPC machines) gets rid of the problem.

    It may be just the output that is messed up, as part of the simulation still reach its stopping point (based on the frequencies) in the same number of generations. Also, when I check values in the debugger, they seem fine. I am printing with printf and fprintf statements using %Le format .

    Any ideas what is going on?

    DB:3.10:Long Double Trouble With Gcc 4.0 sm

    In all cases where I see errors, the printf statements are formated with %Le. If all else fails, I will try the -Wall option, though I fear the myriad of other programing problems it will flag.

  • RELEVANCY SCORE 3.10

    DB:3.10:Virtex-Ii Problem In Xilinx University Program(Xup) Lab. (Powerpc-Eabi-Gcc Errors) 1f



    Hello, I experiment the Lab with Virtex-II Pro in Xilinx University Program, and I'm using EDK8.2i.But I found some errors in XUP Lab1 - Simple Hardware Design (Targeting XUP Virtex-II Pro PPC).
    I followed the steps of this lab, Creating (or Opening) the Project, then Generating the Hardware Netlists. There was all
    right and No error found.Then "Update Bitstream", some errors came out.
    I want to show some errors as follows:"...

    2 [main] powerpc-eabi-gcc 6060 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid
    5724, Win32 error 87
    powerpc-eabi-gcc: fork: Resource temporarily unavailablemake[1]: *** [libs] Error 1
    22821660 [main] powerpc-eabi-gcc 4344 fork_copy: linked dll data/bss pass 0 failed, 0x3CD000..0x3CD020, done 0, windows pid
    4236, Win32 error 87

    ...

    Compiling opbarb
    powerpc-eabi-gcc: Internal error: Segmentation fault (program as)
    make[1]: *** [libs] Error 1
    2 [main] powerpc-eabi-gcc 2444 fork_copy: linked dll data/bss pass 0 failed, 0x88D000..0x88D020, done 0, windows pid
    1432, Win32 error 87
    powerpc-eabi-gcc: Internal error: Segmentation fault (program as)
    make[1]: *** [libs] Error 1

    ...

    Installing Cygwin from EDK installation area...Added registry entries for E:\EDK\cygwin
    2 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 5156,
    Win32 error 871012257 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 3144,
    Win32 error 873023449 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 5872,
    Win32 error 87/cygdrive/e/EDK/gnu/powerpc-eabi/nt/bin/../lib/gcc​/powerpc-eabi/3.4.1/../../../../powerpc-eabi/bin/l​d: cannot find boot.ocollect2: ld returned 1 exit statusmake: *** [TestApp_Peripheral/executable.elf] Error 1

    ..."

    And my laptop is HP 2210b with CPU T7100 and my operation system is VISTA Ultimate. And the software is ISE8.2i and EDK8.2i.I am now puzzled. How can I solve this problem?

    Thanks

    -Stefaniee

    P.S. the Attachment is the output when I did the procedure of "Update Bitstream".









    Attachments:







    Update_Bitstream1.txt ‏39 KB

    DB:3.10:Virtex-Ii Problem In Xilinx University Program(Xup) Lab. (Powerpc-Eabi-Gcc Errors) 1f


    Hello, I experiment the Lab with Virtex-II Pro in Xilinx University Program, and I'm using EDK8.2i.But I found some errors in XUP Lab1 - Simple Hardware Design (Targeting XUP Virtex-II Pro PPC).
    I followed the steps of this lab, Creating (or Opening) the Project, then Generating the Hardware Netlists. There was all
    right and No error found.Then "Update Bitstream", some errors came out.
    I want to show some errors as follows:"...

    2 [main] powerpc-eabi-gcc 6060 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid
    5724, Win32 error 87
    powerpc-eabi-gcc: fork: Resource temporarily unavailablemake[1]: *** [libs] Error 1
    22821660 [main] powerpc-eabi-gcc 4344 fork_copy: linked dll data/bss pass 0 failed, 0x3CD000..0x3CD020, done 0, windows pid
    4236, Win32 error 87

    ...

    Compiling opbarb
    powerpc-eabi-gcc: Internal error: Segmentation fault (program as)
    make[1]: *** [libs] Error 1
    2 [main] powerpc-eabi-gcc 2444 fork_copy: linked dll data/bss pass 0 failed, 0x88D000..0x88D020, done 0, windows pid
    1432, Win32 error 87
    powerpc-eabi-gcc: Internal error: Segmentation fault (program as)
    make[1]: *** [libs] Error 1

    ...

    Installing Cygwin from EDK installation area...Added registry entries for E:\EDK\cygwin
    2 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 5156,
    Win32 error 871012257 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 3144,
    Win32 error 873023449 [main] collect2 4288 fork_copy: linked dll data/bss pass 0 failed, 0x8DD000..0x8DD020, done 0, windows pid 5872,
    Win32 error 87/cygdrive/e/EDK/gnu/powerpc-eabi/nt/bin/../lib/gcc​/powerpc-eabi/3.4.1/../../../../powerpc-eabi/bin/l​d: cannot find boot.ocollect2: ld returned 1 exit statusmake: *** [TestApp_Peripheral/executable.elf] Error 1

    ..."

    And my laptop is HP 2210b with CPU T7100 and my operation system is VISTA Ultimate. And the software is ISE8.2i and EDK8.2i.I am now puzzled. How can I solve this problem?

    Thanks

    -Stefaniee

    P.S. the Attachment is the output when I did the procedure of "Update Bitstream".









    Attachments:







    Update_Bitstream1.txt ‏39 KB

  • RELEVANCY SCORE 3.09

    DB:3.09:/Bin/Sh Mb-Gcc Not Found Xilinx Sdk 14.4 aj



    Hello,

    I am trying to create an application project with Xilinx SDK. While compiling the simple "Hello World.C", it fails to get the mb-gcc. Here is the error. I am using ubuntu on a parallel desktop to do this. As you can see, it is there in my PATH, but just typing mb-gcc returns no such file or directory. Any help is greatly appreciated.

    Thanks

    ---

    make all

    Building file: ../src/helloworld.c

    Invoking: MicroBlaze gcc compiler

    mb-gcc -Wall -O0 -g3 -c -fmessage-length=0 -I../../ctp6_fe_mb_bsp/microblaze_0/include -mlittle-endian -mxl-pattern-compare -mcpu=v8.40.b -mno-xl-soft-mul -MMD -MP -MF"src/helloworld.d" -MT"src/helloworld.d" -o"src/helloworld.o" "../src/helloworld.c"

    /bin/sh: mb-gcc: not found

    make: *** [src/helloworld.o] Error 127

    %] which mb-gcc

    /opt/Xilinx/14.4/SDK/SDK/gnu/microblaze/lin64/bin/​mb-gcc

    %]mb-gcc

    bash: /opt/Xilinx/14.4/SDK/SDK/gnu/microblaze/lin64/bin/​mb-gcc: No such file or directory

  • RELEVANCY SCORE 3.05

    DB:3.05:Compiling Kde-3.4.X On Solaris 10 jp


    Who can tell me what must be done to build KDE-3.4.x and Qt on Solaris10, with gcc.(or with SunStudio10), but I'm more interested how this can be done with gcc.

    I tried compiling qt with (gcc):
    "./configure -no-stl -no-g++-exceptions -platform solaris-g++ -thread -shared -system-zlib -system-libpng -system-libjpeg -qt-libmng -plugin-imgfmt-mng"

    CXXFLAGS="-fpermissive". This is because on developer.kde.org, they say something about functions in the Solaris X headers that lack return types.

    The error occurs after building uic. It says something about a symbol that it is being exported but it cannot be found.(PtrCollection. or something like that)

    Anyway, I've tried and I've tried, and no results yet.

    If someone already did it, I would like very much to know how.

    Nita Marcel

    DB:3.05:Compiling Kde-3.4.X On Solaris 10 jp

    Who can tell me what must be done to build KDE-3.4.x and Qt on Solaris10, with gcc.(or with SunStudio10), but I'm more interested how this can be done with gcc.

    I tried compiling qt with (gcc):
    "./configure -no-stl -no-g++-exceptions -platform solaris-g++ -thread -shared -system-zlib -system-libpng -system-libjpeg -qt-libmng -plugin-imgfmt-mng"

    CXXFLAGS="-fpermissive". This is because on developer.kde.org, they say something about functions in the Solaris X headers that lack return types.

    The error occurs after building uic. It says something about a symbol that it is being exported but it cannot be found.(PtrCollection. or something like that)

    Anyway, I've tried and I've tried, and no results yet.

    If someone already did it, I would like very much to know how.

    Nita Marcel

  • RELEVANCY SCORE 3.04

    DB:3.04:Build P1020_P2020rdb_20101101_Ltib.Iso Error In Linux ca



    Recently, I begin to study P2020RDB. When building P1020_P2020RDB_20101101_ltib, I encountered a problem.

    According to the BSP Targeting P1020/P2020 RDB User Manual, I install P1020_P2020RDB_20101101_ Ltib.ISO in Linux System. In the case of default,compiles successfully. And then I use "./ltib-m selectype" to change the CPU type from the default P1020 to P2020 (other settings are not modified), compile error, then I changed the CPU from P2020 to P1020, compilation errors also occur.

    compiling equipment: x86

    operating system: win7

    virtual machine: VMWare7.0

    Linux system: Red Hat Linux 5

    Follow is compile error message:

    You don't have a working TeX binary (tex) installed anywhere in

    your PATH, and texi2dvi cannot proceed without one. If you want to use

    this script, you'll need to install TeX (if you don't have it) or change

    your PATH or TEX environment variable (if you do). See the --help

    output for more details.

    For information about obtaining TeX, please see http://www.tug.org. If

    you happen to be using Debian, you can get it with this command:

    apt-get install tetex-bin

    make[2]: *** [doc/gcc.pdf] Error 1

    make[2]: Leaving directory `/usr/src/freescale/ltib-p1020rdb_p2020rdb-20101029/rpm/BUILD/gcc-4.3.2/build-gcc/gcc'

    make[1]: *** [install-gcc] Error 2

    make[1]: Leaving directory `/usr/src/freescale/ltib-p1020rdb_p2020rdb-20101029/rpm/BUILD/gcc-4.3.2/build-gcc'

    make: *** [install] Error 2

    error: Bad exit status from /usr/src/freescale/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.72911 (%install)

    RPM build errors:

    Bad exit status from /usr/src/freescale/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.72911 (%install)

    Build time for gcc-4.3-74: 763 seconds

    Failed building gcc-4.3-74

    f_buildrpms() returned an error, exiting

    traceback:

    main:560

    Started: Mon Aug 5 15:32:37 2013

    Ended: Mon Aug 5 16:08:26 2013

    Elapsed: 2149 seconds

    These packages failed to build:

    gcc-4.3-74

    Build Failed

    Exiting on error or interrupt

    DB:3.04:Build P1020_P2020rdb_20101101_Ltib.Iso Error In Linux ca


    Recently, I begin to study P2020RDB. When building P1020_P2020RDB_20101101_ltib, I encountered a problem.

    According to the BSP Targeting P1020/P2020 RDB User Manual, I install P1020_P2020RDB_20101101_ Ltib.ISO in Linux System. In the case of default,compiles successfully. And then I use "./ltib-m selectype" to change the CPU type from the default P1020 to P2020 (other settings are not modified), compile error, then I changed the CPU from P2020 to P1020, compilation errors also occur.

    compiling equipment: x86

    operating system: win7

    virtual machine: VMWare7.0

    Linux system: Red Hat Linux 5

    Follow is compile error message:

    You don't have a working TeX binary (tex) installed anywhere in

    your PATH, and texi2dvi cannot proceed without one. If you want to use

    this script, you'll need to install TeX (if you don't have it) or change

    your PATH or TEX environment variable (if you do). See the --help

    output for more details.

    For information about obtaining TeX, please see http://www.tug.org. If

    you happen to be using Debian, you can get it with this command:

    apt-get install tetex-bin

    make[2]: *** [doc/gcc.pdf] Error 1

    make[2]: Leaving directory `/usr/src/freescale/ltib-p1020rdb_p2020rdb-20101029/rpm/BUILD/gcc-4.3.2/build-gcc/gcc'

    make[1]: *** [install-gcc] Error 2

    make[1]: Leaving directory `/usr/src/freescale/ltib-p1020rdb_p2020rdb-20101029/rpm/BUILD/gcc-4.3.2/build-gcc'

    make: *** [install] Error 2

    error: Bad exit status from /usr/src/freescale/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.72911 (%install)

    RPM build errors:

    Bad exit status from /usr/src/freescale/ltib-p1020rdb_p2020rdb-20101029/tmp/rpm-tmp.72911 (%install)

    Build time for gcc-4.3-74: 763 seconds

    Failed building gcc-4.3-74

    f_buildrpms() returned an error, exiting

    traceback:

    main:560

    Started: Mon Aug 5 15:32:37 2013

    Ended: Mon Aug 5 16:08:26 2013

    Elapsed: 2149 seconds

    These packages failed to build:

    gcc-4.3-74

    Build Failed

    Exiting on error or interrupt

  • RELEVANCY SCORE 3.04

    DB:3.04:Manually Compiling The Actionscript Produced From Gcc xx


    I am compiling a swc with gcc under cygwin, with ALCHACKS_TMPS on.
    Say I made some changes to the resulting .as file, how do I go about continuing the compilation from this point, with the altered .as file, to produce the .swc? Sorry if that's an obvious question, but I don't have much experience with the actionscript tool chain.

    DB:3.04:Manually Compiling The Actionscript Produced From Gcc xx


    Hello uj2,

    yes, you can link another abc/swf/swc to your Alchemy SWF. But you'd have to modify the tool chain either by patching gcc, or creating your own custom script inspired by gcc.log.

    Maybe it helps to look at the Alchemy tool chain as a script with the following steps:

    1. Compile C/C++ source using llvm-gcc to LLVM bit code (*.bc)

    2. Compile LLVM bit code using llc with Alchemy backend to ActionScript source code (*.as)

    3. Compile and link ActionScript code using asc.jar to SWF/SWC

    Once you reach #3 you can do pretty much everything you would do with "regular" ActionScript projects with the following restrictions:

    - you need to use asc.jar from the Alchemy project.

    - all features and APIs your SWF uses need to be provided either by your own implementations, or imported SWCs .

    Best regards,

    - Bernd

  • RELEVANCY SCORE 3.01

    DB:3.01:Gcc Using Wrong Isysroot? ac


    Hi,

    After upgrading to the newest xcode I'm having problems compiling various open source projects with gcc. In essence I'm always getting a variant of:

    /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory

    But why is gcc using the 10.4u sdk, and not the newest version? And can I change this somehow? Searching around haven't really given me any clues.

    Alexander

    DB:3.01:Gcc Using Wrong Isysroot? ac

    Okay, I seem to have found a workaround. So I'll post it for anyone else stumbling upon this problem.

    Use gcc 4.0 when compiling.

    I.e:
    CC=/usr/bin/gcc-4.0 python setup.py build

  • RELEVANCY SCORE 3.01

    DB:3.01:Gcc-Gcj Error: Scriptlet Failed To Execute Correctly ps



    When trying to install gcc-gcj (on which eclipse depends) I get the following error.
    (1/1) upgrading gcc-gcj [#####################] 100%
    error: scriptlet failed to execute correctly

    DB:3.01:Gcc-Gcj Error: Scriptlet Failed To Execute Correctly ps


    That is the failure of the post_install scriptlet of the package. Looking at it (use ABS), it is trying to add /usr/share/info/cp-tools to the index instead of /usr/share/info/cp-tools.info. Please file a bug.

  • RELEVANCY SCORE 2.99

    DB:2.99:Gcc 3.3.3 Compile Error zm


    I patched OCCI package for gcc3.2.3. I am using gcc 3.3.3 but it has problem compiling oracle::occi::Statement. Anyone has suggestion on how to get OCCI work on gcc3.2.3 above? Thanks.

    Error mesg:
    t1.cxx:48: error: cannot declare variable `fStmt' to be of type `
    t1.cxx:48: error: since type `oracle::occi::Statement' has abstract virtual functionsoracle::occi::Statement'

    Yan Liu

  • RELEVANCY SCORE 2.98

    DB:2.98:Problem Simulating In Ise 14.7 - Possible Gcc Incompatibility 1c



    I am using the ISE Project Navigator version 14.7 and trying to simulate a simple test bench for a counter. When I run "Simulate Behavioral Model" I get the output shown at the bottom of this post. It results in a link error, but I suspect that the issue lies higher up ("undefined reference to `__chkstk_ms'" and "Dwarf Error: found dwarf version '4', this reader only handles version 2 information"). I have gcc on my PC (Windows 7 Home Premium - 32 bit OS) for other applications, but the version number for that (4.8.1) is different to the version used by ISE (3.4.2) - see below.

    c:\gcc --versiongcc (GCC) 4.8.1Copyright (C) 2013 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    c:\Xilinx\14.7\ISE_DS\ISE\gnu\MinGW\5.0.0\nt\bingcc --versiongcc (GCC) 3.4.2 (mingw-special)Copyright (C) 2004 Free Software Foundation, Inc.This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

    So I am thinking that something on my PC is generating code for the newer version of gcc that is not working with the gcc used by ISE.

    So my question, is there a simple way to upgrade the gcc tool set used by ISE to overcome this incompatibility, or am I missing something and the error lies elsewhere?

    Many thanks in advance for any suggestions.

    Andy

    ************* trimmed output from the simulation request *****************

    Compiling isim/counter_tb_vhd_isim_beh.exe.sim/work/counter_tb_vhd_isim_beh.exe_main.c to isim/counter_tb_vhd_isim_beh.exe.sim/work/counter_tb_vhd_isim_beh.exe_main.nt.obj with command:"C:/Xilinx/14.7/ISE_DS/ISE/gnu/MinGW/5.0.0/nt/bin/gcc.exe" -Wa,-W -O -c -o "isim/counter_tb_vhd_isim_beh.exe.sim/work/counter_tb_vhd_isim_beh.exe_main.nt.obj" -I"C:/Xilinx/14.7/ISE_DS/ISE/data/include" "isim/counter_tb_vhd_isim_beh.exe.sim/work/counter_tb_vhd_isim_beh.exe_main.c"Linking with command:"C:/Xilinx/14.7/ISE_DS/ISE/gnu/MinGW/5.0.0/nt/bin/gcc.exe" -Wa,-W -O -Wl,--large-address-aware,--stack,157286400 -o "isim/counter_tb_vhd_isim_beh.exe.sim/counter_tb_vhd_isim_beh.exe" "isim/counter_tb_vhd_isim_beh.exe.sim/work/counter_tb_vhd_isim_beh.exe_main.nt.obj" "isim/precompiled.exe.sim/ieee/p_2592010699.nt.obj" "isim/precompiled.exe.sim/ieee/p_3499444699.nt.obj" "isim/precompiled.exe.sim/ieee/p_3620187407.nt.obj" "isim/precompiled.exe.sim/ieee/p_1242562249.nt.obj" "isim/counter_tb_vhd_isim_beh.exe.sim/unisim/p_0947159679.nt.obj" "isim/counter_tb_vhd_isim_beh.exe.sim/work/a_4000226436_3212880686.nt.obj" "isim/counter_tb_vhd_isim_beh.exe.sim/work/a_0704213371_2372691052.nt.obj" "C:/Xilinx/14.7/ISE_DS/ISE/lib/nt/libhsimengine.dll"C:\Xilinx\14.7\ISE_DS\ISE\gnu\MinGW\5.0.0\nt\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: Dwarf Error: found dwarf version '4', this reader only handles version 2 information./mingw/lib/gcc/mingw32/../../../mingw32/lib/crt2.o:crt1.c:(.text+0x1f1): undefined reference to `__chkstk_ms'C:\Xilinx\14.7\ISE_DS\ISE\gnu\MinGW\5.0.0\nt\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: Dwarf Error: found dwarf version '4', this reader only handles version 2 information./mingw/lib/gcc/mingw32/../../../mingw32/lib/libmingwex.a(glob.o):glob.c:(.text+0x5e3): undefined reference to `__chkstk_ms'/mingw/lib/gcc/mingw32/../../../mingw32/lib/libmingwex.a(glob.o):glob.c:(.text+0x690): undefined reference to `__chkstk_ms'/mingw/lib/gcc/mingw32/../../../mingw32/lib/libmingwex.a(glob.o):glob.c:(.text+0x7e9): undefined reference to `__chkstk_ms'/mingw/lib/gcc/mingw32/../../../mingw32/lib/libmingwex.a(glob.o):glob.c:(.text+0x82d): undefined reference to `__chkstk_ms'/mingw/lib/gcc/mingw32/../../../mingw32/lib/libmingwex.a(glob.o):glob.c:(.text+0xc0d): more undefined references to `__chkstk_ms' followcollect2: ld returned 1 exit statusERROR:Simulator:861 - Failed to link the design







    Solved!
    Go to Solution.

    DB:2.98:Problem Simulating In Ise 14.7 - Possible Gcc Incompatibility 1c


    @andyionscopePlease close this thread by marking your answer as an Accepted Solution so that it can be referred in future.




    Regards,Debraj----------------------------------------------------------------------------------------------Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.Give Kudos to a post which you think is helpful and reply oriented.----------------------------------------------------------------------------------------------

  • RELEVANCY SCORE 2.97

    DB:2.97:Problems While Compiling Gcc 3.2.3 On Solaris 8 ca


    Hi,

    I'm trying to recompile gcc 3.2.3 on solaris 8,
    I ran "configure" than "make bootstrap"
    I got the following errors:

    "
    true .libs/libstdc++.a
    rm -fr .libs/libstdc++.lax .libs/libstdc++.lax
    creating libstdc++.la
    (cd .libs rm -f libstdc++.la ln -s ../libstdc++.la libstdc++.la)
    gmake[7]: Leaving directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src'
    Making all in po
    gmake[7]: Entering directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/po'
    gmake[7]: Nothing to be done for `all'.
    gmake[7]: Leaving directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/po'
    Making all in testsuite
    gmake[7]: Entering directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/testsuite'
    `echo /fw_home/gcc-sol-3.2.3/gcc-3.2.3/gcc/xgcc -shared-libgcc -B/fw_home/gcc-sol-3.2.3/gcc-3.2.3/gcc/ -nostdinc++ -L/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src -L/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs -B/packages/gnu-3.2.3.solaris28/sparc-sun-solaris2.8/bin/ -B/packages/gnu-3.2.3.solaris28/sparc-sun-solaris2.8/lib/ -isystem /packages/gnu-3.2.3.solaris28/sparc-sun-solaris2.8/include -m64 | sed 's/xgcc/g++/g'` -DHAVE_CONFIG_H -I. -I. -I.. -nostdinc++ -I/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include/sparc-sun-solaris2.8 -I/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include -I../libsupc++ -g -O2 -m64 -c abi_check.cc
    LD_RUN_PATH= abi_check.o -lm
    /bin/sh: abi_check.o: not found
    gmake[7]: *** [abi_check] Error 1
    gmake[7]: Leaving directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/testsuite'
    gmake[6]: *** [all-recursive] Error 1
    gmake[6]: Leaving directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3'
    gmake[5]: *** [all-recursive-am] Error 2
    gmake[5]: Leaving directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3'
    gmake[4]: *** [multi-do] Error 1
    gmake[4]: Leaving directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/libstdc++-v3'
    gmake[3]: *** [all-multi] Error 2
    gmake[3]: Leaving directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/libstdc++-v3'
    gmake[2]: *** [all-recursive-am] Error 2
    gmake[2]: Leaving directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3/sparc-sun-solaris2.8/libstdc++-v3'
    gmake[1]: *** [all-target-libstdc++-v3] Error 2
    gmake[1]: Leaving directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3'
    gmake: *** [bootstrap] Error 2
    gmake: Leaving directory `/fw_home/gcc-sol-3.2.3/gcc-3.2.3'
    2267.41u 289.77s 51:35.63 82.6%
    "

    Does anyone know the cause of the this?

    Lior./

    DB:2.97:Problems While Compiling Gcc 3.2.3 On Solaris 8 ca

    First, it seems the problem is not in Sun Studio C :)
    Second, given the output shown above its some sort of misconfiguration. LD variable seems to be empty and $LD abi_check.o -lm fails.
    I cant really tell you why it happens though...
    Check makefiles generated by configure.

  • RELEVANCY SCORE 2.94

    DB:2.94:Compiling "Unzip" Triggers Bug ca


    When compiling "unzip" from NetBSD's pkgsrc under Solaris 10, the following bug is triggered:

    gcc -c -I/usr/local/pkgsrc/pkgsrc-2008Q3/include -O -I. -DUNIX -Dunix -DUSE_UNSHRINK -I/usr/local/pkgsrc/pkgsrc-2008Q3/include -DSFX inflate_.c
    Assertion failed: use != NULL, file ../src/var_df.c, line 2959
    gcc: Internal error: Abort (program iropt)

    This bug is not triggered when compiling with -O2 (or -O3, which is used, when compiling "unzip" outside of pkgsrc).

    DB:2.94:Compiling "Unzip" Triggers Bug ca

    Thank you for reporting. We will try to reproduce it in house and resolve the issue.

    Prashanth

  • RELEVANCY SCORE 2.94

    DB:2.94:Gcc Installation Problem 18


    1)i have down loaded the gcc 3.4.2 pckg n extracted it on my box using the command
    pkgadd -d "path of the gcc pkg"
    2)then i set the path variable to the /usr/local/bin to point to the gcc bin file
    3) at command prompt i typed
    #gcc
    i m getting the error--/usr/local/bin/gcc cannot execute binary file

    please suggest

    DB:2.94:Gcc Installation Problem 18

    1)i have down loaded the gcc 3.4.2 pckg n extracted it on my box using the command
    pkgadd -d "path of the gcc pkg"
    2)then i set the path variable to the /usr/local/bin to point to the gcc bin file
    3) at command prompt i typed
    #gcc
    i m getting the error--/usr/local/bin/gcc cannot execute binary file

    please suggest

  • RELEVANCY SCORE 2.92

    DB:2.92:Help Compiling Valgrind z1



    Hello,

    Can anyone help as to the error being provided by LTIB on i.MX6:

    checking for gdb... /usr/bin/gdb

    checking for a supported version of gcc... ok (arm-none-linux-gnueabi-gcc (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) 4.6.2 20110630 (prerelease))

    checking build system type... i686-pc-linux-gnu

    checking host system type... arm-unknown-linux

    checking for a supported CPU... no (arm)

    configure: error: Unsupported host architecture. Sorry

    error: Bad exit status from /home/tim/imx/ltib/ltib/tmp/rpm-tmp.10702 (%build)

    Thanks

    Tim

    DB:2.92:Help Compiling Valgrind z1


    Hi Timothy,

    I would be great to have version and spec file.

    Many thanks,

    i.

  • RELEVANCY SCORE 2.92

    DB:2.92:Cw 10.1 Unable To Enable Gcc Extensions xj



    Hi,

    When i try to enable GCC extensions in the compiler, I get the following error when compiling:

    C:/Program Files/Freescale/CW MCU v10.1/MCU/ARM_Tools/Command_Line_Tools/mwccarm|Usage|Error

    Unknown option 'gcc'

    Does anyone know how solve this? Or is it a known issue?

    regards.

    DB:2.92:Cw 10.1 Unable To Enable Gcc Extensions xj


    Hi Focon,

    This is a known issue.

    To enable gcc extensions type "-gccext on" into ARM Compiler - Language - "Other Flags" edit box. (see attached screenshot)

    Stanish

  • RELEVANCY SCORE 2.92

    DB:2.92:Cilk View Got Error With Program Compiled By Gcc 4.9.0 s3



    Hi,

    Recently, I have been compiling my Cilk plus program with GCC 4.9.0. Then I ran Cilk view to measure its parallelism and got this error:

    Cilkview: Generating scalability data

    Cilkview Scalability Analyzer V2.0.0, Build 3229

    C:Tool (or Pin) caused signal 11 at PC 0x7f9124cd1dd3

     

    Interestingly, when I compiled the program with GCC 4.8.2 and ran it with Cilk view again, it ran fine. So does it only happen with GCC 4.9.0? My guess is that GCC 4.9.0 isn't stable enough or not compatible with Cilk view at this time.

    Thanks, 

    DB:2.92:Cilk View Got Error With Program Compiled By Gcc 4.9.0 s3


    Hi,

    Recently, I have been compiling my Cilk plus program with GCC 4.9.0. Then I ran Cilk view to measure its parallelism and got this error:

    Cilkview: Generating scalability data

    Cilkview Scalability Analyzer V2.0.0, Build 3229

    C:Tool (or Pin) caused signal 11 at PC 0x7f9124cd1dd3

     

    Interestingly, when I compiled the program with GCC 4.8.2 and ran it with Cilk view again, it ran fine. So does it only happen with GCC 4.9.0? My guess is that GCC 4.9.0 isn't stable enough or not compatible with Cilk view at this time.

    Thanks, 

  • RELEVANCY SCORE 2.92

    DB:2.92:Compiling Error When Including "Time.H", Mqx4.1, Gcc 3m



    Hi Folks,

    I created a MQX project based on TWR-K60D100 GCC, and included "time.h" in. but there were some compiling errors . could you give me some hints about that. below is the screenshot.

    DB:2.92:Compiling Error When Including "Time.H", Mqx4.1, Gcc 3m


    Hi Weiping,

    I have some example code attached in zip to show how to setup the MQX time manually or to use an automated process that gets the time from a NTP (network time protocol) server or if that fails then to use the MQX RTOS compiled time/date to at least get a course time/date setting.

    I had created a shell command "sh_oneshot.c" that goes in the following path:

    C:\Freescale\Freescale_MQX_4_X\shell\source\rtcs

    Hope this help you or others.

    Regards,

    David

  • RELEVANCY SCORE 2.91

    DB:2.91:Kernel Modules Don't Build Under Ubuntu 9.04 fa



    Hello,

    I have trouble building the Vmware Server kernel modules on a 64bit Ubuntu 9.04 system. Below is the output of vmware-config.pl. Apparently there is a version conflict of compilers. However, the script determines the current version to be empty: "you wanted to use gcc version while kernel attempts to use gcc version 4.3.3". Furthermore, there is only one gcc on my system, and that is gcc-4.3.3. A symbolic link from gcc to gcc-4.3.3 exists. After detecting this discrepancy, the script aborts.

    Interestingly, compiling the modules on another 64bit machine running the same Linux version works, and I can copy the modules over and load them using insmod without error. I have tried to comment out these lines in the relevant Makefile:

    ifneq ($(VM_CCVER), $(VMCCVER))

    $(warning *** Inappropriate build environment: you wanted to use gcc \

    version $(VM_CCVER) while kernel attempts to use gcc version $(VMCCVER).)

    $(error For proper build you'll have to replace $(CC) with symbolic \

    link to $(VM_CC))

    endif

    so that the gcc versions are not checked, but that did not work. Since the script does insist on building the kernel modules, I can't use the modules from my other machine and proceed with the configuration.

    Any hints on why this happens are much appreciated.

    Regards,

    Enno

    Output of vmware-config.pl:

    None of the pre-built vmmon modules for VMware Server is suitable for your

    running kernel. Do you want this program to try to build the vmmon module for

    your system (you need to have a C compiler installed on your system)?

    Using compiler "/usr/bin/gcc". Use environment variable CC to override.

    What is the location of the directory of C header files that match your running

    kernel? /lib/modules/2.6.28-15-generic/build/include

    Extracting the sources of the vmmon module.

    Building the vmmon module.

    Using 2.6.x kernel build system.

    make: Entering directory `/tmp/vmware-config11/vmmon-only'

    Makefile:106: *** Inappropriate build environment: you wanted to use gcc version while kernel attempts to use gcc version 4.3.3.

    Makefile:108: *** For proper build you'll have to replace /usr/bin/gcc with symbolic link to . Stop.

    make: Leaving directory `/tmp/vmware-config11/vmmon-only'

    Unable to build the vmmon module.

    For more information on how to troubleshoot module-related problems, please

    visit our Web site at "http://www.vmware.com/go/unsup-linux-products" and

    "http://www.vmware.com/go/unsup-linux-tools".

    Execution aborted.

    DB:2.91:Kernel Modules Don't Build Under Ubuntu 9.04 fa

    After an upgrade to Ubuntu 9.10 and using VMware Server 2.0.2 (was 2.0.1 before) there is no change and the modules won't compile.

    Any ideas?

    Enno

  • RELEVANCY SCORE 2.91

    DB:2.91:Cross-Assembling With Nasm as


    I need to assemble a couple of bits of assembly to run in an intel x86 virtual machine(I'm running w\ ppc), I know I can give the -arch flag to gcc to get it cross-compiling. However there is no such thing for the nasm assembler afaik.

    DB:2.91:Cross-Assembling With Nasm as

    I need to assemble a couple of bits of assembly to run in an intel x86 virtual machine(I'm running w\ ppc), I know I can give the -arch flag to gcc to get it cross-compiling. However there is no such thing for the nasm assembler afaik.

  • RELEVANCY SCORE 2.90

    DB:2.90:Compiling Firefox With Icc? sx



    Has anyone done it? Im really interested on how it preforms against gcc. I will do it eventually when school work is not procrastinated on

    DB:2.90:Compiling Firefox With Icc? sx


    i would like to see some benchmarks first .

  • RELEVANCY SCORE 2.90

    DB:2.90:Simultaneously Compiling For G3 And G4 7z


    Setting CFLAGS to "-arch ppc -arch ppc64 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk"

    allows me to generate a multi-architecture binary containing ppc G3, ppc G5 and i386 code (ppc/ppc64/i386) using GCC.

    How do I generate a multi-architecture binary containing ppc G3 and ppc G4 code in a single compilation (i.e. a multi-architecture binary containing ppc and ppc7450 architectures), i.e. without compiling in several passes and using lipo?

    It seems that multiple -mcpu / -mtune / -march flags are not supported.

    Thank you.

    DB:2.90:Simultaneously Compiling For G3 And G4 7z

    To be honest I can't think of many real examples at the moment. I thought performance differences were greater and I'm mounting the same shared /usr/local on both a G3 iBook and a G4 iBook so wanted both binaries compiled.

    The only real-life example I do, however, have is that anything that links statically with GMP will want to come in separate G3 and G4 versions (that's assuming I can work out how to get GMP to compile a ppc7450-optimized version without tagging it as a generic ppc object file).

  • RELEVANCY SCORE 2.87

    DB:2.87:Error While Compiling Amber 8 On Sun Blade 2500 pz


    Hello everybody,
    While Compiling Amber 8 on sun solaris. It's giving me error ld:fatal error not able to write in some dir name
    Kindly help me to compilation step, and how to compile amber 8 with gcc.

    Regards
    Jagdish

    DB:2.87:Error While Compiling Amber 8 On Sun Blade 2500 pz

    Hello everybody,
    While Compiling Amber 8 on sun solaris. It's giving me error ld:fatal error not able to write in some dir name
    Kindly help me to compilation step, and how to compile amber 8 with gcc.

    Regards
    Jagdish

  • RELEVANCY SCORE 2.86

    DB:2.86:How To Compile Application Using Ttclasses ? 7x


    Hi!

    First I executed the shell script ttenv.sh. Then I have done all complilation of classes using make and make install command.

    GCC is giving link error. I m using following command for compiling:
    gcc -I/home..../include/ -L/home/..../lib/ -DGCC xyz.cpp

    Regards
    /Ahmad

    DB:2.86:How To Compile Application Using Ttclasses ? 7x

    Hi Ahmad,

    Did you look at the example makefiles used to compile the TTClasses demo programs? Just use the same compile commands as you find there.

    Chris

  • RELEVANCY SCORE 2.86

    DB:2.86:Internal Compiler Error 3p



    I have been trying to compile the cilkplus branch of the gcc 4.7 compiler on a 32 bit machine running ubuntu 10.10 compiling with
    gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)

    It goes a long way into the comple until it reaches the libcilkrts compile in stage 3 at which point it gives the following error:

    ../.././libcilkrts/runtime/metacall_impl.c: In function __cilkrts_metacall:
    ../.././libcilkrts/runtime/metacall_impl.c:45:23: internal compiler error: in expand_builtin_cilk_metadata, at cilk.c:1071

    Any idea what I am doing wrong?

    Thanks

  • RELEVANCY SCORE 2.86

    DB:2.86:Compiling Issues - Cause By Older Gcc Version? xd



    I introduced something similar to this:

    templatetypename _Key using my_set = unordered_set_Key;

    in my program. It compiles fine on my computer (gcc 4.7.2) but on the Cluster I get the error:

    error: expected unqualified-id before ‘using’

    I believe I read somewhere the hard- and software specifications of the cluster, but I can't find them. So, is there a bug in my code or is the gcc on the cluseter 4.7?

    DB:2.86:Compiling Issues - Cause By Older Gcc Version? xd


    Thank you!

    Yeah, it's doable without the template typedefs, just not as elegant ;)

  • RELEVANCY SCORE 2.85

    DB:2.85:How To Build Jdk1.5 With Fedora Core 3 On Amd64? 8a


    All,

    Currently, I am going to do some research work related to the JDK1.5 so I have to rebuild it on the top of Fedora Core 3 on AMD64. But it failed with some "invalid section error messages in assembly language". I wonder that if there is any pepole who have successfully built it before? If yes, could you give me some instructions about the whole building process? Do you still need the GCC 3.2.2? How do you build the GCC 3.2.2? And are you working with the source code from SUN JAVA SCSL, also? In fact, I encountered some "invalied section error" when compiling the .cpp files into .o files.

    BTW: I have successfully built the JDK1.5 with FC3 on Inter 32 Bit, with GCC 3.2.2

    Thanks,
    Neo

    DB:2.85:How To Build Jdk1.5 With Fedora Core 3 On Amd64? 8a

    A little more detail, please. Excerpt from build log?

  • RELEVANCY SCORE 2.85

    DB:2.85:Omp Declare Simd Support On Phi 8s



      Hi 

         I am trying to compile some code using the offload model but the compiler is failing with 

            internal error: bad pointer  

         when compiling host a function with pragma omp declare simd decoration.   This does not occur when I remove all pragma offloads (i.e. compiling for the host only)

         Is OMP 4 supported on the phi? and are there any work arounds?

     Setup:    

        Red Hat Enterprise Linux Server release 6.4 (Santiago)

        icc version 15.0.0 Beta (gcc version 4.4.7 compatibility)

         MPSS 3.2.3  

        Thanks

     Jamil

    DB:2.85:Omp Declare Simd Support On Phi 8s


    This defect is fixed in the Intel® C++ Composer XE 2013 SP1 Update 4 Release (Version 14.0.4.211 Build 20140805 - Linux) now available from our Intel Registration Center.

  • RELEVANCY SCORE 2.85

    DB:2.85:Trying To Cross Compile For Powerpc On An Intel Mac... cx


    I am wondering if there is an elegant solution for cross-compiling for PowerPC from an Intel Mac platform. This is a strange request, but I want to build with GCC 3.x.x in C for classic MacOS and PPC GNU OS'es for an old PowerMac, which is soooo slow that I can't stand to compile on it, so i would like to use my Intel Mac to do it. I have tried to set up a PowerPC emulator to run some kind of OS that would let me do it, but the options (Qemu, PearPC and SheepShaver) are horribly unstable or won't run MacOS at all. The best solution so far is the OSX Intel + Qemu PPC emulator + Linux PPC + GCC 3.x.x = slightly faster than my old PPC machine.

    So is there any ability in Xcode to access Rosetta for cross compiling or some other sort of thing? Or perhaps something under X11?

    DB:2.85:Trying To Cross Compile For Powerpc On An Intel Mac... cx

    I'm not sure Apple will ever support ext2fs, to be frank that's the first time I ever heard about it. Apple has its own file system (HFS+) which works just fine, it can read/write on FAT32, it supports ZFS too I think and read on NTFS, for now I think it's enough for them, they might support it in a long time but I doubt it...

  • RELEVANCY SCORE 2.84

    DB:2.84:Creating A Software Library Using Edk Shell? 8d



    Hi,

    I am developing an application to run on the PPC405 in the XC4FX12. I have the main application built and working using the Platform Studio SDK, and it builds and runs fine.

    I want to use the libYAML library available from here:

    http://pyyaml.org/wiki/LibYAML

    Using the bash shell and cygwin, I can build a library that I can link in to win32 console applications built using gcc and cygwin, which I have used to build up a test app .exe file.

    I want to build a ppc library that I can link in to the app I'm building on the SDK.

    The library builds using the usual ./configure, make, make install.

    When I run ./configure from the EDK Shell, it uses the gcc in i686-pc-cygwin

    I tried to set it to use the cross compiler with the following commends:

    export ARCH=ppc export CROSS_COMPILE=ppc-4xx export CC=powerpc-eabi-gcc

    and I get:

    $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... powerpc-eabi-gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details.

    Looking in config.log it APPEARS the problem is:

    configure:2804: checking for C compiler default output file name configure:2831: powerpc-eabi-gcc conftest.c 5 /cygdrive/c/Xilinx/10.1/EDK/gnu/powerpc-eabi/nt/bin/../lib/gcc/powerpc-eabi/4.1.1/../../../../powerpc-eabi/bin/ld: cannot find boot.o collect2: ld returned 1 exit status

    I get the same error if I write a hello world app and try to compile it using

    powerpc-eabi-gcc main.c

    I tried just building an SDK project and compiling the source files for the library directly, but the configure script sets a whole bunch of defines that I don't think I can guarantee setting up the eclipse project the way the configure file is set up.

    So how do you set up the EDK Shell to cross compile libraries managed using ./configure?

    Thanks

    Glenn

    DB:2.84:Creating A Software Library Using Edk Shell? 8d


    And solved the linking. Need to specify libyaml, not libyaml.a, or just yaml as stated in AR #31256

    Thank you for your help!

    Glenn

  • RELEVANCY SCORE 2.84

    DB:2.84:Occi Compiling Problem 9k


    I am trying to complie a simple OCCI program with the latest Oracle 10g client(with full installation) and gcc 3.2.2-5 (Oracle says OCCI works with gcc 3.2) on a Red Hat 9 box, I got the following error message:
    undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*(void*,unsigned), void* (*)(void*, void*, unsigned),void(*)(void*, void*))'
    undefined reference to`oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment*)'

    Does anyone know how to solve it? This program works fine with VC++ 6.0 and it is OK to complie OCI program on the same Linux box.

    Thanks in advance!

    DB:2.84:Occi Compiling Problem 9k

    Never mind. I got it worked.

    The final commmand I used like this (myprogram is the executable file on linux):
    g++ -o myprogram -L $ORACLE_HOME/lib -L $ORACLE_HOME/rdbms/lib -locci -lclntsh myprogram.cpp

    I got the previous problem by missing "-locci". Right now I get a warning, /u01/app/oracle/product/10.1.0/client_1/lib/libclntsh.so: warning: remap_file_pages is not implemented and will always fail, although it does not affect my programm. Anyone know what does it mean?

  • RELEVANCY SCORE 2.84

    DB:2.84:Cannot Compile Gcc Through Abs zf



    I seem to have problems compiling gcc through abs. It chugs away for a while, compiling, and after a while when reaching a second configuration part (?), it fails. This is the last piece of the output:
    creating cache ../config.cache
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking build system type... i686-pc-linux-gnu
    checking for Cygwin environment... no
    checking for mingw32 environment... no
    checking for gawk... gawk
    checking whether ln -s works... yes
    checking for gcc... /var/abs/base/gcc/src/gcc-3.3.6/gcc/xgcc -B/var/abs/base/gcc/src/gcc-3.3.6/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
    checking whether we are using GNU C... yes
    checking whether /var/abs/base/gcc/src/gcc-3.3.6/gcc/xgcc -B/var/abs/base/gcc/src/gcc-3.3.6/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include accepts -g... yes
    checking for c++... /var/abs/base/gcc/src/gcc-3.3.6/gcc/xgcc -shared-libgcc -B/var/abs/base/gcc/src/gcc-3.3.6/gcc/ -nostdinc++ -L/var/abs/base/gcc/src/gcc-3.3.6/i686-pc-linux-gnu/libstdc++-v3/src -L/var/abs/base/gcc/src/gcc-3.3.6/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
    checking whether we are using GNU C++... yes
    checking whether /var/abs/base/gcc/src/gcc-3.3.6/gcc/xgcc -shared-libgcc -B/var/abs/base/gcc/src/gcc-3.3.6/gcc/ -nostdinc++ -L/var/abs/base/gcc/src/gcc-3.3.6/i686-pc-linux-gnu/libstdc++-v3/src -L/var/abs/base/gcc/src/gcc-3.3.6/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include accepts -g... yes
    checking for GCC version number... 3.3.6
    checking for strerror in -lcposix... no
    checking for as... as
    checking for ar... ar
    checking for ranlib... ranlib
    checking for a BSD compatible install... /bin/install -c
    checking whether to enable maintainer-specific portions of Makefiles... no
    CPU config directory is cpu/i486
    OS config directory is os/gnu-linux
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... yes
    checking for working aclocal... found
    checking for working autoconf... found
    checking for working automake... found
    checking for working autoheader... found
    checking for working makeinfo... missing
    checking for ld used by GCC... ld
    checking if the linker (ld) is GNU ld... yes
    checking for ld option to reload object files... -r
    checking for BSD-compatible nm... nm
    checking how to recognise dependant libraries... pass_all
    checking for object suffix... configure: error: installation or configuration problem; compiler does not work
    make: *** [configure-target-libstdc++-v3] Error 1
    == ERROR: Build Failed. Aborting...

    DB:2.84:Cannot Compile Gcc Through Abs zf


    I seem to have problems compiling gcc through abs. It chugs away for a while, compiling, and after a while when reaching a second configuration part (?), it fails. This is the last piece of the output:
    creating cache ../config.cache
    checking host system type... i686-pc-linux-gnu
    checking target system type... i686-pc-linux-gnu
    checking build system type... i686-pc-linux-gnu
    checking for Cygwin environment... no
    checking for mingw32 environment... no
    checking for gawk... gawk
    checking whether ln -s works... yes
    checking for gcc... /var/abs/base/gcc/src/gcc-3.3.6/gcc/xgcc -B/var/abs/base/gcc/src/gcc-3.3.6/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
    checking whether we are using GNU C... yes
    checking whether /var/abs/base/gcc/src/gcc-3.3.6/gcc/xgcc -B/var/abs/base/gcc/src/gcc-3.3.6/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include accepts -g... yes
    checking for c++... /var/abs/base/gcc/src/gcc-3.3.6/gcc/xgcc -shared-libgcc -B/var/abs/base/gcc/src/gcc-3.3.6/gcc/ -nostdinc++ -L/var/abs/base/gcc/src/gcc-3.3.6/i686-pc-linux-gnu/libstdc++-v3/src -L/var/abs/base/gcc/src/gcc-3.3.6/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
    checking whether we are using GNU C++... yes
    checking whether /var/abs/base/gcc/src/gcc-3.3.6/gcc/xgcc -shared-libgcc -B/var/abs/base/gcc/src/gcc-3.3.6/gcc/ -nostdinc++ -L/var/abs/base/gcc/src/gcc-3.3.6/i686-pc-linux-gnu/libstdc++-v3/src -L/var/abs/base/gcc/src/gcc-3.3.6/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include accepts -g... yes
    checking for GCC version number... 3.3.6
    checking for strerror in -lcposix... no
    checking for as... as
    checking for ar... ar
    checking for ranlib... ranlib
    checking for a BSD compatible install... /bin/install -c
    checking whether to enable maintainer-specific portions of Makefiles... no
    CPU config directory is cpu/i486
    OS config directory is os/gnu-linux
    checking whether build environment is sane... yes
    checking whether make sets ${MAKE}... yes
    checking for working aclocal... found
    checking for working autoconf... found
    checking for working automake... found
    checking for working autoheader... found
    checking for working makeinfo... missing
    checking for ld used by GCC... ld
    checking if the linker (ld) is GNU ld... yes
    checking for ld option to reload object files... -r
    checking for BSD-compatible nm... nm
    checking how to recognise dependant libraries... pass_all
    checking for object suffix... configure: error: installation or configuration problem; compiler does not work
    make: *** [configure-target-libstdc++-v3] Error 1
    == ERROR: Build Failed. Aborting...

  • RELEVANCY SCORE 2.84

    DB:2.84:[Solved] Cant Install Gcc-Ecj! 7s



    Sorry if Im posting this in the wrong session, it seemed the most appropriated to me.

    I need to install pdftk, and gcc-gcj is one of its dependencies. I tried to install pdftk through yaourt, but it failed after almost 30 minutes of compiling, so I decided to go neanderthal and install it almost by brute force, checking the aur web page for pdftk and downloading and installing the dependencies tarballs.

    First, when I try to install gcc-ecj through AUR, I got a simple error message:
    [eduardo@Tardis ~]$ cd aur-mirror/gcc-gcj
    [eduardo@Tardis gcc-gcj]$ ls
    PKGBUILD
    [eduardo@Tardis gcc-gcj]$ makepkg -si
    == ERROR: install file (gcc-gcj.install) does not exist.

    DB:2.84:[Solved] Cant Install Gcc-Ecj! 7s


    Oh, it was just the space! It compiled on my computer, and after that I finally managed to install pdftk.

    I didnt ever imagined a space could make so much mess!

  • RELEVANCY SCORE 2.84

    DB:2.84:[Solved] Compiling Xorg Using Gcc 4.5 z7



    HelloI/m using GCC 4.5 snapshot from AUR and I want to compile Xorg but have error when I compile him )Xorg): checking for gcc... noi search in configure file for GCC line but no effect.I removed old gcc from my sytem.I only have libs (gcc-libs)What should i do to compile xorg on gcc 4.5.

    Last edited by SpeedVin (2009-06-28 18:06:13)

    DB:2.84:[Solved] Compiling Xorg Using Gcc 4.5 z7


    Ok i solved my problem Just like Allan said gcc-snapshot is not to repalce gcc becouse he dont have all needed libs.

  • RELEVANCY SCORE 2.84

    DB:2.84:Solaris 8 - Gcc - What Are The Flags: -Dsun -Dsparc -Dsvr4 -Dsysv For ? zd


    Hi,

    we are using gcc (2.95, 3.46 and 4.2.3) on Solaris 8 platform developing multithreaded applications.

    do we need the flags: -Dsun -Dsparc -DSVR4 -DSYSV while compiling ???

    My question is, what are these flags and are these flags obsolete or only relevant to other compiler than gcc ?

    So to bring it to the point, do i need these flags or not ??

    Greetings,
    Marco

    DB:2.84:Solaris 8 - Gcc - What Are The Flags: -Dsun -Dsparc -Dsvr4 -Dsysv For ? zd

    These are defines that used during processing of include files. Yes, you do need them.

  • RELEVANCY SCORE 2.83

    DB:2.83:Vs2010 C++ Compiler Fails To Compile With Error C2146 - Gcc 4.3.4 Compiles This Test Ok pf


    VS2010 fails to compile the following, gcc 4.3.4 compiles Ok. Please FIX!!
    Note: gcc also executes without blowing up on the correct result test.
    Platform: Windows 7 x64, compiling for 32 bit exe.

    //////////////////////////////////////////////////////////////////
    class End {};
    class Stuff {public: enum { value = 1234 };};

    templateclass _Item,class _Tail
    class TypeList
    {
    public:
    typedef _Item TItem;
    typedef _Tail TTail;
    };

    templateclass _Set
    struct YYY
    {
    templateclass _Item
    struct F
    {
    typedef Stuff Result;
    };
    };

    template templateclass _Kind class _F
    struct XXX
    {
    templateclass _Kind
    struct F
    {
    typedef typename _F_Kind::Result Result;
    };
    };

    int main(int argc, char* argv[])
    {
    typedef TypeListStuff,End TMySet;

    typedef XXXYYYTMySet::F::FStuff::Result TX;

    if (TX::value != 1234)
    *(char*)0 = 1;

    return 0;
    }
    //////////////////////////////////////////////////////////////////

  • RELEVANCY SCORE 2.83

    DB:2.83:Sparc Solaris 10 Gcc-4.2.1 Internal Compiler Error When Compiling Boost jm


    Hi,

    When trying to compile the boost (http://www.boost.org) libraries version 1.38 with the sunw gcc-4.2.1 for sparc toolchain on sparc solaris 10 I got an internal compiler error.
    It does not only occure in the wave ibrary, but also in graph, spirit (which are seemingly depended on wave)

    common.mkdir bin.v2/libs/wave
    common.mkdir bin.v2/libs/wave/build
    common.mkdir bin.v2/libs/wave/build/gcc-4.2.1
    common.mkdir bin.v2/libs/wave/build/gcc-4.2.1/release
    common.mkdir bin.v2/libs/wave/build/gcc-4.2.1/release/threading-multi
    gcc.compile.c++ bin.v2/libs/wave/build/gcc-4.2.1/release/threading-multi/instantiate_cpp_exprgrammar.o
    ./boost/detail/sp_counted_base_sync.hpp: In function 'typename DerivedT::definitionScannerT boost::spirit::classic::impl::get_definition(const boost::spirit::classic::grammarDerivedT, ContextT*) [with DerivedT = boost::wave::grammars::expression_grammar, ContextT = boost::spirit::classic::closure_contextboost::wave::grammars::closures::cpp_expr_closure, ScannerT = boost::spirit::classic::scannerstd::_List_const_iteratorboost::wave::cpplexer::lex_tokenboost::wave::util::file_positionboost::wave::util::flex_stringchar, std::char_traitschar, std::allocatorchar, boost::wave::util::CowStringboost::wave::util::AllocatorStringStoragechar, std::allocatorchar , char* , boost::spirit::classic::scanner_policiesboost::spirit::classic::skip_parser_iteration_policyboost::spirit::classic::alternativeboost::spirit::classic::alternativeboost::spirit::classic::chlitboost::wave::token_id, boost::spirit::classic::chlitboost::wave::token_id , boost::spirit::classic::chlitboost::wave::token_id , boost::spirit::classic::iteration_policy, boost::spirit::classic::match_policy, boost::spirit::classic::action_policy ]':
    ./boost/detail/sp_counted_base_sync.hpp:66: internal compiler error: in rewrite_stmt, at tree-into-ssa.c:1380
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See URL:http://forum.java.sun.com/forum.jspa?forumID=905 for instructions.

    regards

    DB:2.83:Sparc Solaris 10 Gcc-4.2.1 Internal Compiler Error When Compiling Boost jm

    FYI and for others who want thread-safe boost code: I managed to compile and run boost without the problems mentioned above by enabling posix threads instead of the atomic operations offered by GCC. One can enable this by placing a #define BOOST_SP_USE_PTHREADS in boost/config/user.hpp

  • RELEVANCY SCORE 2.83

    DB:2.83:Error In Invoking Target 'Client_Sharedlib' Of Makefile... 7c


    Hi,

    This is the error I get while installing Oracle AS 10.1.3.1 on RHEL 4.8, can anybody help?
    Error in invoking target 'client_sharedlib' of makefile '/home/oracle/product/10.1.3.1/OracleAS_1/network/lib/ins_net_client.mk' tail -15 /home/oracle/product/10.1.3.1/OracleAS_1/install/make.log
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    make: *** [client_sharedlib] Error 1
    /usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/home/oracle/product/10.1.3.1/OracleAS_1//home/oracle/product/10.1.3.1/OracleAS_1/bin/genclntsh
    grep: /home/oracle/product/10.1.3.1/OracleAS_1/xdk/admin/shrept.lst: No such file or directory
    /usr/bin/ld: cannot find -lxl
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    make: *** [client_sharedlib] Error 1
    /usr/bin/make -f ins_net_client.mk client_sharedlib ORACLE_HOME=/home/oracle/product/10.1.3.1/OracleAS_1//home/oracle/product/10.1.3.1/OracleAS_1/bin/genclntsh
    grep: /home/oracle/product/10.1.3.1/OracleAS_1/xdk/admin/shrept.lst: No such file or directory
    /usr/bin/ld: cannot find -lxl
    collect2: ld returned 1 exit status
    genclntsh: Failed to link libclntsh.so.10.1
    make: *** [client_sharedlib] Error 1rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|egrep 'compat|glibc|libstc|gcc'|sort
    compat-dapl-2.0.15-1.el4.ppc
    compat-dapl-2.0.15-1.el4.ppc64
    compat-db-4.1.25-9.ppc
    compat-db-4.1.25-9.ppc64
    compat-gcc-32-3.2.3-47.3.ppc
    compat-gcc-32-c++-3.2.3-47.3.ppc
    compat-glibc-2.3.2-95.30.ppc
    compat-glibc-2.3.2-95.30.ppc64
    compat-glibc-headers-2.3.2-95.30.ppc
    compat-libcom_err-1.0-5.ppc
    compat-libcom_err-1.0-5.ppc64
    compat-libgcc-296-2.96-132.7.2.ppc
    compat-libstdc++-296-2.96-132.7.2.ppc
    compat-libstdc++-33-3.2.3-47.3.ppc
    compat-libstdc++-33-3.2.3-47.3.ppc64
    compat-openldap-2.1.30-12.el4.ppc64
    gcc-3.4.6-11.ppc
    gcc-c++-3.4.6-11.ppc
    gcc-c++-ppc32-3.4.6-11.ppc
    gcc-g77-3.4.6-11.ppc
    gcc-java-3.4.6-11.ppc
    gcc-ppc32-3.4.6-11.ppc
    glibc-2.3.4-2.43.ppc
    glibc-2.3.4-2.43.ppc64
    glibc-common-2.3.4-2.43.ppc
    glibc-devel-2.3.4-2.43.ppc
    glibc-devel-2.3.4-2.43.ppc64
    glibc-headers-2.3.4-2.43.ppc
    glibc-kernheaders-2.4-9.1.103.EL.ppc
    java-1.4.2-gcj-compat-1.4.2.0-27jpp.noarch
    libgcc-3.4.6-11.ppc
    libgcc-3.4.6-11.ppc64

    DB:2.83:Error In Invoking Target 'Client_Sharedlib' Of Makefile... 7c

    Interesting, first I don't think there is a 64bit version of the software. Assuming this is correct would you consider using a 32bit OS?

    If yes, my notes are as follows:

    Operating System

    The minimum supported kernel versions are:

    kernel-2.6.9-11.EL
    kernel-smp-2.6.9-11.EL
    kernel-hugemem-2.6.9-11.EL

    Software packages (check that these versions or higher versions are installed)

    glibc-2.3.4-2.9
    glibc-common-2.3.4-2.9
    binutils-2.15.92.0.2-13
    compat-libstdc++-296-2.96-132.7.2
    gcc-3.4.3-22.1
    gcc-c++-3.4.3-22.1
    libstdc++-3.4.3-22.1
    libstdc++-devel-3.4.3-22.1
    openmotif21-2.1.30-11.RHEL4.4
    pdksh-5.2.14-30
    setarch-1.6-1
    make-3.80-5
    gnome-libs-1.4.1.2.90-44.1
    sysstat-5.0.5-1
    compat-db-4.1.25-9
    control-center-2.8.0-12
    xscreensaver-4.18-5.rhel4.2

    I selected the following package sets for the base install using update 7 disks

    - X Window System
    - Gnome Desktop Environment
    - Graphical Internet
    - Server Configuration Tools
    - Development Tools
    - Legacy Software Development
    - Administrative Tools
    - Printing Support

    sysstatFound on Disk 4

    compat-libstdc++- Found on Disk 2

    Installed using:

    rpm -Uvh sysstat-5.0.5-19.el4.i386.rpm
    rpm -Uvh compat-libstdc++-33-3.2.3-47.3.i386.rpm

    Kernel Parameter Settings

    Edit the /etc/sysctl.conf file and add or edit lines similar to the following:

    kernel.shmall = 2097152
    kernel.shmmax = 4294967295
    kernel.shmmni = 4096
    # semaphores: semmsl, semmns, semopm, semmni
    kernel.sem = 256 32000 100 142
    fs.file-max = 206173
    net.ipv4.ip_local_port_range = 10000 65000
    kernel.msgmni = 2878
    kernel.msgmax = 8192
    kernel.msgmnb = 65535
    net.ipv4.tcp_window_scaling = 0
    net.ipv4.tcp_moderate_rcvbuf = 0
    net.ipv4.tcp_keepalive_time = 600
    net.ipv4.tcp_keepalive_intvl = 60
    net.ipv4.tcp_keepalive_probes = 20
    net.ipv4.tcp_retries1 = 25

    Add the following lines to /etc/security/limits.conf file:
    * soft nproc 2047
    * hard nproc 16384
    * soft nofile 2048
    * hard nofile 65536

    Each line follows this format:

    *TabTabsoftTabnofileTabTab16384

    Depending on the oracle user's default shell, make the following changes to the default shell start-up file:

    For the Bourne, Bash, or Korn shell, add the following lines to the
    /etc/profile file:

    if [ $USER = "oracle" ]; then
    if [ $SHELL = "/bin/ksh" ]; then
    ulimit -p 16384
    ulimit -n 65536
    else
    ulimit -u 16384 -n 65536
    fi
    fi

    Ports

    By default, the installer configures Oracle HTTP Server to use port 7777, not port 80. Port 7777 is the default port because on UNIX, components that use port numbers ower than 1024 require additional steps to be done as the root user before the components can run. Because the installer does not have root access, it has to use a port greater than 1024.

    Checking If a Port Is in Use

    To check if a port is being used, you can run the netstat command as follows:

    prompt netstat -an | grep portnum

    Operating System Groups

    To create a local operating system group:

    Enter the following command to create the oinstall group:

    # /usr/sbin/groupadd oinstall
    groupadd dba
    groupadd oper

    Operating System User

    To create the oracle user, enter a command similar to the following:

    # /usr/sbin/ useradd -g oinstall -G dba,oper oracle

    Set the password of the oracle user:

    # passwd oracle

  • RELEVANCY SCORE 2.83

    DB:2.83:Compiling A Universal Binary With Gcc 9d


    How would I go about building a universal binary just using gcc from the terminal? Also, how can I make it so the resulting binary can be used on other computers than my own?

    DB:2.83:Compiling A Universal Binary With Gcc 9d

    You have to add the following parameters to your compile and/or link step:

    -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -mmacosx-version-min=10.4

    This will build for 10.4 or later on Intel. If you are really sure that your code can compile with all the same settings regardless of architecture, you could add "-arch ppc" to build a universal binary. A safer alternative would be to do:

    -isysroot /Developer/SDKs/MacOSX10.3.9.sdk -arch ppc -mmacosx-version-min=10.3

    to give you a 10.3-compatible Universal Binary.

    Finally, lipo the executables together with:

    lipo -create myapp.ppc myapp.i386 -output myapp

    assuming, of course, that you have instructed your build scripts to append the architecture onto the end of the executable name, as in this example.

    To make sure your app can run on any machine, you could just link with static libraries. That might be difficult because most packages build dynamic libraries by default. What you can do is include your dynamic libraries with your application. MacOS X executables are actually folders with lots of files inside. Some of those files can be dynamic libraries. After you build your app, create a "Run Script" build phase to use the "installnametool" to tell the executable that its dynamic libraries are located inside its bundle. I have a more detailed write up if you want to try it.

  • RELEVANCY SCORE 2.83

    DB:2.83:Sdk/Edk 14.3 Cannot Compile Bsp Package ds


    After successful went thought the design flow on XPS 14.3, I export the design to SDK 14.3. I created a BSP project for standalone_bsp_0. But it compiled with errors. Would anyone point me to how to fix the errors. I am working on ML510 board and PPC440. The Xilinx application version is 14.3.

    make -k all
    libgen -hw ../ml510_dual_vxworks_ppc440_14_hw_platform/system​.xml\
    \
    -pe ppc440_0 \
    -log libgen.log \
    system.mss
    libgen
    Xilinx EDK 14.3 Build EDK_P.40xd
    Copyright (c) 1995-2012 Xilinx, Inc. All rights reserved.

    Command Line: libgen -hw ../ml510_dual_vxworks_ppc440_14_hw_platform/system​.xml
    -pe ppc440_0 -log libgen.log system.mss

    Staging source files.
    Running DRCs.
    Running generate.
    XPS_BRAM_IF_CNTLR_1 not connected

    DDR2_SDRAM_DIMM1 not connected

    Running post_generate.
    Running include - 'make -s include "COMPILER=powerpc-eabi-gcc"
    "ARCHIVER=powerpc-eabi-ar" "COMPILER_FLAGS=-mfpu=dp_full -mcpu=440 -O2 -c"
    "EXTRA_COMPILER_FLAGS=-g"'.

    Running libs - 'make -s libs "COMPILER=powerpc-eabi-gcc"
    "ARCHIVER=powerpc-eabi-ar" "COMPILER_FLAGS=-mfpu=dp_full -mcpu=440 -O2 -c"
    "EXTRA_COMPILER_FLAGS=-g"'.
    "Compiling common"
    powerpc-eabi-ar: creating ../../../lib/libxil.a
    "Compiling llfifo"
    "Compiling lldma"
    "Compiling dma"
    "Compiling standalone"
    "Compiling lltemac"
    "Compiling llfifo"
    "Compiling iic"
    "Compiling gpio"
    "Compiling pci"
    "Compiling uartns550"
    "Compiling spi"
    "Compiling sysace"
    "Compiling bram"
    "Compiling intc"
    "Compiling tft"
    xtft.c: In function 'XTft_GetPixel':
    xtft.c:368: error: expected ')' before ';' token
    xtft.c:370: error: expected ';' before '}' token
    make[1]: *** [libs] Error 1
    "Compiling cpu_ppc440"
    ERROR:EDK:369 - make failed for target "libs"
    ERROR:EDK:3418 - Error(s) while running make.
    make: *** [ppc440_0/lib/libxil.a] Error 2
    make: Target `all' not remade because of errors.

    DB:2.83:Sdk/Edk 14.3 Cannot Compile Bsp Package ds


    I looked at the code. It is missing the ')". Xilinx did not test before shipped the product.

    Thanks,

  • RELEVANCY SCORE 2.83

    DB:2.83:Jni Error While Compiling "-Fkill-At" 8j


    I am using a makefile named makefile on windows. I have the following commands in there:
    MYJDKLOCATION = c:\Program Files\Java\jdk1.6.0_20
    JDK = "$(MYJDKLOCATION)" #c:\Program Files\Java\jkd1.6.0_20

    #
    # Other variables.
    #
    CFLAGS = $(CFLAGS) -shared $(CFILE) -I"$(MYJDKLOCATION)\include" -I"$(MYJDKLOCATION)\include\win32" -Wl, --kill-at -o
    CPPFLAGS = $(CPPFLAGS) -shared $(CFILE) -I$(MYJDKLOCATION)\include -I$(MYJDKLOCATION)\include\win32
    .SUFFIXES: .java .class

    #
    # Targets
    #

    buildapp:
    "$(MYJDKLOCATION)\bin\javac" $(JAVAFILE)
    "$(MYJDKLOCATION)\bin\javah" -jni -classpath . $(MAIN_CLASS)
    gcc $(CFLAGS) $(DLL)
    "$(MYJDKLOCATION)\bin\java.exe" -classpath . $(MAIN_CLASS)When I try and make the error I get is:
    gcc -shared HelloWorld.c -I"c:\Program Files\Java\jdk1.6.0_20\include" -I"c:\Program Files\Java\jdk1.6.0_20\include\win32" -Wl
    , --kill-at -o HelloWorld.dll
    cc1.exe: error: unrecognized command line option "-fkill-at"
    NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
    Stop.

    Any ideas anyone? When I type the gcc command on the command line it works fiine.

    DB:2.83:Jni Error While Compiling "-Fkill-At" 8j

    The error was the space between -Wl, kill-at. I removed the space and left -Wl,kill-at and it works.Thx for the help jschell.

  • RELEVANCY SCORE 2.83

    DB:2.83:Is The Occi For Gcc (Solaris) Available? dz


    Would like to know if anyone success on compiling the occi program using gcc compiler? Also let me know the version of gcc compiler if anyone success on this?

    DB:2.83:Is The Occi For Gcc (Solaris) Available? dz

    Hi

    Your question will go unanswered for years to come...

    You should probably read this before you start
    C++ on Solaris with OCCI

    And then skip occi and jump on OTL
    http://otl.sourceforge.net/home.htm

    /Lars

  • RELEVANCY SCORE 2.83

    DB:2.83:Compile Bug For Clamav 0.92 With Latest Xcode aj


    I've been happily updating clamav at each new release using pterobyte's custom configure command. I received the notice that 0.92 is available and tried to compile as before. Now I get this error when I run configure:

    checking for gcc bug PR28045... configure: error: your compiler has gcc PR28045 bug, use a different compiler, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28045

    I get the error even if I try compiling under Xcode 3 on a Leopard box.

    Please help. Thanks.

    DB:2.83:Compile Bug For Clamav 0.92 With Latest Xcode aj

    Glad you got it sorted and thanks for the feedback. Interesting (sad) that launchctl would "wildcard" the command without a wildcard character (*).

  • RELEVANCY SCORE 2.82

    DB:2.82:Tuxedo Client Error Compiling On Ubuntu Server 11.10 1m


    When compiling a Tuxedo client source code (using the command
    buildclient or cc-gcc) shows me the following error

    This error occurs compiling on ubuntu server 11.10 (oneiric ocelot)

    tuxfyc@fycservora:/usr/lib/oracle/tuxedo11gR1/samples/atmi/simpapp$ cc -I$TUXDIR/include -o simpcl -L${TUXDIR}/lib -m32 simpcl.c -ltux -lbuft -lfml -lfml32 -lengine -lpthread -ldl
    /usr/lib/oracle/tuxedo11gR1/lib/libengine.so: undefined reference to `dlopen'
    /usr/lib/oracle/tuxedo11gR1/lib/libengine.so: undefined reference to `dlclose'
    /usr/lib/oracle/tuxedo11gR1/lib/libengine.so: undefined reference to `dlerror'
    /usr/lib/oracle/tuxedo11gR1/lib/libengine.so: undefined reference to `dlsym'
    collect2: ld devolvi el estado de salida 1

    This error occurs compiling on ubuntu server 11.10 (Oneiric Ocelot)

    I appreciate all the help you can give me. Since Oracle Tuxedo 11g environment I'm setting up Ubuntu Server 11.10

    Luis Mayora
    Caracas - Venezuela

  • RELEVANCY SCORE 2.82

    DB:2.82:"Gcc" Vs Device Driver c1


    Is "gcc" suitable for compiling a Solaris device driver?

    Thanks.

    DB:2.82:"Gcc" Vs Device Driver c1

    It is possible to compile device drivers with gcc.
    Use the flags "-O -D_KERNEL -fno-builtin" as a starting point.

    There may be some rough edges with varargs (/usr/include/sys/varargs.h) and on the sparc-v9 64bit platform, though.

  • RELEVANCY SCORE 2.81

    DB:2.81:Gcc &Amp; Ar 38


    Hello,

    I have downloaded a source file and am attempting to compile it. I am using the 2.95 GCC compiler and a make file.
    The compiling starts out ok but during the process it attempts to make an Archive Library Builder (AR is the program being called) but fails.
    The error message says that ar is not found by the shell.
    I then type ar at the shell prompt and I get the same type of message.
    I then searched the drive for a program called ar and did not find it.
    How can I get a copy?
    Shouldn't it have come with the gcc compiler is it a part of solaris/intel? Maybe on the companion cd which I have not loaded?

    Any help would be appreciated!

    Chris Hax

    DB:2.81:Gcc &Amp; Ar 38

    You would have found gcc on the companion cd, yes.

    "ar" is part of the solaris OS. It can be found in
    /usr/ccs/bin (there we also find "as", "ls", "make", etc..)
    So, make sure that /usr/ccs/bin is in you $PATH!

    Of cause you must have the relevant solaris 8 package
    install, SUNWbtool in this case:

    % pkgchk -l -p /usr/ccs/bin/ar
    Pathname: /usr/ccs/bin/ar
    Type: regular file
    Expected mode: 0555
    Expected owner: root
    Expected group: bin
    Expected file size (bytes): 25116
    Expected sum(1) of contents: 23379
    Expected last modification: Nov 03 07:31:41 2000
    Referenced by the following packages:
    SUNWbtool
    Current status: installed

  • RELEVANCY SCORE 2.80

    DB:2.80:Problems Using Glade Or Autogen k8



    Hi everybody, I have a little problem running autogen.sh script after generating source code using Glade (i have current version 2.12.1-2) and current autogen version, I am running it under Xfce and I have fully installed Gnome and GTK2. But autogen has generate the configure script with this errors:
    **Warning**: I am going to run `configure with no arguments.
    If you wish to pass any to it, please specify them on the
    `./autogen.sh command line.

    processing .
    Creating ./aclocal.m4 ...
    Running glib-gettextize... Ignore non-fatal messages.
    Copying file mkinstalldirs
    Copying file po/Makefile.in.in

    Please add the files
    codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
    progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.

    Making ./aclocal.m4 writable ...
    Running aclocal -I /opt/gnome/share/aclocal ...
    Running autoheader...
    Running automake --gnu ...
    configure.in: installing `./install-sh
    configure.in: installing `./missing
    src/Makefile.am: installing `./depcomp
    Makefile.am: installing `./INSTALL
    Makefile.am: installing `./COPYING
    Running autoconf ...
    Running ./configure --enable-maintainer-mode ...
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking for style of include used by make... GNU
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ANSI C... none needed
    checking dependency style of gcc... gcc3
    checking for library containing strerror... none required
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ANSI C... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ANSI C... (cached) none needed
    checking dependency style of gcc... (cached) gcc3
    checking how to run the C preprocessor... gcc -E
    checking for egrep... grep -E
    checking for ANSI C header files... yes
    ./configure: line 5092: syntax error near unexpected token `PACKAGE,
    ./configure: line 5092: `PKG_CHECK_MODULES(PACKAGE, $pkg_modules)

    DB:2.80:Problems Using Glade Or Autogen k8


    Thanx so much!!! I have a new hard drive a new installation, i was missing it! Thank You!

  • RELEVANCY SCORE 2.80

    DB:2.80:When Cross Compiling The Opengl Samples From Gpu_Sdk Package,Gcc: Error Trying To Exec 'Cc1': Execvp: Not A Directory . 3k



    I have exported my cross_compile and rootfs directory paths but still error persists. Any Suggestions

    DB:2.80:When Cross Compiling The Opengl Samples From Gpu_Sdk Package,Gcc: Error Trying To Exec 'Cc1': Execvp: Not A Directory . 3k


    I have exported my cross_compile and rootfs directory paths but still error persists. Any Suggestions

  • RELEVANCY SCORE 2.80

    DB:2.80:Linux Driver Compiling Problem ps


    I try to compile the Linux GPIB drive (nigpib-linux-0.8.5) on the SuSE Linux distribution (Kernel 2.4.21, gcc 3.3.1). It doesn't compile. I get the error ib_linux.c:419:6: missing binary operator before token "("What can I do?

    DB:2.80:Linux Driver Compiling Problem ps

    The problem may be some backports from 2.5/2.6 kernel to the SuSE kernel 2.4.21. ...Rolf

  • RELEVANCY SCORE 2.79

    DB:2.79:Problem Compiling Gcchave sx


    Hi All,

    I did get source code of gcc-2.3.2 from ftp://ftp.gnu.org/gnu and I'm trying to install it on my solaris 5.8 system.
    The configure step succeeded but not the "make" , I have the following error:

    ld: fatal: Symbol referencing errors. No output written to abi_check
    collect2: ld returned 1 exit status
    make[6]: *** [abi_check] Error 1
    make[6]: Leaving directory `/sw/freeware/TAR/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/testsuite'
    make[5]: *** [all-recursive] Error 1
    make[5]: Leaving directory `/sw/freeware/TAR/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3'
    make[4]: *** [all-recursive-am] Error 2
    make[4]: Leaving directory `/sw/freeware/TAR/gcc-3.2.3/sparc-sun-solaris2.8/sparcv9/libstdc++-v3'
    make[3]: *** [multi-do] Error 1
    make[3]: Leaving directory `/sw/freeware/TAR/gcc-3.2.3/sparc-sun-solaris2.8/libstdc++-v3'
    make[2]: *** [all-multi] Error 2
    make[2]: Leaving directory `/sw/freeware/TAR/gcc-3.2.3/sparc-sun-solaris2.8/libstdc++-v3'
    make[1]: *** [all-recursive-am] Error 2
    make[1]: Leaving directory `/sw/freeware/TAR/gcc-3.2.3/sparc-sun-solaris2.8/libstdc++-v3'
    make: *** [all-target-libstdc++-v3] Error 2

    Could you please help me solve this issue ?

    Thanks to all.

    DB:2.79:Problem Compiling Gcchave sx

    Hi Sean,

    Thank you for your answere.
    I retrived the precompiled package you mentioned, but I don't want to install it in the default path, I need to specify another prefix. Should I use pkgadd -R new_path or anything else?

    Thanks,
    Sondes.

  • RELEVANCY SCORE 2.79

    DB:2.79:Error:Edk:369 - Make Failed For Target "Libs" d9



    Running libs - 'make -s libs "COMPILER=arm-xilinx-eabi-gcc""ARCHIVER=arm-xilinx-eabi-ar" "COMPILER_FLAGS= -O2 -c""EXTRA_COMPILER_FLAGS=-g"'."Compiling common"arm-xilinx-eabi-ar: creating ../../../lib/libxil.a"Compiling xadc""Compiling standalone""Compiling axidma"xaxidma_bdring.c: In function 'XAxiDma_BdRingToHw':xaxidma_bdring.c:1068:2: error: 'DATA_SYNC' undeclared (first use in this function)xaxidma_bdring.c:1068:2: note: each undeclared identifier is reported only once for each function it appears inmake[1]: *** [libs]"Compiling iic""Compiling axivdma""Compiling devcfg""Compiling dmaps""Compiling emacps""Compiling gpiops""Compiling iicps""Compiling qspips""Compiling scugic""Compiling scutimer""Compiling scuwdt""Compiling ttcps""Compiling uartps""Compiling usbps""Compiling cpu_cortexa9"ERROR:EDK:369 - make failed for target "libs" ERROR:EDK:3418 - Error(s) while running make.make: *** [ps7_cortexa9_0/lib/libxil.a]

    I build a Planhead project using ISE14.3, and export the .bit file to SDK, so comes there two errors.

    The reason of the first error may be the 'DATA_SYNC',it is automatically generated, but I donot know why this error happened.Maybe inxaxidma_bdring.c: In function 'XAxiDma_BdRingToHw', there is something wrong.

    How about the second error?

    I found

    in the directory 'lib' filefolder, i cannot find 'libxil.a'.

    So thank you for your help.

    DB:2.79:Error:Edk:369 - Make Failed For Target "Libs" d9


    Running libs - 'make -s libs "COMPILER=arm-xilinx-eabi-gcc""ARCHIVER=arm-xilinx-eabi-ar" "COMPILER_FLAGS= -O2 -c""EXTRA_COMPILER_FLAGS=-g"'."Compiling common"arm-xilinx-eabi-ar: creating ../../../lib/libxil.a"Compiling xadc""Compiling standalone""Compiling axidma"xaxidma_bdring.c: In function 'XAxiDma_BdRingToHw':xaxidma_bdring.c:1068:2: error: 'DATA_SYNC' undeclared (first use in this function)xaxidma_bdring.c:1068:2: note: each undeclared identifier is reported only once for each function it appears inmake[1]: *** [libs]"Compiling iic""Compiling axivdma""Compiling devcfg""Compiling dmaps""Compiling emacps""Compiling gpiops""Compiling iicps""Compiling qspips""Compiling scugic""Compiling scutimer""Compiling scuwdt""Compiling ttcps""Compiling uartps""Compiling usbps""Compiling cpu_cortexa9"ERROR:EDK:369 - make failed for target "libs" ERROR:EDK:3418 - Error(s) while running make.make: *** [ps7_cortexa9_0/lib/libxil.a]

    I build a Planhead project using ISE14.3, and export the .bit file to SDK, so comes there two errors.

    The reason of the first error may be the 'DATA_SYNC',it is automatically generated, but I donot know why this error happened.Maybe inxaxidma_bdring.c: In function 'XAxiDma_BdRingToHw', there is something wrong.

    How about the second error?

    I found

    in the directory 'lib' filefolder, i cannot find 'libxil.a'.

    So thank you for your help.

  • RELEVANCY SCORE 2.79

    DB:2.79:Dbx Internal Warning About Gccfss ... Why??? sa


    We use gccfss as the default GCC on some of our systems, but now users have reported that they get an annoying message when debugging their code in the Sun Studio IDE:

    dbx internal warning: bad die, missing compiler version number: gccfss

    Since this is a warning, one can (probably?) ignore it - but the pop-up window has the title "Debugger error", and that really confuses the users.

    BTW, compiling with GCC from Blastwave.org or any other GCC on our system doesn't trigger this message - it is GCCFSS only!

    Regards,
    Bernd

    DB:2.79:Dbx Internal Warning About Gccfss ... Why??? sa

    This problem has been identified and resolved. We will try to make the fix available in the next update of gccfss compilers. Sorry for any inconvenience.

  • RELEVANCY SCORE 2.79

    DB:2.79:Gcc Memory Issues 8x


    Hello:

    I'm attempting to use GCC to compile some C code on my Mac Desktop Dual-Core Intel Xeon. It's a desktop running OSX 10.5.3, and has 16 GB of memory, and is running the latest Developer tools. The file I am trying to compile has about 60,000 lines, and is about 3 MB. When I try to compile it, I get memory errors that look like this:

    cc1(1308) malloc: * mmap(size=437919744) failed (error code=12)
    * error: can't allocate region
    * set a breakpoint in mallocerrorbreak to debug

    cc1: out of memory allocating 437917200 bytes after a total of 0 bytes

    I tried doing ulimit -s hard before compiling, but that didn't work either. Obviously, I know that GCC can create 64-bit code, but can GCC actually compile using 64-bits of memory? I'm surprised that I'm running out of memory. Are there any suggestions out there on how to deal with this?

    DB:2.79:Gcc Memory Issues 8x

    Are those three megabytes generated by a program, or are they all hand-written? Either way, that's way too much for gcc to handle in one go. But if you really have 60,000 lines of hand-written code that can't be split apart into reasonably-sized units, you have bigger problems than gcc running out of memory.

  • RELEVANCY SCORE 2.79

    DB:2.79:Calling Msvc .Dll From Native Code Compiled With Mingw 7s


    In my native code, I'm calling a function that resides in a dll compiled using msvc (and I'm compiling my native code using gcc - mingw).

    When I run:
    gcc -c -I$(JDKINC) -I$(JDKINC)\win32 -o mylib.o myimp.c libfrommsvc.libI get a lot of:
    "error: stray '\2' in program"

    I tried running reimp on the libfrommsvc.lib and it produced several .obj files (and tried replacing the .lib on the gcc command line with the .obj files but got the same result).

    Has anyone run into anything like this before (calling a msvc dll from native code compiled with gcc)?

    Thanks for any help.

    DB:2.79:Calling Msvc .Dll From Native Code Compiled With Mingw 7s

    This is resolved. I was linking the msvc library on the object (mylib.o) instead of on the final jni DLL.

    nw1968 wrote:
    In my native code, I'm calling a function that resides in a dll compiled using msvc (and I'm compiling my native code using gcc - mingw).

    When I run:
    gcc -c -I$(JDKINC) -I$(JDKINC)\win32 -o mylib.o myimp.c libfrommsvc.libI get a lot of:
    "error: stray '\2' in program"

    I tried running reimp on the libfrommsvc.lib and it produced several .obj files (and tried replacing the .lib on the gcc command line with the .obj files but got the same result).

    Has anyone run into anything like this before (calling a msvc dll from native code compiled with gcc)?

    Thanks for any help.

  • RELEVANCY SCORE 2.78

    DB:2.78:Problems Compiling Opencv fx



    Im trying to update the opencv package that is in AUR. Im having to check opencv out from cvs because of some compiling problems using gcc 4.3. Ive had a few problems that Ivo been able to overcome but Im stuck right now. Im getting the following error

    g++: /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../crti.o: No such file or directoryg++: /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/crtbeginS.o: No such file or directoryg++: /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/crtendS.o: No such file or directoryg++: /usr/lib/gcc/i686-pc-linux-gnu/4.3.0/../../../crtn.o: No such file or directory

    The problem is Im using gcc 4.3.1. So the files exist just under a different directory from where it is looking. How do I get it to look in the right place. Im familiar with C and C++ but not very familiar with the automake tools.

    DB:2.78:Problems Compiling Opencv fx


    Yeah, my system is up-to-date. Thanks for taking the time to look at this. I will just stick with using the symbolic links for now. I think that there is some issues to work out with opencv and so it is more of an upstream issue than an arch issue. Ill see if I can sort it out there.

  • RELEVANCY SCORE 2.78

    DB:2.78:Compiling Wine (32-Bit) On Arch64 With Multilib ms



    Now I know multilib is not officially supported by Arch, but I need to apply a patch to Wine before compiling it in order to be able to play a game.

    I have installed all the lib32 files (well not all, not catalyst or glibs etc.) but I have all the needed libs.So one would assume that I should be able to compile Wine, no?

    Here is the output when I do a simple ./configure
    22:05:16 [speng@spengpc [wine-1.1.14] 3.2]$ ./configure
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... no
    checking for suffix of executables...
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for g++... g++
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking for cpp... cpp
    checking whether gcc -m32 works... no
    configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

    DB:2.78:Compiling Wine (32-Bit) On Arch64 With Multilib ms


    @raunz - please do not bump old threads

    http://wiki.archlinux.org/index.php/For … Bumping.27

    Start a new thread if you need help.

  • RELEVANCY SCORE 2.78

    DB:2.78:Gcc Compatibility pa



    I wanted to know whether it is possible to have both gcc3 and gcc4 installed on the same computer. It could help compiling some old games...:P

    DB:2.78:Gcc Compatibility pa


    Well, we have a package named libstdc++5 3.3.6-2 , which is the compatibility library of 3.3.6 and gcc3 is in extra. And yes you can have them both.

  • RELEVANCY SCORE 2.78

    DB:2.78:Compiling Tuxedo Sample Application On Sun Using Gcc j9



    We have installed Tuxedo 8.0 on Sun 8.0 and using gcc 3.1 for compilation.

    While compiling Tuxedo sample application, we are receiving an error gcc: language
    arch=v9 not recognized

    Are we supposed to do something more to be able to use gcc for compiling Tuxedo
    sample application.

    DB:2.78:Compiling Tuxedo Sample Application On Sun Using Gcc j9


    try turning off the language specification using -x none option.
    see gcc documentation for this option.
    "Sudhir" sudhirm@delhi.tcs.co.in wrote:

    We have installed Tuxedo 8.0 on Sun 8.0 and using gcc 3.1 for compilation.

    While compiling Tuxedo sample application, we are receiving an error
    gcc: language
    arch=v9 not recognized

    Are we supposed to do something more to be able to use gcc for compiling
    Tuxedo
    sample application.

  • RELEVANCY SCORE 2.77

    DB:2.77:Strange Errors On Compiling In Solaris 10 zk


    I was trying to compile my application on solaris 10 and i got these strange long list of errors. i tried to verify the same by just trying to compile the hello world program and got the same error messages. i am using solaris 10 machine with gcc 3.4.2.
    Also kindly note that its a 64 bit machine....
    i am getting the following error messages:

    # bash-3.00$ gcc hello.c -o hello
    In file included from hello.c:1:
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:36:27: iso/stdio_i
    so.h: No such file or directory
    In file included from hello.c:1:
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:194: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:229: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:230: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:236: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:244: error: parse
    error before "size_t"
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:249: error: parse
    error before "size_t"
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:258: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:260: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:284: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:293: error: parse
    error before '*' token
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:294: error: parse
    error before "FILE"
    /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/include/stdio.h:295: error: parse
    error before '*' token

    Is it becoz of the gcc or something. Please help, as it is very important for me to solve this issue early or else i am dead meat.

    Thanks in advance
    -Sjain

    DB:2.77:Strange Errors On Compiling In Solaris 10 zk

    I prefer to use the native sun binutils.
    I'm not aware of any good reason to use the gnu ones.

  • RELEVANCY SCORE 2.77

    DB:2.77:Compiling A Tuxedo Server With Gcc Under Aix 5.2 k1


    Hello,

    I'm trying to compile a tuxedo server with gcc (instead of cc) but buildserver seems to add the '-brtl' parameter on the command line. This option is not supported by gcc and the compilation fails...
    Do you have any idea ?
    Thanks

    Sbastien

    Message was edited by pouetpouet at Dec 1, 2004 8:49 AM

    DB:2.77:Compiling A Tuxedo Server With Gcc Under Aix 5.2 k1

    When we compile /WS application we get an ERROR. So,We have found an improvement to the script proposed making a little change. Instead of remove "-brtl" we pass it to liker adding prefix value "-Wl,". Finally we get this:

    GCC=gcc
    GCCCMD=`echo $* | sed 's/-brtl /-Wl,-brtl /g'`
    echo "Executing $GCC $GCCCMD"
    exec $GCC $GCCCMD

    This worked fine for us.

  • RELEVANCY SCORE 2.77

    DB:2.77:Error Compiling Sdk.Ubnt.V5.2 px


    While trying to compile firmware I get this error:mips-linux-uclibc-gcc: error while loading shared libraries: /home/whitewind/SDK.UBNT.v5.2/openwrt/staging_dir/toolchain-mips_gcc4.1.2/lib/libpthread.so.0: ELF file data encoding not little-endianIs it bug in SDK, or I did something wrong?

    DB:2.77:Error Compiling Sdk.Ubnt.V5.2 px

    Not sure exactly what that error is, but I have had no troubles building 5.2 firmwares.Have you got all the correct packages installed for the build environment ?



    CCNA, CWNA

  • RELEVANCY SCORE 2.77

    DB:2.77:Problem Compiling Avr-Gcc sf



    I downloaded avr-gcc from Aur (from here.)

    When I m trying to makepkg after some time the fowling error occurs:
    make[3]: Entering directory `/home/firewalker/Desktop/gcc-avr4.1.1/src/gcc-4.1.1/objdir/gcc
    /home/firewalker/Desktop/gcc-avr4.1.1/src/gcc-4.1.1/objdir/./gcc/xgcc
    -B/home/firewalker/Desktop/gcc-avr4.1.1/src/gcc-4.1.1/objdir/./gcc/ -B/opt/avr/avr/bin/ -B/opt/avr/avr/lib/ -isystem
    /opt/avr/avr/include -isystem /opt/avr/avr/sys-include -O2 -O2 -march=i686 -O2 -pipe -DIN_GCC -DCROSS_COMPILE -W
    -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -DDF=SF
    -Dinhibit_libc -mcall-prologues -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc
    -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -DL_eprintf -c ../../gcc/libgcc2.c -o
    libgcc/./_eprintf.o
    cc1: error: unrecognized command line option -march=i686
    make[3]: *** [libgcc/./_eprintf.o] Error 1
    make[3]: Leaving directory `/home/firewalker/Desktop/gcc-avr4.1.1/src/gcc-4.1.1/objdir/gcc
    make[2]: *** [stmp-multilib] Error 2
    make[2]: Leaving directory `/home/firewalker/Desktop/gcc-avr4.1.1/src/gcc-4.1.1/objdir/gcc
    make[1]: *** [all-gcc] Error 2
    make[1]: Leaving directory `/home/firewalker/Desktop/gcc-avr4.1.1/src/gcc-4.1.1/objdir
    make: *** [all] Error 2

    DB:2.77:Problem Compiling Avr-Gcc sf


    Join #robotics and #avr on freenode to discuss all things avr

  • RELEVANCY SCORE 2.77

    DB:2.77:Install On Redhat As4? 81



    I'm trying to install the free vmware server on a RedHat AS 4[/b] distribution (kernel 2.6.9-22.ELsmp) with gcc 3.44 but I just can't make it!

    I have an error while compiling vmnet module :

    Unable to make a vmnet module that can be loaded in the running kernel:

    insmod: error inserting '/tmp/vmware-config0/vmnet.o': -1 File exists[/i]

    I thought that RH AS4 was supported... Am I wrong?

    Thanks

    DB:2.77:Install On Redhat As4? 81


    'ps axf' would probably reveal which of processes still uses /dev/vmnet*...

  • RELEVANCY SCORE 2.77

    DB:2.77:Omp Declare Simd Support On Phi pm



      Hi 

         I am trying to compile some code using the offload model but the compiler is failing with 

            internal error: bad pointer  

         when compiling host a function with pragma omp declare simd decoration.   This does not occur when I remove all pragma offloads (i.e. compiling for the host only)

         Is OMP 4 supported on the phi? and are there any work arounds?

     Setup:    

        Red Hat Enterprise Linux Server release 6.4 (Santiago)

        icc version 15.0.0 Beta (gcc version 4.4.7 compatibility)

         MPSS 3.2.3  

        Thanks

     Jamil

    DB:2.77:Omp Declare Simd Support On Phi pm


    Accidental duplicate of subsequent post here. Refer to the newer post for replies.

  • RELEVANCY SCORE 2.77

    DB:2.77:Ifort Error -Cxxlib-Gcc 7k


    I have installed ifc 11.0 version 083 on a linux workstation running rhel 5.3 I64 bits.
    The installation seems to be ok. But when I try to compile a program, an error occured:
    ifort hello.f -o hello.o
    ifort: error #10149: option '-cxxlib-gcc' not supported with the current installed GCC
    Can you help me please.
    gcc --version
    gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)

    g++ --version
    g++ (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52)

    Thanks and regards.

    DB:2.77:Ifort Error -Cxxlib-Gcc 7k

    Quoting - Dny

    icc MatMul2D.cpp
    icc: error #10149: option '-cxxlib-gcc' not supported with the current installed GCC

    g++ --version
    g++ (GCC) 4.2.4

    As you have a problem with icpc, not with ifort, you might consider asking on the C++ forum, giving your icpc version, and a working example. g++ 4.2 might not work with icpc prior to 11.0. Some problems remain with major changes in STL for gcc 4.2.

  • RELEVANCY SCORE 2.77

    DB:2.77:Error: Uninitialised Values 3d



    Compiling the following code

    #include

    int main()
    {
    char x[2];
    std::strcpy(x,"x");
    std::strlen(x);

    return 0;
    }
    with the intel compiler (11.1 20091130) gives the following error when ran through valgrind:

    [shell]==11904== Conditional jump or move depends on uninitialised value(s)
    ==11904== at 0x400B19: __intel_new_proc_init.H (in /tmp/a.out)
    ==11904== by 0x400978: main (in /tmp/a.out)
    ==11904==
    ==11904== Conditional jump or move depends on uninitialised value(s)
    ==11904== at 0x400B3E: __intel_new_proc_init.H (in /tmp/a.out)
    ==11904== by 0x400978: main (in /tmp/a.out)

    [/shell]
    Compiling with gcc (4.4.1) produces no errors.

    DB:2.77:Error: Uninitialised Values 3d


    When you compile with debugging enabled and with run-time checks enabled what happens?
    (enable check uninitialized variables, check array and string bounds, check for null pointers, actual arguments using temporary)

    Since this is a mixed language (Fortran/c) you may have interface problems. In particular wrong sized pointers and/or argument calling convention errors.

    If the above yields nothing then revert to inserting trace diagnostics into your program
    HINT use the Fortran PreProcessor and define a macro to expand/no-expand trace with file and line numbering. Write and flush trace to log file for post mortem of crash.
    Also, in trace routine, declare a local scalar, e.g. integer(8) and store into the scalar the LOC of that variable. include into the trace log the value in the variable (this will indirectly report the stack usage). Something will show up, it usually does.

    Jim Dempsey

  • RELEVANCY SCORE 2.76

    DB:2.76:Tip On How To Build Kinetis Sdk In Linux jx



    Hi,

    The new Kinetis SDK 1.0 Beta supports building and debugging on Linux systems. I just got it to build on mine. Just required a very simple modification to a single file to tell it where my gcc compiler is located.

    I am using Ubuntu 12.04 LTS with arm gcc 4.7.4 installed to /usr/arm-none-eabi/

    In the KSDK folder /mk/, edit the file common.mk file.

    ensure this section is un-commented, and change the path to the appropriate path where arm-none-eabi is installed on your machine. For me it is /usr/

    GCC_TOOLCHAIN_DIR := /usr

    CC_VERSION := 4.7.4

    now cd into the directory of the app you want to build

    mac@mac-VirtualBox:$ cd ../apps/hello_world/gcc/frdmk64f120m/

    and type make

    mac@mac-VirtualBox:$ make Compiling apps/hello_world/src/hello_world.c Compiling boards/frdmk64f120m/gpio_pins.c Compiling boards/frdmk64f120m/hardware_init.c Compiling boards/frdmk64f120m/pin_mux.c Assembling platform/startup/MK64F12/gcc/startup_MK64F12.S Compiling platform/startup/MK64F12/system_MK64F12.c Compiling platform/startup/startup.c Linking hello_world Output ELF: ./output/Flash_Release/hello_world.elf Output binary: ./output/Flash_Release/hello_world.bin

    See info on setting up gcc gdb toolchain

    gcc compiling + gdb debugging on Kinetis on a Linux host - Kinetis L Examples available

    DB:2.76:Tip On How To Build Kinetis Sdk In Linux jx


    Hi,

    The new Kinetis SDK 1.0 Beta supports building and debugging on Linux systems. I just got it to build on mine. Just required a very simple modification to a single file to tell it where my gcc compiler is located.

    I am using Ubuntu 12.04 LTS with arm gcc 4.7.4 installed to /usr/arm-none-eabi/

    In the KSDK folder /mk/, edit the file common.mk file.

    ensure this section is un-commented, and change the path to the appropriate path where arm-none-eabi is installed on your machine. For me it is /usr/

    GCC_TOOLCHAIN_DIR := /usr

    CC_VERSION := 4.7.4

    now cd into the directory of the app you want to build

    mac@mac-VirtualBox:$ cd ../apps/hello_world/gcc/frdmk64f120m/

    and type make

    mac@mac-VirtualBox:$ make Compiling apps/hello_world/src/hello_world.c Compiling boards/frdmk64f120m/gpio_pins.c Compiling boards/frdmk64f120m/hardware_init.c Compiling boards/frdmk64f120m/pin_mux.c Assembling platform/startup/MK64F12/gcc/startup_MK64F12.S Compiling platform/startup/MK64F12/system_MK64F12.c Compiling platform/startup/startup.c Linking hello_world Output ELF: ./output/Flash_Release/hello_world.elf Output binary: ./output/Flash_Release/hello_world.bin

    See info on setting up gcc gdb toolchain

    gcc compiling + gdb debugging on Kinetis on a Linux host - Kinetis L Examples available

  • RELEVANCY SCORE 2.76

    DB:2.76:Gcc Troubleshooting -- Won't Compile, No Output a3


    If you're having trouble compiling any of the samples, check
    your path! Even though 'which gcc' returns the achacks directory,
    you might still be searching $PATH for dependencies in the wrong
    order.

    Problem: gcc fails silently on OS X (10.5)
    Solution: the order in which you add alchemy to the path
    matters! Check the getting started guide!

    DB:2.76:Gcc Troubleshooting -- Won't Compile, No Output a3

    There is no reason to have achacks in your path more than
    once. Generally you can leave it out of you path setup in
    .bash_profile and set it using "alc-on" right before you need to
    use it.

  • RELEVANCY SCORE 2.76

    DB:2.76:Cross-Compiling Toolchain Default Location Choice mk



    Hi,

    After having successfully built a cross-compiling toolchain thanks to cross-lfs (http://www.linuxfromscratch.org/~ryan/s … cross-lfs/), Im trying to adapt the wonderful scripts written by Ryan Oliver for the Linux From Scratch system, to the form of some package building scripts.

    Unfortunately while trying to accomplish this task Im facing some problems, first of all the choice of the cross-compiling toolchain default location.

    What do you think is the best location in the filesystem for the cross-compiling toolchain or, in other words, what do you think is the best configure time prefix to use? At the moment I put it into /opt/ppc/usr but I wonder whether is there a way to make it to coexist with the regular toolchain in /usr or whether is there a better location to put it into.

    Another problem Im facing from the package management point of view are the files that gcc and glibc share among the different build steps.

    Lets take for example the case of gcc. The gcc-static package shares all of its files with the gcc-shared package while the following files are included in the gcc-shared package only.
    $PREFIX/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3-hammer/libgcc_eh.a
    $PREFIX/powerpc-unknown-linux-gnu/
    $PREFIX/powerpc-unknown-linux-gnu/lib/
    $PREFIX/powerpc-unknown-linux-gnu/lib/libgcc_s.so - libgcc_s.so.1
    $PREFIX/powerpc-unknown-linux-gnu/lib/libgcc_s.so.1

    DB:2.76:Cross-Compiling Toolchain Default Location Choice mk


    Hi,

    After having successfully built a cross-compiling toolchain thanks to cross-lfs (http://www.linuxfromscratch.org/~ryan/s … cross-lfs/), Im trying to adapt the wonderful scripts written by Ryan Oliver for the Linux From Scratch system, to the form of some package building scripts.

    Unfortunately while trying to accomplish this task Im facing some problems, first of all the choice of the cross-compiling toolchain default location.

    What do you think is the best location in the filesystem for the cross-compiling toolchain or, in other words, what do you think is the best configure time prefix to use? At the moment I put it into /opt/ppc/usr but I wonder whether is there a way to make it to coexist with the regular toolchain in /usr or whether is there a better location to put it into.

    Another problem Im facing from the package management point of view are the files that gcc and glibc share among the different build steps.

    Lets take for example the case of gcc. The gcc-static package shares all of its files with the gcc-shared package while the following files are included in the gcc-shared package only.
    $PREFIX/lib/gcc-lib/powerpc-unknown-linux-gnu/3.3.3-hammer/libgcc_eh.a
    $PREFIX/powerpc-unknown-linux-gnu/
    $PREFIX/powerpc-unknown-linux-gnu/lib/
    $PREFIX/powerpc-unknown-linux-gnu/lib/libgcc_s.so - libgcc_s.so.1
    $PREFIX/powerpc-unknown-linux-gnu/lib/libgcc_s.so.1

  • RELEVANCY SCORE 2.76

    DB:2.76:Oracle 9i, Oci, And Gcc On Sparc jk



    does anyone have any successful experience compiling 9i oci apps on solaris using gcc? i've tried a couple of the demos with no success. i include the $ORACLE_HOME/rdbms/demo/demo_rdbms.mk files and altered a couple of variables (CCFLAGS, NOKPIC...) and got it to compile but segfaults on olog().

    thanks.

    DB:2.76:Oracle 9i, Oci, And Gcc On Sparc jk


    does anyone have any successful experience compiling 9i oci apps on solaris using gcc? i've tried a couple of the demos with no success. i include the $ORACLE_HOME/rdbms/demo/demo_rdbms.mk files and altered a couple of variables (CCFLAGS, NOKPIC...) and got it to compile but segfaults on olog().

    thanks.

  • RELEVANCY SCORE 2.76

    DB:2.76:Sdk 2014.2 And Power Pc 9k



    I am wondering if the latest SDK supports the powerPC. I read the following answer from Xilinx

    regarding SDK 14.7 (AR# 57113 ). I unzipped the files to the Xilinx gnu directory as specified, and added the appropriate bin directory to the path, however I am having the same problem.

    If I try to create a project in the SDK based upon hardware files for a Virtex 5 power PC, the bsp build fails with the following error:

    10:25:03 INFO : Project 'Cufc_Hw' created. You can now create BSPs and application projects targeting this hardware platform.10:25:12 ERROR : Wrong compiler requested. Xilkernel can be compiled only with the GNU compiler for PPC. [Hsm 55-1545] Problem running tcl command ::sw_xilkernel_v6_1::kernel_drc : ERROR: Wrong compiler requested. Xilkernel can be compiled only with the GNU compiler for PPC. while executing"error "ERROR: Wrong compiler requested. Xilkernel can be compiled only with the GNU compiler for PPC." "" "mdt_error"" ("ppc*" arm line 3) invoked from within"switch -regexp $proctype { "microblaze" { if { [string first "mb-gcc" $compiler] == 0 [string first "mb-g++" $compiler] == 0} { ..." (procedure "::sw_xilkernel_v6_1::kernel_drc" line 14) invoked from within"::sw_xilkernel_v6_1::kernel_drc xilkernel"

    Anyone have any ideas on how to create a virtex5 powerPC project with the Xilinx SDK 2014.2 ?

    DB:2.76:Sdk 2014.2 And Power Pc 9k


    Ausitn,

    We are working on a product, which uses both MicroBlaze in K7 and PPC in V5. For hardware design I am forced to use two different toolchains. But can't we at least use the same SDK for software design? Is it too much to ask?

    Thanks,

    /Mikhail

    P.S. This discussion should probably move to \Embedded Solutions\Embedded Development Tools

  • RELEVANCY SCORE 2.76

    DB:2.76:Build Error In Os X Maverick cj



    I was trying to build the openmp rtl on os x maverick. I have gcc 4.8 from macports, icc=14.0.1.103_(20131010)_for_32e, icpc=14.0.1.103_(20131010)_for_32e, ifort=14.0.1.103_(20131010)_for_32e.

    I modified check-tools.pl to accept my gcc compiler. My first question is why do I need gcc, if I am compiling with icc?

    If I run make after some steps of compilation I receive the following error:

    make[1]: *** No rule to make target `/usr/lib/libirc.a', needed by `libirc/.objs'.  Stop.

    Furthermore for each command executed by the make I receive the following warning:

    icc: command line warning #10381: option '-std=c99' is not valid for C++ compilations.

    Can anyone help me to solve these problems?

    Thank you very much!  

     

    DB:2.76:Build Error In Os X Maverick cj


    Please try latest release of the OpenMP RTL.  The issues you mentioned were be addressed there.

    Regards,

    Andrey

  • RELEVANCY SCORE 2.76

    DB:2.76:Compiling Assembly Codes With Gcc For Mpc56xx mj


    hi,

    i'm trying to compile n assembly code for mpc5643l using gnu gcc compiler but am getting of unrecognized opcode; note that this error does not come up for all insrtuctions. following is the command im using:

    powerpc-eabi-gcc -O0 -g3 -Wall -c -fmessage-length=0 -fno-common -MMD -MP -MF"main.d" -MT"main.d" -mcpu=common -mfloat-gprs=single -eabi=vle -mspe -misel=yes -msoft-float -mbig -mabi=spe -o test test003.S

    start_PBL.s: Assembler messages:

    start_PBL.s:19: Error: Unrecognized opcode: `e_or2is'

    thnx

    DB:2.76:Compiling Assembly Codes With Gcc For Mpc56xx mj

    hi,

    i'm trying to compile n assembly code for mpc5643l using gnu gcc compiler but am getting of unrecognized opcode; note that this error does not come up for all insrtuctions. following is the command im using:

    powerpc-eabi-gcc -O0 -g3 -Wall -c -fmessage-length=0 -fno-common -MMD -MP -MF"main.d" -MT"main.d" -mcpu=common -mfloat-gprs=single -eabi=vle -mspe -misel=yes -msoft-float -mbig -mabi=spe -o test test003.S

    start_PBL.s: Assembler messages:

    start_PBL.s:19: Error: Unrecognized opcode: `e_or2is'

    thnx

  • RELEVANCY SCORE 2.75

    DB:2.75:[Sovled] Dependency Cycle Detected - Gcc-Libs dk



    does anybody see whats going on here?
    warning: dependency cycle detected:
    warning: lib32-gcc-libs will be installed before its gcc-libs-multilib dependency
    looking for inter-conflicts...
    warning: removing gcc-libs from target list because it conflicts with gcc-libs-multilib
    error: failed to prepare transaction (could not satisfy dependencies)
    :: gcc: requires gcc-libs=4.6.1-3

    DB:2.75:[Sovled] Dependency Cycle Detected - Gcc-Libs dk


    well, that did it, about 30 mins later it worked. thanks

    Last edited by wolfdogg (2011-08-20 22:19:38)

  • RELEVANCY SCORE 2.75

    DB:2.75:Gcc-Avr (4.6.0-3) And Avr-Libc (1.7.0-1) Incompatibility 83



    Ive been away from avr development for a few months...turns out that the current combination of gcc-avr and avr-libc (has been flagged as out of date since 2011-05-30) but has not been working for since gcc-avr was upgraded on 2011-04-22.

    The small piece of Teensy code I was compiling successfully, is now crashing the compiler:
    -------- begin --------
    avr-gcc (GCC) 4.6.0
    Copyright (C) 2011 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.

    Compiling C: main.c
    avr-gcc -c -mmcu=at90usb1286 -I. -gdwarf-2 -DF_CPU=16000000UL -Os -funsigned-char -funsigned-bitfields -ffunction-sections -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=./main.lst -std=gnu99 -MMD -MP -MF .dep/main.o.d main.c -o main.o
    main.c:1:0: internal compiler error: in dwarf2out_frame_init, at dwarf2out.c:4260
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See http://gcc.gnu.org/bugs.html for instructions.
    make: *** [main.o] Error 1

    DB:2.75:Gcc-Avr (4.6.0-3) And Avr-Libc (1.7.0-1) Incompatibility 83


    Hmm, looks like it may have been very recently resolved: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48459

  • RELEVANCY SCORE 2.74

    DB:2.74:Conflict Between Gcc-Libs / Gcc-Libs-Multilib (Gcc-Objc Related) mz



    I have gcc-multilib on my system as i need to be able to build lib32- packages .Pacman -Syu gave me this warning this morning :gcc-libs conflicts with gcc-libs-multilib , remove gcc-libs-multib ?

    I answered no ofcourse and the update was aborted due to file conflicts.

    running pacman -Syu --ignore gcc-libs gave the cause of the conflicts : gcc-objc .i temporarily removed gcc-objc , and could update all other packages, including a new kernel.

    after updating i attempted to re-install gcc-objc :
    # pacman -S gcc-objc
    resolving dependencies...
    looking for inter-conflicts...
    :: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] n
    error: unresolvable package conflicts detected
    error: failed to prepare transaction (conflicting dependencies)
    :: gcc-libs and gcc-libs-multilib are in conflict

    DB:2.74:Conflict Between Gcc-Libs / Gcc-Libs-Multilib (Gcc-Objc Related) mz

    Algunenano wrote:
    You have to replace libtool with libtool-multilib.

  • RELEVANCY SCORE 2.74

    DB:2.74:Does Mb Osl Kernel Compiling Need Glibc 2.11 And 2.4 Both For Microblaze_V2.0_Le? 1j



    I first tried to compile it on RHEL4 servers, it reports glibc 2.11 and 2.4 are missing.

    I then turned to RHEL5, it reports glibc 2.11 not found.

    Does this mean both versions are required? How can I make such a platform with both versions installed?

    Error Message:

    microblazeel-unknown-linux-gnu-gcc: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by microblazeel-unknown-linux-gnu-gcc)

    DB:2.74:Does Mb Osl Kernel Compiling Need Glibc 2.11 And 2.4 Both For Microblaze_V2.0_Le? 1j


    I found the gcc always use the libc.so.6 in /lib64/tls directory. This is a 64 bit version which doesn't include 2.11.

    But the 32bit version has 2.11.

    I tried to set /lib to LD_LIBRARY_PATH, LIBRARY_PATH and even PATH, none of them changed the library path used bymicroblazeel-unknown-linux-gnu-gcc.

    So it comes to a general question: Is there a way to assign library path for kernel compiling?

    Thanks

    Ricky

  • RELEVANCY SCORE 2.74

    DB:2.74:Xrandr Problems When Compiling Gtk Apps 3p



    I have problems compiling apps linked to gtk2. The error is always the same:
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetOutputInfo
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetScreenResourcesCurrent
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeOutputInfo
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeScreenResources
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeCrtcInfo
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetCrtcInfo
    collect2: ld returned 1 exit status

    DB:2.74:Xrandr Problems When Compiling Gtk Apps 3p


    I have problems compiling apps linked to gtk2. The error is always the same:
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetOutputInfo
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetScreenResourcesCurrent
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeOutputInfo
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeScreenResources
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRFreeCrtcInfo
    /usr/lib/gcc/i686-pc-linux-gnu/4.4.1/../../../libgdk-x11-2.0.so: undefined reference to `XRRGetCrtcInfo
    collect2: ld returned 1 exit status

  • RELEVANCY SCORE 2.74

    DB:2.74:Abs (X86_64) - Building Of Gcc 4.3.2 Fails. j3



    I have been trying to compile GCC 4.3.2 from the ABS on Arch x86_64, however, the buildingfails with the following error.

    treelang/lex.c: In function yy_get_next_buffer:treelang/lex.c:1327: warning: comparison between signed and unsigned../../gcc/treelan/lex.l: In function update_lineno_charno:../../gcc/treelang/lex.l:239: error: yylval undeclared (first use in this function)xgcc: treelang/parse.c: No such file or directoryxgcc: no input files../../gcc/treelang/lex.l: In function update_yylval:../../gcc/treelang/lex.l:266: error: yylval undeclared (first use in this function)../../gcc/treelang/lex.l: In function dump_lex_value;make[3]: *** [treelang/parse.o] Error 1make[3]: *** Waiting for unfinished jobs...../../gcc/treelang/lex.l:285: error: yylval undeclared (first use in this function)make[3]: *** [treelang/lex.o] Error 1rm gfortran.podmake[3]: Leaving directory /tmp/yaourt-tmp-root/abs-gcc/src/gcc-4.3.2/build/gccmake[2]: *** [all-stage2-gcc] Error 2make[2]: Leaving directory /tmp/yaourt-tmp-root/abs-gcc/src/gcc-4.3.2/buildmake[1]: *** [stage2-bubble] Error 2make[1]: Leaving directory /tmp/yaourt-tmp-root/abs-gcc/src/gcc-4.3.2/buildmake: *** [all] Error 2== ERROR: Build Failed.Aborting...Error: Makepkg was unable to build gcc package.

    DB:2.74:Abs (X86_64) - Building Of Gcc 4.3.2 Fails. j3

    kolpator wrote:
    btw, when im compile a package (like gcc or any other) to install to my system just type pacman -U packagename is it safe _? or is it update my old package ?

  • RELEVANCY SCORE 2.74

    DB:2.74:Error When Compiling Sample Code With G++ zs



    I am beginning to work with the Threading Building Blocks and I'm having an issue compiling the sample program (sub_string_finder.cpp) with g++. However, when I use intel's c++ compiler, it compiles just fine.

    To compile with g++, I execute:

    g++ sub_string_finder.cpp -ltbb

    and I get an error:
    sub_string_finder.cpp:60: error: first argument of int main(size_t, char**) should be int

    However, when I execute: icpc sub_string_finder.cpp -ltbb

    it compiles just fine (and the compiled program works). I've never had any issues with GNU gcc (g++) before...so this is unexpected. Does anyone know what's going on here?

    Thanks!
    Lance

    DB:2.74:Error When Compiling Sample Code With G++ zs

    Quoting - Wooyoung Kim (Intel)

    Thanks for reporting an issue. I checked 'sub_string_finder.cpp' and the version I saw has

    'int main( int argc, char *argv[])' on line 60.

    Could you tell us what TBB release you are using?

    best regards

    Well, I somehow ended up with TBB version 2.0 (tbb20_020_lin.tgz). Not sure how, as I just downloaded it a week ago. I just downloaded the most recent version on the site (version 2.1), and sure enough, line 68 now uses "int argc". Atleast it taught me something new about gcc. :) Thanks for the help.

    Best Regards,

    Lance

  • RELEVANCY SCORE 2.74

    DB:2.74:Upgrade Error Gcc (Ppc) mk



    Hi, when I upgrade I have:

    pacman -Syu:: Sincronizzazione dei database in corso... core è aggiornato extra è aggiornato:: Aggiornamento del sistema in corso...risoluzione delle dipendenze in corso...errore: impossibile risolvere gcc=4.2.3-1, una dipendenza di gcc-gcjerrore: preparazione non riuscita (impossibile soddisfare le dipendenze):: gcc-gcj: richiede gcc=4.2.3-1

    is OK for now?

    thankyou

  • RELEVANCY SCORE 2.74

    DB:2.74:Message Error In Cocoa dp


    compiling a cocoa-project I have found this error message:
    Command /Developer/usr/bin/gcc-4.2 failed with exit code 1

    can someone clear to me what kind of error is this?

  • RELEVANCY SCORE 2.74

    DB:2.74:Sun C++ 4.2 Could Not Find Posix Thread On Solaris 2.6 kx


    I am trying to compile JTC(JThreads)1.0.13 on Sun solaris 2.6.
    I am able to compile JTC using gcc 2.95 but when i am compiling same application with Sun C++ 4.2 it is not able to find out POSIX threads , thus giving error
    Operating system doesn't support threads.

    I have tried compiling the same application on Sun Solaris 2.7 with C++ 4.2 , where it goes fine

    I have got pthread.h.

    Please help

  • RELEVANCY SCORE 2.74

    DB:2.74:Error While Compiling Dbi | Solaris 8 mk


    Hi we have soalris8 installed on v240 machine.
    NOw when I'm trying to install DBI following error is coming.
    make: Fatal error: Command failed for target `Perl.o'

    and I have gcc3.2.3 .

    I searched on net but the only solution to this problem seems is recompiling Perl.

    We have two more systems with same configuration, OS and gcc this problem is not coming in those systems.

    Am I missing something ? or I need to recmpile perl with gcc.

    I am novice in it, so can someone please provide command to recompile Perl.

    Thanks in advance

    Himansu

    DB:2.74:Error While Compiling Dbi | Solaris 8 mk

    You need to be a bit more verbose, you would need to post the last few lines before you got this error, and perhaps also the last few lines from your config.log file.

    //Magnus

  • RELEVANCY SCORE 2.72

    DB:2.72:Compiling Python 2.6 On Arch x3



    I am getting the following gcc error when compiling Python 2.6 from source:

    gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -DSVNVERSION=\`LC_ALL=C svnversion .`\ -o Modules/getbuildinfo.o ./Modules/getbuildinfo.cgcc: error: directory: No such file or directorymake: *** [Modules/getbuildinfo.o] Error 1

    Can anyone reproduce this issue? How do you fix this?

    DB:2.72:Compiling Python 2.6 On Arch x3


    Try a clean chroot:

    https://wiki.archlinux.org/index.php/De … ean_Chroot

  • RELEVANCY SCORE 2.72

    DB:2.72:Gcc Help: Optimize Too Much 8a



    Hi, im compiling the following code with gcc with this command:
    gcc -c plc2c.c -o plc2c.o -Wa,-a

    DB:2.72:Gcc Help: Optimize Too Much 8a


    Hi, im compiling the following code with gcc with this command:
    gcc -c plc2c.c -o plc2c.o -Wa,-a

  • RELEVANCY SCORE 2.72

    DB:2.72:Error Compiling Llvm-Gcc With Icc 11.1 In Linux 1c



    I have successfully build LLVM and clang with ICC, but cannot build llvm-gcc. This is the error.
    http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-types.cpp
    ../../trunk/gcc/llvm-types.cpp(832): error: "Ty", declared in condition, may not be redeclared in this scope const Type *Ty;

    DB:2.72:Error Compiling Llvm-Gcc With Icc 11.1 In Linux 1c


    I have already deleted the svn directory, but will try again at some point and report back then.

  • RELEVANCY SCORE 2.72

    DB:2.72:Stdio_Iso.H Problem ( Solaris 8 ) k7


    hi all,

    I' v read 1000000 +1 topics about stdio_iso.h problems but it didn't solve mine :(

    So, here is the story :

    I am installing big bother and when compiling it tells me: /iso/stdio_iso.h: no such file or directory
    and that's true cos i can't find it in the folders ( find / - name stdio_iso.h )

    That's weird cos i re-installed gcc package 3.3.2 from www.sunfreeware.com full version ( 94 Mo ).

    I also installed packages from sunfreeware:
    - make
    - ssl
    - apache

    Here is the lines :

    bbauditsrv% make -f /usr/local/bigb/bb1.9e-btf/src/minimake/makefile.solaris
    BBOS="solaris" CC="gcc" CFLAGS="-Dsolaris -O -DBZERO -DGETTIMEOFDAY -DREGEXEC -D DEBUG" LIBS="-ll -lnsl -lsocket" make -e bball
    make[1]: Entering directory `/usr/local/bigb/bb1.9e-btf/src' gcc -Dsolaris -O -DBZERO -DGETTIMEOFDAY -DREGEXEC -DDEBUG `./minimake/genbbdefs` -g -o bb.o -c bb.c In file included from bb.h:9,
    from bb.c:22:
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:36:27: iso/std
    io_iso.h: No such file or directory
    In file included from bb.h:9,
    from bb.c:22:
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:194: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:229: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:230: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:236: error: pa rse error before "size_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:241: error: pa rse error before "size_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:250: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:252: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:276: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:285: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:286: error: pa rse error before "FILE"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:287: error: pa rse error before '*' token In file included from bb.h:10,
    from bb.c:22:
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:27:26: sys
    /isa_defs.h: No such file or directory
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:28:31: sys
    /feature_tests.h: No such file or directory
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:33:27: sys
    /machtypes.h: No such file or directory
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:45:27: sys
    /int_types.h: No such file or directory
    In file included from bb.h:10,
    from bb.c:22:
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:210: error
    : parse error before "pad64_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:211: error
    : parse error before "upad64_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:371: error
    : parse error before "uint16_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:373: error
    : parse error before "__pthread_mutex_ceiling"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:374: error
    : parse error before "__pthread_mutex_type"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:378: error
    : parse error before "uint8_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:380: error
    : parse error before "__pthread_mutex_owner64"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:382: error
    : parse error before "__pthread_mutex_data"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:387: error
    : parse error before "uint8_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:390: error
    : parse error before "__pthread_cond_data"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:397: error
    : parse error before "int32_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:399: error
    : parse error before "__pthread_rwlock_magic"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:400: error
    : parse error before "__pthread_rwlock_pad1"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:401: error
    : parse error before "__pthread_rwlock_pad2"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:402: error
    : parse error before "__pthread_rwlock_pad3"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:403: error
    : parse error before '}' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:432: error
    : parse error before "upad64_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:569:24: sy
    s/select.h: No such file or directory
    In file included from bb.c:22:
    bb.h:22:24: sys/socket.h: No such file or directory
    bb.h:23:24: netinet/in.h: No such file or directory
    bb.h:24:23: arpa/inet.h: No such file or directory
    bb.h:25:57: sys/signal.h: No such file or directory
    bb.h:26:65: sys/wait.h: No such file or directory
    bb.h:27:58: syslog.h: No such file or directory
    bb.h:28:65: setjmp.h: No such file or directory
    bb.c:23:19: ctype.h: No such file or directory
    bb.c:24:48: netdb.h: No such file or directory
    bb.c: In function `bbnotify':
    bb.c:32: error: `NULL' undeclared (first use in this function)
    bb.c:32: error: (Each undeclared identifier is reported only once
    bb.c:32: error: for each function it appears in.)
    bb.c: In function `main':
    bb.c:92: error: `stderr' undeclared (first use in this function)
    bb.c:102: error: `stdin' undeclared (first use in this function)
    bb.c:102: error: `NULL' undeclared (first use in this function)
    make[1]: *** [bb.o] Error 1
    make[1]: Leaving directory `/usr/local/bigb/bb1.9e-btf/src'
    make: *** [all] Error 2

    You can see some more libraries are missing too :(

    I can't find any help on the web/google/forums.

    Someone has an ID ?

    Thx :)

    DB:2.72:Stdio_Iso.H Problem ( Solaris 8 ) k7

    hi all,

    I' v read 1000000 +1 topics about stdio_iso.h problems but it didn't solve mine :(

    So, here is the story :

    I am installing big bother and when compiling it tells me: /iso/stdio_iso.h: no such file or directory
    and that's true cos i can't find it in the folders ( find / - name stdio_iso.h )

    That's weird cos i re-installed gcc package 3.3.2 from www.sunfreeware.com full version ( 94 Mo ).

    I also installed packages from sunfreeware:
    - make
    - ssl
    - apache

    Here is the lines :

    bbauditsrv% make -f /usr/local/bigb/bb1.9e-btf/src/minimake/makefile.solaris
    BBOS="solaris" CC="gcc" CFLAGS="-Dsolaris -O -DBZERO -DGETTIMEOFDAY -DREGEXEC -D DEBUG" LIBS="-ll -lnsl -lsocket" make -e bball
    make[1]: Entering directory `/usr/local/bigb/bb1.9e-btf/src' gcc -Dsolaris -O -DBZERO -DGETTIMEOFDAY -DREGEXEC -DDEBUG `./minimake/genbbdefs` -g -o bb.o -c bb.c In file included from bb.h:9,
    from bb.c:22:
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:36:27: iso/std
    io_iso.h: No such file or directory
    In file included from bb.h:9,
    from bb.c:22:
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:194: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:229: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:230: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:236: error: pa rse error before "size_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:241: error: pa rse error before "size_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:250: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:252: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:276: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:285: error: pa rse error before '*' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:286: error: pa rse error before "FILE"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/stdio.h:287: error: pa rse error before '*' token In file included from bb.h:10,
    from bb.c:22:
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:27:26: sys
    /isa_defs.h: No such file or directory
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:28:31: sys
    /feature_tests.h: No such file or directory
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:33:27: sys
    /machtypes.h: No such file or directory
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:45:27: sys
    /int_types.h: No such file or directory
    In file included from bb.h:10,
    from bb.c:22:
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:210: error
    : parse error before "pad64_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:211: error
    : parse error before "upad64_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:371: error
    : parse error before "uint16_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:373: error
    : parse error before "__pthread_mutex_ceiling"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:374: error
    : parse error before "__pthread_mutex_type"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:378: error
    : parse error before "uint8_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:380: error
    : parse error before "__pthread_mutex_owner64"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:382: error
    : parse error before "__pthread_mutex_data"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:387: error
    : parse error before "uint8_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:390: error
    : parse error before "__pthread_cond_data"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:397: error
    : parse error before "int32_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:399: error
    : parse error before "__pthread_rwlock_magic"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:400: error
    : parse error before "__pthread_rwlock_pad1"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:401: error
    : parse error before "__pthread_rwlock_pad2"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:402: error
    : parse error before "__pthread_rwlock_pad3"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:403: error
    : parse error before '}' token
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:432: error
    : parse error before "upad64_t"
    /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/include/sys/types.h:569:24: sy
    s/select.h: No such file or directory
    In file included from bb.c:22:
    bb.h:22:24: sys/socket.h: No such file or directory
    bb.h:23:24: netinet/in.h: No such file or directory
    bb.h:24:23: arpa/inet.h: No such file or directory
    bb.h:25:57: sys/signal.h: No such file or directory
    bb.h:26:65: sys/wait.h: No such file or directory
    bb.h:27:58: syslog.h: No such file or directory
    bb.h:28:65: setjmp.h: No such file or directory
    bb.c:23:19: ctype.h: No such file or directory
    bb.c:24:48: netdb.h: No such file or directory
    bb.c: In function `bbnotify':
    bb.c:32: error: `NULL' undeclared (first use in this function)
    bb.c:32: error: (Each undeclared identifier is reported only once
    bb.c:32: error: for each function it appears in.)
    bb.c: In function `main':
    bb.c:92: error: `stderr' undeclared (first use in this function)
    bb.c:102: error: `stdin' undeclared (first use in this function)
    bb.c:102: error: `NULL' undeclared (first use in this function)
    make[1]: *** [bb.o] Error 1
    make[1]: Leaving directory `/usr/local/bigb/bb1.9e-btf/src'
    make: *** [all] Error 2

    You can see some more libraries are missing too :(

    I can't find any help on the web/google/forums.

    Someone has an ID ?

    Thx :)