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.

Similar Messages

  • Open API compile *.c in Windows with gcc

    Hello,
    Here is my Code I want to compile:
    http://rafb.net/p/h0qYEL56.html
    my compiler is gcc and I compile it like that:
    gcc -WALL -o traverse.exe -c traverse.c -Ic:/orav60/FORMS60/API
    he compile my traverse.c with warnings, but the exe is not executable.
    please help
    Paul

    YEAH I got it!
    the Solution is
    gcc -o traverse.o -c traverse.c -IC:\orav60\FORMS60\API
    gcc traverse.o c:/orav60/FORMS60/API/ifd2f60.LIB -o traverse
    1. Compile an Objectfile from the c and you get *.o
    2. bind the *.o with the c:/orav60/FORMS60/API/ifd2f60.LIB and compile it
    greetings
    Paul

  • Compiling a universal binary with GCC

    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?

    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.

  • Compile Apache plug-in for WL7.1 SP4

    Hi all,
    Several advisories of Apache have been published. We would like to acquire the latest Apache version. According to the information of BEA. Apache plug-in of WL71SP4 is only provided for Apache 2.0.42-2.0.49. As a result, a new plug-in is needed: we would like to compile one.
    We only have compiled Apache plug-in (with WL71SP4). We cannot find the source in WL71SP4.
    Does anyone know how can I compile a Apache plug-in for the latest Apache version? Preferably, we would like to use APXS for the compilation.
    Does anyone know if we can use the existing plug-in in latest Apache version? We have encountered problems before -- the plug-in refuses to start and complains about incorrect magic string of the Apache version.
    Thank you very much.
    Regards.

    I'm using the mod_wl_ssl.so for Apache on Linux from service pack 5. I
              understand that the communication from Apache to WLS will be via http...
              that's not the issue.
              I think what would solve the issue would be if someone from BEA could post
              an httpd.conf file that was configured correctly to use the ssl proxy for
              Apach on Linux. Also, I can't seem to get clarification if openssl is or is
              not supported.
              Can you post a correctly configured httpd.conf file that was used in testing
              the ssl proxy as well as confirm whether or not openssl is supported???
              Steve...
              Vinod Mehra wrote:
              > Also note that currently we do not support https between the plugins and
              >
              > WebLogic. https requests will be degraded to http. So the WebLogicPort
              > parameter in the plugins should point to the http port of WebLogic.
              >
              > https between plug-ins and WebLogic will be available in near future.
              >
              > --Vinod.
              >
              > Vinod Mehra wrote:
              >
              > > > Are there any known issues with the Apache SSL proxy???
              > >
              > > No
              > >
              > > > I've setup the ssl
              > > > proxy but can't access any WL content via https... http works ok
              > > > though. Also,
              > > > does BEA support openssl or just Stronghold and Raven???
              > >
              > > Yes. Try using mod_wl_ssl.so from 510 SP4 or later.
              > >
              > > --Vinod.
              

  • 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

  • Problem compiling apache (2.4.4) with openssl 1.0.1e

    Hi Experts
    i am struggling since last 2 weeks to compile apache2.4.4 with openssl 1.0.1e on sun spark server.
    System Details: SunOS hostname 5.10 Generic_147440-19 sun4v sparc SUNW,Sun-Blade-T6320
    bash-3.00# cat /etc/release
    Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
    Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
    Assembled 23 August 2011
    We already have apache 2.2 running on this server, now we need 2.4.4 with latest openssl.
    i donwloaded apr, apr-utils, pcre, openssl and httpd2.4.4 from their respective websites.
    then i comiled these prerequisites into the path /local/apache/2.44/apr, /local/apache/2.44/apr-util, /local/apache/2.44/pcre, /local/apache/2.44/openssl
    and finally i am trying to build httpd2.4.4 with above compiled modules.
    so i used this command:
    ./configure prefix=/local/apache/2.44 with-apr=/local/apache/2.44 with-apr-util=/local/apache/2.44/apr-utils with-pcre=/local/apache/2.44/pcre enable-proxy enable-proxy-http enable-so enable-auth-digest enable-mime enable-deflate enable-rewrite enable-headers enable-ssl  with-ssl=/local/apache/2.44/openssl
    when i run make, i received this error:
    dlopen 0x44 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlopen 0x748 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlclose 0xb4 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlclose 0x1a0 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlclose 0x770 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlsym 0x268 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlsym 0x388 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlsym 0x764 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlerror 0xdc /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlerror 0x2cc /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlerror 0x3dc /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    dlerror 0x714 /local/apache/2.44/openssl/lib/libcrypto.a(dso_dlfcn.o)
    __umoddi3 0x64 /local/apache/2.44/openssl/lib/libcrypto.a(bn_word.o)
    __umoddi3 0xac /local/apache/2.44/openssl/lib/libcrypto.a(b_print.o)
    __udivdi3 0xe8 /local/apache/2.44/openssl/lib/libcrypto.a(b_print.o)
    __udivdi3 0x394 /local/apache/2.44/openssl/lib/libcrypto.a(bn_div.o)
    ld: fatal: relocations remain against allocatable but non-writable sections
    collect2: ld returned 1 exit status
    *** Error code 1
    make: Fatal error: Command failed for target `mod_ssl.la'
    Current working directory /local/apache244pkg/httpd-2.4.4/modules/ssl
    *** Error code 1
    The following command caused the error:
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi; \
    list=''; for i in $list; do \
    target="shared-build"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-shared-build"; \
    fi; \
    if test "$i" != "srclib"; then \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test -f 'modules.mk'; then \
    if test -n 'mod_ssl.la'; then \
    echo "Building shared: mod_ssl.la"; \
    if test "$made_local" != "yes"; then \
    make "local-shared-build" || exit 1; \
    fi; \
    fi; \
    fi; \
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi
    make: Fatal error: Command failed for target `shared-build-recursive'
    Current working directory /local/apache244pkg/httpd-2.4.4/modules/ssl
    *** Error code 1
    The following command caused the error:
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi; \
    list='aaa cache core database debugging filters http loggers metadata proxy session slotmem ssl proxy/balan cers arch/unix dav/main generators dav/fs mappers'; for i in $list; do \
    target="shared-build"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-shared-build"; \
    fi; \
    if test "$i" != "srclib"; then \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test -f 'modules.mk'; then \
    if test -n ''; then \
    echo "Building shared: "; \
    if test "$made_local" != "yes"; then \
    make "local-shared-build" || exit 1; \
    fi; \
    fi; \
    fi; \
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi
    make: Fatal error: Command failed for target `shared-build-recursive'
    Current working directory /local/apache244pkg/httpd-2.4.4/modules
    *** Error code 1
    The following command caused the error:
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi; \
    list='srclib os server modules support'; for i in $list; do \
    target="shared-build"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-shared-build"; \
    fi; \
    if test "$i" != "srclib"; then \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test -f 'modules.mk'; then \
    if test -n ''; then \
    echo "Building shared: "; \
    if test "$made_local" != "yes"; then \
    make "local-shared-build" || exit 1; \
    fi; \
    fi; \
    fi; \
    if test `pwd` = "/local/apache244pkg/httpd-2.4.4"; then \
    echo "" ; \
    fi
    make: Fatal error: Command failed for target `shared-build-recursive'
    Current working directory /local/apache244pkg/httpd-2.4.4
    *** Error code 1
    The following command caused the error:
    otarget=`echo all-recursive|sed s/-recursive//`; \
    list=' srclib os server modules support'; \
    for i in $list; do \
    if test -d "$i"; then \
    target="$otarget"; \
    echo "Making $target in $i"; \
    if test "$i" = "."; then \
    made_local=yes; \
    target="local-$target"; \
    fi; \
    (cd $i && make $target) || exit 1; \
    fi; \
    done; \
    if test "$otarget" = "all" && test -z 'httpd shared-build '; then \
    made_local=yes; \
    fi; \
    if test "$made_local" != "yes"; then \
    make "local-$otarget" || exit 1; \
    fi
    make: Fatal error: Command failed for target `all-recursive'
    your help will be highly appreciated.
    thanks
    Edited by: 990086 on May 28, 2013 2:01 AM

    freaks wrote:if somebody can give me an example of ssl.conf
    Hi freaks; you can find an example SSL configuration file here on your system:
    /etc/httpd/conf/extra/httpd-ssl.conf
    It’s full of comments describing what the different options are.
    Apache’s documentation on SSL is full of good stuff, including a howto.
    As far as selecting ciphers go, you could do worse than following Qualys’ advice on the subject.
    Paul
    Last edited by prelog (2014-03-19 04:05:40)

  • 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.

  • 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.

  • Bad performance of PARI when compiling with GCC for SPARC 4.2.0

    Hi,
    I've compiled pari (2.3.3) with gcc 4.2.0 and with an old gcc 3.3.2 on a Sun Fire V240 and Solaris 10.
    The performance of pari compiled with gcc 4.2.0 is terrible. I've tried it with '-O3 -fast' and without this flags with the same result.
    First compiled with gcc 3.3.2 without any special CFLAGS and run make bench:
    * Testing objets for gp-sta..TIME=4 for gp-dyn..TIME=4
    * Testing analyz for gp-sta..TIME=82 for gp-dyn..TIME=80
    * Testing number for gp-sta..TIME=63 for gp-dyn..TIME=62
    * Testing polyser for gp-sta..TIME=19 for gp-dyn..TIME=19
    * Testing linear for gp-sta..TIME=30 for gp-dyn..TIME=29
    * Testing elliptic for gp-sta..TIME=50 for gp-dyn..TIME=51
    * Testing sumiter for gp-sta..TIME=45 for gp-dyn..TIME=47
    * Testing graph for gp-sta..TIME=25 for gp-dyn..TIME=25
    * Testing program for gp-sta..TIME=94 for gp-dyn..TIME=94
    * Testing trans for gp-sta..TIME=228 for gp-dyn..TIME=225
    * Testing nfields for gp-sta..TIME=434 for gp-dyn..TIME=433
    +++ Total bench for gp-sta is 726
    +++ Total bench for gp-dyn is 722
    Then compiled with gcc 4.2.0 again without any special flags and run make bench:
    * Testing objets for gp-sta..TIME=4 for gp-dyn..TIME=4
    * Testing analyz for gp-sta..TIME=82 for gp-dyn..TIME=83
    * Testing number for gp-sta..TIME=62 for gp-dyn..TIME=65
    * Testing polyser for gp-sta..TIME=19 for gp-dyn..TIME=19
    * Testing linear for gp-sta..BUG [1686975] for gp-dyn..BUG [1608146]
    * Testing elliptic for gp-sta..TIME=50 for gp-dyn..TIME=52
    * Testing sumiter for gp-sta..TIME=51 for gp-dyn..TIME=50
    * Testing graph for gp-sta..TIME=28 for gp-dyn..TIME=28
    * Testing program for gp-sta..TIME=98 for gp-dyn..TIME=97
    * Testing trans for gp-sta..BUG [613000] for gp-dyn..BUG [606558]
    * Testing nfields for gp-sta..BUG [3648091] for gp-dyn..BUG [3716170]
    +++ [BUG] Total bench for gp-sta is 3029987
    +++ [BUG] Total bench for gp-dyn is 2958336
    Do anybody know this problem or can tell me what the problem could be?
    Thanks!!
    Rainer W.

    Here are the compiler options I used to compile it with gcc4.
    C compiler is /usr/local/gcc4/gcc/bin/gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer
    Executable linker is /usr/local/gcc4/gcc/bin/gcc -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer
    Dynamic Lib linker is /usr/local/gcc4/gcc/bin/gcc -shared -mimpure-text $(CFLAGS) $(DLCFLAGS) -Wl,-G,-h,$(LIBPARI_SONAME)
    If I use the -fast option I get the same result may be a little bit worse.
    Here are some compilation lines:
    Making gp in Osolaris-sparcv9
    make[2]: Entering directory `/no_backup/pari/pari-2.3.3/Osolaris-sparcv9'
    File ../src/funclist not changed.
    ../config/genkernel ../src/kernel/sparcv8_micro/asm0-common.h ../src/kernel/sparcv8_micro/asm0.h > parilvl0.h
    cat ../src/kernel/none/tune.h ../src/kernel/none/int.h ../src/kernel/none/level1.h > parilvl1.h
    cat parilvl0.h parilvl1.h > pariinl.h
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -I../src/language -I/usr/local/include -o gp.o ../src/gp/gp.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -I../src/graph -o gp_init.o ../src/gp/gp_init.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -I../src/language -I/usr/local/include -o gp_rl.o ../src/gp/gp_rl.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -DDL_DFLT_NAME=NULL -o highlvl.o ../src/gp/highlvl.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o whatnow.o ../src/gp/whatnow.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -I/usr/openwin/include -o plotX.o ../src/graph/plotX.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o anal.o ../src/language/anal.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o compat.o ../src/language/compat.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o default.o ../src/language/default.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o errmsg.o ../src/language/errmsg.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o es.o ../src/language/es.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o init.o ../src/language/init.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o intnum.o ../src/language/intnum.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o members.o ../src/language/members.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o sumiter.o ../src/language/sumiter.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o aprcl.o ../src/modules/aprcl.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o elldata.o ../src/modules/elldata.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o elliptic.o ../src/modules/elliptic.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o galois.o ../src/modules/galois.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o groupid.o ../src/modules/groupid.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o kummer.o ../src/modules/kummer.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o mpqs.o ../src/modules/mpqs.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o nffactor.o ../src/modules/nffactor.c
    /usr/local/gcc4/gcc/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame-pointer -I. -I../src/headers -o part.o ../src/modules/part.c

  • Kdegraphics-3.2.2 needs a patch to compile with gcc-3.4

    Hi,
    I've tried to compile kdegraphics-3.2.2 with gcc-3.4 without succes, even after changing things in the PKGBUILD file. Just before I gave up I found this patch :-)
    Patch can be found here:
    http://bugs.gentoo.org/show_bug.cgi?id=48596
    I've downloaded the attachment and renamed it to 'v3.2.2-with-gcc-3.4.patch'.
    Just add the following line in PKGBUILD after 'cd $startdir/src/$pkgname-$pkgver'
    patch -p3 < ${startdir}/v3.2.2-with-gcc-3.4.patch

    make it an bug report

  • 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

  • [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)

  • Programming in C compiling with gcc

    Hi there,
    I've been working on this for a few days but can't seem to figure it out. I am taking an intro to programming class in which we are supposed to write command line C programs, to be compiled with gcc and tested on Linux's, specifically using Kate.
    I have installed Xcode and the Command Line Tools and have checked in xcode preferences and confirmed the install of command line tools worked. For some reason my "developer" folder is not where it should be, in usr.
    I know that v4 of Xcode works differently in this way but I am confused as to what this means for me and trying to write in C on my mac!
    Thanks everyone

    Xcode is a plain old OS X application now.
    There is no developer folder.

  • Debugging servers with gdb and compiled with gcc

    I have trouble debugging my servers on Solaris.
    Setup: Solaris 8 (2.8?)
    [user@ ~]$ gcc -v
    Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.2.3/specs
    Configured with: ../configure disable-nls with-as=/usr/ccs/bin/as --with-
    ld=/usr/ccs/bin/ld
    Thread model: posix
    gcc version 3.2.3
    [ ~]$ gdb -v
    GNU gdb 5.0
    Copyright 2000 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "sparc-sun-solaris2.8".
    I can run the server, debug and step through the code, inspecting variables. But when i
    type "cont" to continue and let the server finish, what heppens is:
    The server finishes (bec i get my result back to the client)
    GDB hangs saying "Continue" and i wont get the GDB-promt back.
    I have to kill the gdb from the unixprompt
    Question: Has anyone tried to run and debug tuxedo servers using gcc and gdb?
    any input is of value even if someone has had success on linux with gcc and gdb.
    My guess is that it has to do with the threading of gdb and tuxedo that will not match.
    Mats Gårdstad Friberg
    Datarutin AB Sweden

    options=('debug' 'staticlibs')
    these are the options i have set in the PKGBUILD, i might try giving CFLAGS directly, but compiling libc on this old dualcore takes quite a bit of time unfortunately

  • 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

Maybe you are looking for

  • Can you make some columns Read/Display Only in DataSheet view?

    I noticed on another posting what appears to be a datasheet view with 3 of the columns in a display mode. Can someone confirm if this is possible? Here is the original posting. http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomizationprev

  • How do i get my entire photostream from my iphone to my pc?

    how do i get my entire photostream from my iphone to my pc?

  • How do I set up table to show when products would expire?

    I need to create a table of products and there expiration dates. That said, i know its possible with pages, but dont know how to go about setting up the formulas and what not to get the table to highlight products that are expired.

  • Wordpress and Liveview

    Sorry if this is a repetitive question (I searched but could not find a closed thread in the forum)... I am using Dreamweaver CS5 / Windows 7 / XAMPP/ Wordpress 3.1 and following Brians 2nd article on 'Editing a WP Theme with DWCS5': http://www.adobe

  • Average values of a 2-D array

    Hi folks, quite simple question, just want a simple solution. I've got a 2-D x*y array, need the average value of all the y volume numbers, which means eventually I will have a x*1 1-D array. Is there any simple solution instead of 2 loops? Cheers.