How do I compile CVI librarys with GCC

I am trying to compile with the CVI library using the cygwin/gcc compiler.
When I link in c:/cvi/extlib/cvisupp.lib
I get the following errors:
/bin/ld: Warning: type of symbol `___ExeSymbols' changed from 776 to 264 in glbltbl.c
/bin/ld: Warning: type of symbol `___UICallbackSymbols' changed from 776 to 264 in cbacktbl.c
/bin/ld: Warning: type of symbol `___CVILibSymbols' changed from 776 to 264 in cvitbl.c
/bin/ld: Warning: type of symbol `___ANSILibSymbols' changed from 776 to 264 in ansitbl.c
collect2: ld returned 1 exit status

You should try asking this on LabWindows CVI forum at http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=8&RFORMNUMBER=2&RHIDETAG=TRUE&UCATEGORY_0=_46&UCATEGORY_S=0
Good luck

Similar Messages

  • How to compile DNG SDK with GCC?

    I tried to compile DNG SDK with GCC, but I got stuck to the following error message:
    ... dng_flags.h:33:28: error: RawEnvironment.h: No such file or directory ...
    In other words, it seems that file 'RawEnvironment.h' is missing. I cannot find this file from DNG SDK or XMP SDK. Do you know where I could find this file or do you know how to compile DNG SDK with GCC?
    Regards Sami

    Please define either qMacOS or qWinOS (i.e., in your list of preprocessor defines). As you can see in line 32 of dng_flags.h this is required.

  • Compiling sample driver with gcc

    I want to build "sst" sample scsi driver provided with the Solaris Device Driver Kit in Intel plaform using gcc. Is it possible to do that?
    I tried to use gcc as I don't have a native CC compiler. When I used gcc, it was giving me errors saying "__builtin_va_alist" is undeclared. I declared it as extern in the driver file and compiled it. When I tried to load the driver using "add_drv sst", I got an error message saying that the driver is not attached. Running "devfsadm" gave me the same result. In /var/adm/messages, under Kernel.notice, it says undefined symbol for most of the scsi functions. like scsi_reset, and scsi_alloc_consistent_buf and others and also for __builtin_va_alist. Finally it says. mod_load:cannot load module:sst.
    I was told by somebody that he could build the same driver using gcc in Sparc and ran it and never faced this problem of undefined functions.
    Thanks
    Ajith

    Hello,
    I tried that, but still the same error exists. The options that I have included for compiling my driver are copied below:
    gcc -I(My incldue dirs) -ffreestanding -D__arch64 -D_SYSCALL32 -D_SYSCALL32_IMPL -D_ELF64 -D__sparcv8cpu -DSYSACCT -DC2_AUDIT -D_KERNEL -c -o sparc/obj64/CommonFunctions.o CommonFunctions.c
    and I get the following error:
    when I include sys/varargs.h
    CommonFunctions.c:1214: `__builtin_va_alist' undeclared (first use in this function)
    CommonFunctions.c:1214: (Each undeclared identifier is reported only once
    CommonFunctions.c:1214: for each function it appears in.)
    and when I include varargs.h and the hack, #define SYSVARARGS_H /* sys/varargs.h hack for gcc */ I get the following error:
    CommonFunctions.c:1214:32: macro "va_start" passed 2 arguments, but takes just 1
    CommonFunctions.c: In function `LogMsg':
    CommonFunctions.c:1214: `va_start' undeclared (first use in this function)
    CommonFunctions.c:1214: (Each undeclared identifier is reported only once
    CommonFunctions.c:1214: for each function it appears in.)
    The gcc version that I have is 3.0. I am not able to figure out the reason.
    Thanks in Advance
    Vinay

  • Compile pro*c with gcc

    i 'have installaled gcc and oracle 9i and i try to compile my program sample2.pc and i can't obtain an exe.
    my gcc : /opt/sfw/bin/gcc
    my oracle : /data/oracle9i
    can an one help me it's very important
    thanks

    i 'have installaled gcc and oracle 9i and i try to
    compile my program sample2.pc and i can't obtain an
    exe.
    my gcc : /opt/sfw/bin/gcc
    my oracle : /data/oracle9i
    can an one help me it's very important
    thanksHi! i am stuck in the same situation as U were/are . Did you find a solution??If yes let me know.

  • Compiling CVI project with low-level input/outp​ut function under VC++

    when compiling I get:
    MIN69101.OBJ : error LNK2001: unresolved external symbol _read@12
    MIN69101.OBJ : error LNK2001: unresolved external symbol _write@12
    MIN69101.OBJ : error LNK2001: unresolved external symbol _lseek@12
    Release/minil.exe : fatal error LNK1120: 3 unresolved externals
    Error executing link.exe.
    minil.exe - 4 error(s), 0 warning(s)
    I think I need some libs.
    Who tell me what .lib I need?

    When you convert your existing CVI project, all external libs add automatically, you can see it in Project->Settings->Link.
    But they don't include low-level in/out function.
    If you use Dependency Walker you can see these functions in cvi-lvrt.dll, but not in cvi-lvrt.lib

  • How would I go about compiling my own multilib GCC?

    Hello, as the topic says, how would I compile my own multilib GCC? I realize there is one on the AUR, but it is version 4.4.0, which has issues with compiling FFMpeg and MPlayer(both of which I compile daily), and the fact that the pkgbuild has to be manually updated in a few areas to work in the first place. I'm thinking about updating the PKGBUILD myself, actually(well creating a parallel build in any case, because the author hasn't actually orphaned it, but he seems to have disappeared).
    I've found a few documents on the subject but they are distro specific, or use scripts. I don't want to be a script kiddie, I want to know what the "base" configure parameters are for setting one up. I can figure out the rest.
    Slackware scripts link here.
    -What ./configure parameters create a multi-lib system? What specifies the multilib compile to be 32-bit and 64-bit?(I read that sometimes people use multi-lib for other features so I want to make sure it's 32-bit and 64-bit, not something else)
    -How would I make this build compatible with the /opt/lib32 system that Arch users like to use?
    -Do I only need to compile binutils, glibc, and gcc? And lastly, does this replace the "regular" gcc on the system?(aka if I created a PKGBUILD for this, would gcc still be named gcc or would it be renamed gcc-multilib and have it's own directories for libs)
    Last edited by MP2E (2009-10-01 01:03:40)

    I'd start by going here:
    http://aur.archlinux.org/packages.php?ID=28545

  • Using "long double" with gcc

    I want to use long doubles (quad, 128-bit floating point variables) in C. I thought the following program would do it:
    #include <stdio.h>
    int main()
    long double a, b, c;
    b = 1./7.;
    c = 7.;
    a = 1./c;
    printf("%.30e \n", a);
    printf("%.30e \n", b);
    printf("%.30e \n", c);
    return 0;
    But the program returns garbage when compiled and run with:
    %gcc top2.c -o test
    %./test
    -1.391130315222827826529386765980e-220
    -1.391130315222712834096824073018e-220
    -2.681561585988519419914804999641e+154
    (XCode 3.1, gcc 4.0.1 or 4.2.1, Intel Xeon, 10.5.4)
    The program works for double, however.
    So what am I doing wrong?
    Matthias

    I can't really help you much there. Maybe you should think about what you are doing and what you really need. I doubt you really need 128 bits. In Apple's Documentation it says:
    -m96bit-long-double
    -m128bit-long-double
    These switches control the size of long double type. The i386 application binary interface specifies the size to be 96 bits, so -m96bit-long-double is the default in 32 bit mode. Modern architectures (Pentium and newer) would prefer long double to be aligned to an 8 or 16 byte boundary. In arrays or structures conforming to the ABI, this would not be possible. So specifying a -m128bit-long-double will align long double to a 16 byte boundary by padding the long double with an additional 32 bit zero.
    In the x86-64 compiler, -m128bit-long-double is the default choice as its ABI specifies that long double is to be aligned on 16 byte boundary.
    Notice that neither of these options enable any extra precision over the x87 standard of 80 bits for a long double.
    Warning: if you override the default value for your target ABI, the structures and arrays containing long double variables will change their size as well as function calling convention for function taking long double will be modified. Hence they will not be binary compatible with arrays or structures in code compiled without that switch.
    Message was edited by: etresoft - gave up trying to format it fancy

  • Darwin and problem with gcc

    Hi,
    I'm trying to compile c-programs with gcc installed with the xtools from the tiger 1.4.8-cd on my system. For the first step I tried a "Hello World" program.
    When I compile it with 'gcc HelloWorld.cpp' on a linux system I get a a.out, and this is the program, that tells me "Hello World!".
    When I try
    "me$ gcc HelloWorld.cpp"
    on my MacBook, then I get the error message
    "/usr/bin/ld: Undefined symbols:
    __gxx_personalityv0
    collect2: ld returned 1 exit status"
    What is wrong on my system?
    Can anyone please help me to solve this problem?
    Best regards,
    Boltzmann
    The source code is ;-):
    #include<stdio.h>
    int main()
    printf("Hello World!");
    return 0;
    MacBook 13"   Mac OS X (10.4.8)   1gb ram; 1.83Mhz; 60gb disk space

    Name the file HelloWorld.c; .cpp is for C++. If you want to compile C++, use g++, which links to the proper libraries for C++.

  • How to compile .so with gcc?

    I want to make a .so file (library for linux). How could I compile with gcc to have this output. My input file is in .c.
    Thanx

    gcc -I/$JAVA_HOME/include -I/$JAVA_HOME/include/linux -shared myCfile.c -o libMYLIB.so
    //Anders ;-D

  • How compile OCCI Demo of Oracle 9i with gcc on Redhat Linux 9?

    How compile OCCI Demo of Oracle 9i with gcc on Redhat Linux 9?
    When I use gcc-3.22 compile,error:undefined reference to 'typeinfo for oracle:occi:SQLException'.
    Reputedly gcc-2.95 or gcc-2.96 is the official supported version , did you try it?
    Can you help me compile it successfully?
    Thank you!
    Alex Clark

    For details
    compile cmd:make -f demo_rdbms.mk occipool
    compile result:
    make -f /opt/oracle/product/9.2.0/rdbms/demo/demo_rdbms.mk buildocci
    EXE=occipoo
    l OBJS=occipool.o
    make[1]: Entering directory `/opt/oracle/product/9.2.0/rdbms/demo'
    /usr/bin/g++ -L/opt/oracle/product/9.2.0/lib/
    -L/opt/oracle/product/9.2.0/rdbms/
    lib/ -o occipool occipool.o -locci -lclntsh `cat
    /opt/oracle/product/9.2.0/lib
    /sysliblist` -ldl -lm
    occipool.o(.gcc_except_table+0xe8): undefined reference to `typeinfo for
    oracle:
    :occi::SQLException'
    occipool.o(.gnu.linkonce.t._ZN8occipoolC1Ev+0x18): In function
    `occipool::occipo
    ol[in-charge]()':
    : undefined reference to
    `oracle::occi::Environment::createEnvironment(oracle::o
    cci::Environment::Mode, void*, void* (*)(void*, unsigned), void* (*)(void*,
    void
    *, unsigned), void (*)(void*, void*))'
    occipool.o(.gnu.linkonce.t._ZN8occipoolD1Ev+0xf): In function
    `occipool::~occipo
    ol [in-charge]()':
    : undefined reference to
    `oracle::occi::Environment::terminateEnvironment(oracle
    ::occi::Environment*)'
    occipool.o(.gnu.linkonce.t._ZN8occipool6selectEv+0x355): In function
    `occipool::
    select()':
    : undefined reference to
    `oracle::occi::SQLException::SQLException[in-charge](or
    acle::occi::SQLException const&)'
    occipool.o(.gnu.linkonce.t._ZN8occipool6selectEv+0x395): In function
    `occipool::
    select()':
    : undefined reference to `oracle::occi::SQLException::getErrorCode() const'
    occipool.o(.gnu.linkonce.t._ZN8occipool6selectEv+0x3db): In function
    `occipool::
    select()':
    : undefined reference to `oracle::occi::SQLException::getMessage() const'
    occipool.o(.gnu.linkonce.t._ZN8occipool6selectEv+0x44f): In function
    `occipool::
    select()':
    : undefined reference to `oracle::occi::SQLException::~SQLException
    [in-charge]()'
    occipool.o(.gnu.linkonce.t._ZN8occipool6selectEv+0x466): In function
    `occipool::
    select()':
    : undefined reference to `oracle::occi::SQLException::~SQLException
    [in-charge]()'
    collect2: ld returned 1 exit status
    make[1]: *** [buildocci] Error 1
    make[1]: Leaving directory `/opt/oracle/product/9.2.0/rdbms/demo'
    make: *** [occipool] Error 2

  • OCCI compilation issue with gcc-3.2.3 on Red Hat ES 2.1

    Hello,
    If I use OCCI of Oracle 10g and try to compile it with gcc-3.2.3 on Red Hat ES 2.1, I get linking errors.
    The same works if I try to compile OCCI on Red Hat ES 3.0.
    Any clues about how to compile the OCCI on RedHat ES/AS 2.1?

    Yes, I downloaded the OCCI for gcc-3.2.3.
    As I said it works on Red Hat 3.0.
    I want to compile it on Red Hat ES 2.1.
    I have installed gcc-3.2.3 on Red Hat ES 2.1. But the occi compilation wont succeed onto it.

  • Problems with GCC version - compiling OpenOffice

    I am trying to compile OpenOffice 4.1.1 to run on 10.6.8. When I run the ./configure it runs for a few seconds then shows the following error:
    "checking the GNU gcc compiler version... configure: error: found version "1.0.2", use version 3+ of the gcc compiler"
    If I run:
    gcc -v
    I get:
    gcc version 4.2.1 (Apple Inc. build 5659)
    Any ideas on how to fix this?
    Thanks

    I suppose the real incentive is to be able to just continue using 10.6. But it seems from other feedback that the problem with OpenOffice 4.1 is dependencies on libraries in 10.7, rather than the GCC version. I know that I could probably eventually code around those dependencies, but it would certainly involve more time and effort than I am currently able to devote to it.
    I have tried LibreOffice in the past, but frankly I found it so horrible and slow (I think because of its dependency on Java) that I ended up using the X11 version of OpenOffice - which in itself was not a terrific user experience, but was a lot better than the alternative.
    I will try the version you have mentioned, but I also note that this is planned to be obsolete by May next year, and is also the last version that will support 10.6 or 10.7 (10.8 will be the lowest requirement). Which will leave a fair number of 64-bit intel machines unsupported, since some of those are only able to run 10.7. Thanks for the feedback.

  • [solved] unable to compile mame with gcc 4.7.2

    I tried to compile mame :
    http://mamedev.org/downloader.php?file= … e0147s.zip
    but it doesn't work, it fails with gcc 4.7.2 :
    Compiling src/emu/cpu/tms32051/tms32051.c...
    Generating TMS57002 source file...
    obj/sdl/build/tmsmake src/emu/cpu/tms57002/tmsinstr.lst obj/sdl/emu/cpu/tms57002/tms57002.inc
    Compiling src/emu/cpu/tms57002/tms57002.c...
    {entrée standard}: Messages de l'assembleur:
    {entrée standard}:3066: Avertissement: fin du fichier n'est pas à la fin de la ligne; nouvelle ligne insérée
    {entrée standard}: Erreur: ouverture CFI à la fin du fichier; directive .cfi_endproc manquante
    gcc: erreur interne du compilateur: Processus arrêté (program cc1plus)
    Veuillez soumettre un rapport complet d'anomalies,
    avec le source pré-traité si nécessaire.
    Consultez <https://bugs.archlinux.org/> pour plus de détail.
    make: *** [obj/sdl/emu/cpu/tms57002/tms57002.o] Erreur 4
    I want to know how the official packager ( Sergej Pupykin ) succeeded to compile mame ? ( sdlmame package ) :
    https://www.archlinux.org/packages/comm … 6/sdlmame/
    Do I need an older version of gcc ?
    Last edited by Potomac (2012-12-21 20:07:28)

    I found a solution by installing an older version of gcc ( 4.4.5 ) and I can compile now mame,
    it's a known problem about gcc and mame, the source code is not compatible with gcc 4.7.2 ( and even with some older releases ) :
    http://forums.gentoo.org/viewtopic-t-84 … 0473b82412
    check the first comment here ( padremayi ), same error :
    https://aur.archlinux.org/packages/sdlm … setlang=fr
    the solution is to use gcc 4.4.5 version,
    you need also to patch one file in gcc 4.4.5 :
    --- gcc/config/i386/linux-unwind.h 2009-04-10 01:23:07.000000000 +0200
    +++ gcc/config/i386/linux-unwind.h 2012-12-21 03:10:27.000000000 +0100
    @@ -133,9 +133,9 @@
    struct rt_sigframe {
    int sig;
    - struct siginfo *pinfo;
    + siginfo_t *pinfo;
    void *puc;
    - struct siginfo info;
    + siginfo_t info;
    struct ucontext uc;
    } *rt_ = context->cfa;
    /* The void * cast is necessary to avoid an aliasing warning.
    edit : the solution was to increase ram memory in virtualbox, with gcc 4.7.2 and 1.5 Gb ram I can compile mame without errors, but with 1 Gb ram the error occurs
    maybe it's a bug in gcc 4.7.2 ( because with gcc 4.4.5 I don't need to increase ram )
    Last edited by Potomac (2012-12-25 12:09:52)

  • Help!Apache compiling with gcc in Solaris 10

    Greetings
    I am having problems with Apache 1.3.
    When I am running the script ./src/Configure my output is:
    #./Configure
    Using config file: Configuration
    Creating Makefile
    + configured for Solaris 2100 platform
    + setting C pre-processor to gcc -E
    + using "tr [a-z] [A-Z]" to uppercase
    + checking for system header files
    + adding selected modules
    ./helpers/TestCompile: make: not found
    + using builtin Expat
    ./Configure: make: not found
    + checking sizeof various data types
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    ./helpers/TestCompile: make: not found
    + doing sanity check on compiler and options
    ./helpers/TestCompile: make: not found
    ** A test compilation with your Makefile configuration
    ** failed. The below error output from the compilation
    ** test will give you an idea what is failing. Note that
    ** Apache requires an ANSI C Compiler, such as gcc.
    ======== Error Output for sanity check ========
    ./helpers/TestCompile: make: not found
    ============= End of Error Report =============
    Aborting!
    I am root, my PATH is
    /usr/bin:/usr/ucb:/etc:/usr/local/bin:/opt/netscape:/usr/css/bin/:/bin:/usr/openwin/bin:/usr/sbin:/
    I am missing something stupid, I know but I can't find it!!!!Help please I am a newbie.
    I am curious. Has anyone been able to compile succesfully apache server with gcc in Solaris 10?
    Thanks,

    Thanks,
    It was only that.!!!
    But now I have the following problem, I can't create executables when I type make. The output is:
    when I am in the src/folder
    #make
    ===> regex
    <=== regex
    ===> os/unix
    gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED os.c
    In file included from /usr/include/sys/wait.h:24,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:292: error: parse error before '}' token
    /usr/include/sys/siginfo.h:294: error: parse error before '}' token
    /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
    /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
    /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
    /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
    /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
    /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
    /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
    /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
    /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
    /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
    /usr/include/sys/siginfo.h:426: error: parse error before '}' token
    /usr/include/sys/siginfo.h:428: error: parse error before '}' token
    /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
    /usr/include/sys/siginfo.h:437: error: parse error before '}' token
    In file included from /usr/include/sys/procset.h:24,
    from /usr/include/sys/wait.h:25,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1096,
    from os.c:21:
    /usr/include/signal.h:111: error: parse error before "siginfo_t"
    /usr/include/signal.h:113: error: parse error before "siginfo_t"
    *** Error code 1
    make: Fatal error: Command failed for target `os.o'
    Current working directory /web-download/apache_1.3.33/src/os/unix
    *** Error code 1
    The following command caused the error:
    for i in regex os/unix ap main lib modules; do \
    echo "===> $i"; \
    case ".Solaris 2100" in \
    .OS390 | .TPF) ( cd $i && make SDP='' OPTIM='') || exit 1;; \
    *) ( cd $i && make SDP='' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ' RANLIB='ranlib' OPTIM='') || exit 1;; \
    esac; \
    echo "<=== $i"; \
    done
    make: Fatal error: Command failed for target `subdirs'
    but when I am typing one step up is.
    ===> src
    ===> src/regex
    <=== src/regex
    ===> src/os/unix
    gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED os.c
    In file included from /usr/include/sys/wait.h:24,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:292: error: parse error before '}' token
    /usr/include/sys/siginfo.h:294: error: parse error before '}' token
    /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
    /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
    /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
    /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
    /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
    /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
    /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
    /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
    /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
    /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
    /usr/include/sys/siginfo.h:426: error: parse error before '}' token
    /usr/include/sys/siginfo.h:428: error: parse error before '}' token
    /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
    /usr/include/sys/siginfo.h:437: error: parse error before '}' token
    In file included from /usr/include/sys/procset.h:24,
    from /usr/include/sys/wait.h:25,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1096,
    from os.c:21:
    /usr/include/signal.h:111: error: parse error before "siginfo_t"
    /usr/include/signal.h:113: error: parse error before "siginfo_t"
    *** Error code 1
    make: Fatal error: Command failed for target `os.o'
    Current working directory /web-download/apache_1.3.33/src/os/unix
    *** Error code 1
    The following command caused the error:
    for i in regex os/unix ap main lib modules; do \
    echo "===> src/$i"; \
    case ".Solaris 2100" in \
    .OS390 | .TPF) ( cd $i && make SDP='src/' OPTIM='') || exit 1;; \
    *) ( cd $i && make SDP='src/' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED ' RANLIB='ranlib' OPTIM='') || exit 1;; \
    esac; \
    echo "<=== src/$i"; \
    done
    make: Fatal error: Command failed for target `subdirs'
    Current working directory /web-download/apache_1.3.33/src
    *** Error code 1
    The following command caused the error:
    case "xi86pc-sun-solaris2.2100" in \
    x*390*) C89STEPS="0xffffffff"; export C89STEPS;; \
    esac; \
    cd ./src; make SDP=src/ all
    make: Fatal error: Command failed for target `build-std'
    Current working directory /web-download/apache_1.3.33
    *** Error code 1
    The following command caused the error:
    make -f ./Makefile root= build-std
    make: Fatal error: Command failed for target `build'
    I am newbie with Solaris and gcc so I have no so much idea what is missing there.
    Thanks,
    Juan

  • Compiling Apache 1.3 with gcc

    Hi all,
    I have trying to set up Apache server in Soalris 10, and to compile with gcc but I am having problems.
    The first part of ./configure --prefix=... is fine, but when I type make I am getting this:
    # make
    ===> src
    ===> src/regex
    <=== src/regex
    ===> src/os/unix
    gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` os.c
    In file included from /usr/include/sys/wait.h:24,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:292: error: parse error before '}' token
    /usr/include/sys/siginfo.h:294: error: parse error before '}' token
    /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
    /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
    /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
    /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
    /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
    /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
    /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
    /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
    /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
    /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
    /usr/include/sys/siginfo.h:426: error: parse error before '}' token
    /usr/include/sys/siginfo.h:428: error: parse error before '}' token
    /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
    /usr/include/sys/siginfo.h:437: error: parse error before '}' token
    In file included from /usr/include/sys/procset.h:24,
    from /usr/include/sys/wait.h:25,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1096,
    from os.c:21:
    /usr/include/signal.h:111: error: parse error before "siginfo_t"
    /usr/include/signal.h:113: error: parse error before "siginfo_t"
    *** Error code 1
    make: Fatal error: Command failed for target `os.o'
    Current working directory /web-download/apache_1.3.33/src/os/unix
    *** Error code 1
    The following command caused the error:
    for i in regex os/unix ap main lib modules; do \
    echo "===> src/$i"; \
    case ".Solaris 2100" in \
    .OS390 | .TPF) ( cd $i && make SDP='src/' OPTIM='') || exit 1;; \
    *) ( cd $i && make SDP='src/' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`' RANLIB='ranlib' OPTIM='') || exit 1;; \
    esac; \
    echo "<=== src/$i"; \
    done
    make: Fatal error: Command failed for target `subdirs'
    Current working directory /web-download/apache_1.3.33/src
    *** Error code 1
    The following command caused the error:
    case "xi86pc-sun-solaris2.2100" in \
    x*390*) C89STEPS="0xffffffff"; export C89STEPS;; \
    esac; \
    cd ./src; make SDP=src/ all
    make: Fatal error: Command failed for target `build-std'
    Current working directory /web-download/apache_1.3.33
    *** Error code 1
    The following command caused the error:
    make -f ./Makefile root= build-std
    make: Fatal error: Command failed for target `build'
    # svcadm
    Usage: svcadm [-v] enable [-rt] {FMRI | pattern}...
    svcadm [-v] disable [-t] {FMRI | pattern}...
    svcadm [-v] restart {FMRI | pattern}...
    svcadm [-v] refresh {FMRI | pattern}...
    svcadm [-v] mark [-It] {degraded | maintenance} {FMRI | pattern}...
    svcadm [-v] clear {FMRI | pattern}...
    svcadm [-v] delegate restarter_FMRI {FMRI | pattern}...
    svcadm [-v] milestone [-d] milestone_FMRI
    # svcadm -v
    Usage: svcadm [-v] enable [-rt] {FMRI | pattern}...
    svcadm [-v] disable [-t] {FMRI | pattern}...
    svcadm [-v] restart {FMRI | pattern}...
    svcadm [-v] refresh {FMRI | pattern}...
    svcadm [-v] mark [-It] {degraded | maintenance} {FMRI | pattern}...
    svcadm [-v] clear {FMRI | pattern}...
    svcadm [-v] delegate restarter_FMRI {FMRI | pattern}...
    svcadm [-v] milestone [-d] milestone_FMRI
    # make
    ===> src
    ===> src/regex
    <=== src/regex
    ===> src/os/unix
    gcc -c -I../../os/unix -I../../include -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I../../lib/expat-lite -DNO_DL_NEEDED `../../apaci` os.c
    In file included from /usr/include/sys/wait.h:24,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:292: error: parse error before '}' token
    /usr/include/sys/siginfo.h:294: error: parse error before '}' token
    /usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
    /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
    /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
    /usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
    /usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
    /usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
    /usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
    /usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
    /usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
    /usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
    /usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
    /usr/include/sys/siginfo.h:426: error: parse error before '}' token
    /usr/include/sys/siginfo.h:428: error: parse error before '}' token
    /usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
    /usr/include/sys/siginfo.h:437: error: parse error before '}' token
    In file included from /usr/include/sys/procset.h:24,
    from /usr/include/sys/wait.h:25,
    from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1079,
    from os.c:21:
    /usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
    In file included from ../../include/ap_config.h:1096,
    from os.c:21:
    /usr/include/signal.h:111: error: parse error before "siginfo_t"
    /usr/include/signal.h:113: error: parse error before "siginfo_t"
    *** Error code 1
    make: Fatal error: Command failed for target `os.o'
    Current working directory /web-download/apache_1.3.33/src/os/unix
    *** Error code 1
    The following command caused the error:
    for i in regex os/unix ap main lib modules; do \
    echo "===> src/$i"; \
    case ".Solaris 2100" in \
    .OS390 | .TPF) ( cd $i && make SDP='src/' OPTIM='') || exit 1;; \
    *) ( cd $i && make SDP='src/' CC='gcc' AUX_CFLAGS=' -DSOLARIS2=2100 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci`' RANLIB='ranlib' OPTIM='') || exit 1;; \
    esac; \
    echo "<=== src/$i"; \
    done
    make: Fatal error: Command failed for target `subdirs'
    Current working directory /web-download/apache_1.3.33/src
    *** Error code 1
    The following command caused the error:
    case "xi86pc-sun-solaris2.2100" in \
    x*390*) C89STEPS="0xffffffff"; export C89STEPS;; \
    esac; \
    cd ./src; make SDP=src/ all
    make: Fatal error: Command failed for target `build-std'
    Current working directory /web-download/apache_1.3.33
    *** Error code 1
    The following command caused the error:
    make -f ./Makefile root= build-std
    make: Fatal error: Command failed for target `build'
    And I have no idea what is the problem. Has anyone experience the same?
    I am newbie so...
    Thanks,
    Juan

    Compiling Apache 1.3 with gcc on linux or unix? If you are using unix, I would be compiling with cc and not gcc. You have gcc set to compile using regular expressions and I believe that has to be specified during SunOS install as posix compliant.

Maybe you are looking for

  • I get two screens while uploading a document in a library

    Hi, I get two upload screens while uploading a document to a library. Take a look at the below screenshots. Can somebody please tell me how can I club these two to one. I need only one upload screen with all the metadata listed. Many thanks for your

  • I rented movies and now I can't find them.  I never watched them.

    Hi So we are headed out on our vacation and I wanted to rent movies for the airplane ride.  My iphone 6 syncs with my computer automatically so it started downloading the movies, but I wanted it on my ipad (which my daughter uses) So when I hooked up

  • Error - SAP SOL 4.0 Installation - SLES9 - MaxDB | Error Number JS-30151

    Hi Guys, i got an Error if I want to install the Solution Manager 4: JS-30151 Java Process Server0 of Instance SM4/DVEBMGS01 [ABAP: Active, Java: (Dispatcher; RUNNING, server0: UNKNOWN)] did not start after 18:00 minutes. Giving up. FC0-00011 The ste

  • Any trick to sort columns?

    I have a particular issue to solve. I have a table as follows: CREATE TABLE Trunk ( Port1 NUMBER, Port2 NUMBER, Port3 NUMBER I will use a complex query to select 3 values from other places to populate Trunk table. On insertion, I'll have to make sure

  • Procedure run order in a Package

    Are procedures run in a specific order in a package? If so, what determines that order? Thanks!