[Solved]gcc unrecognized option -02

Anyone else getting this error when building packages? The packages build fine but i guess aren't getting the -02 optimization.
i haven't noticed it til the last few days.
I'm using the stock makepkg.conf
Last edited by droog (2008-06-05 05:41:35)

Thanks that fixed it, don't remember changing that. before i posted i renamed makepkg.conf reinstalled pacman to get the default config, and was still having that problem with the 100% stock makepkg.conf. working fine now after a few minutes of not building anything.

Similar Messages

  • [SOLVED] sed: unrecognized option '--follow-symlinks'

    I tried to build AUR package linuxcnc-sim and I got this error:
    sed: unrecognized option '--follow-symlinks'
    I thought that my sed command is outdated, so I tried to update it:
    [ziga@Ziga-laptop linuxcnc]$ sudo pacman -Syy
    :: Synchronizing package databases...
    core 120.1 KiB 125K/s 00:01 [##############################################] 100%
    extra 1793.4 KiB 191K/s 00:09 [##############################################] 100%
    community 2.5 MiB 384K/s 00:07 [##############################################] 100%
    multilib 123.9 KiB 1239K/s 00:00 [##############################################] 100%
    [ziga@Ziga-laptop linuxcnc]$ sudo pacman -S sed
    warning: sed-4.2.2-3 is up to date -- reinstalling
    resolving dependencies...
    looking for conflicting packages...
    Packages (1) sed-4.2.2-3
    Total Installed Size: 0.76 MiB
    Net Upgrade Size: 0.00 MiB
    :: Proceed with installation? [Y/n]
    What I discovered was, that my sed command already is the newest version... does anyone have an idea what is wrong?
    If I use man sed I get user manual where it says that unrecognized option '--follow-symlinks' is supported:
    SED(1) User Commands SED(1)
    NAME
    sed - stream editor for filtering and transforming text
    SYNOPSIS
    sed [OPTION]... {script-only-if-no-other-script} [input-file]...
    DESCRIPTION
    Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input
    from a pipeline). While in some ways similar to an editor which permits scripted edits (such as ed), sed works by making
    only one pass over the input(s), and is consequently more efficient. But it is sed's ability to filter text in a pipeline
    which particularly distinguishes it from other types of editors.
    -n, --quiet, --silent
    suppress automatic printing of pattern space
    -e script, --expression=script
    add the script to the commands to be executed
    -f script-file, --file=script-file
    add the contents of script-file to the commands to be executed
    --follow-symlinks
    follow symlinks when processing in place
    Last edited by 71GA (2015-02-13 07:14:59)

    This could really be it. And my PATH is really weird - some inputs are doubled:
    PATH=/opt/ARM/eldk/usr/bin:/opt/ARM/eldk/bin:/opt/ARM/eldk/usr/bin:/opt/ARM/eldk/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/opt/opencascade/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/ARM/cs_lite/bin:/opt/ARM/unsimgcr:/opt/ARM/ds/bin:/opt/ARM/cs_lite/bin:/opt/ARM/unsimgcr:/opt/ARM/ds/bin
    I modify my PATH at startup using ~/.bashrc
    # ~/.bashrc
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    alias ls='ls --color=auto'
    PS1='[\u@\h \W]\$ '
    export PATH=${PATH}:/opt/ARM/cs_lite/bin
    export PATH=${PATH}:/opt/ARM/unsimgcr
    export PATH=${PATH}:/opt/ARM/ds/bin
    source /opt/ARM/eldk/eldk_init arm
    What am I doing wrong in the .bashrc ?
    Last edited by 71GA (2015-02-13 06:21:23)

  • Unrecognized option (gcc) -no_cpprt

    I am doing a fresh installation of 10gR2 (X86) on Oracle Enterprise Linux 4. I have installed all the packages required, and the pre-reqs test passes.
    However during installation I hit an error on gcc with "unrecognized option" -no_cpprt.
    Has anyone come across this? Do I need an older version of gcc package?
    rpm -q gcc gives gcc-3.4.6-8.0.1
    Thanks in advance.

    Last 15 lines:
    /app/oracle/product/10.2.0/beyond/lib//libclntsh.so: undefined reference to `nnfyboot'
    /app/oracle/product/10.2.0/beyond/lib//libclntsh.so: undefined reference to `nnfoboot'
    collect2: ld returned 1 exit status
    make: *** [app/oracle/product/10.2.0/beyond/rdbms/lib/dbv] Error 1
    /usr/bin/make -f ins_rdbms.mk ipc_udp/rm -f /app/oracle/product/10.2.0/beyond/lib/libskgxp10.so
    cp /app/oracle/product/10.2.0/beyond/lib//libskgxpu.so /app/oracle/product/10.2.0/beyond/lib/libskgxp10.so
    /usr/bin/make -f ins_emdb.mk collector ORACLE_HOME=/app/oracle/product/10.2.0/beyond/make -f /app/oracle/product/10.2.0/beyond/sysman/lib/ins_emdb.mk relink_exe EXENAME=nmccollector
    make[1]: Entering directory `/app/oracle/product/10.2.0/beyond/sysman/lib'
    gcc -o /app/oracle/product/10.2.0/beyond/sysman/lib/nmccollector -L/app/oracle/product/10.2.0/beyond/lib/ -L/app/oracle/product/10.2.0/beyond/sysman/lib/     `cat /app/oracle/product/10.2.0/beyond/lib/sysliblist` -Wl,-rpath,/app/oracle/product/10.2.0/beyond/lib -lm    `cat /app/oracle/product/10.2.0/beyond/lib/sysliblist` -ldl -lm   -L/app/oracle/product/10.2.0/beyond/lib -Wl,-export-dynamic /app/oracle/product/10.2.0/beyond/sysman/lib/snmccolm.o /app/oracle/product/10.2.0/beyond/sysman/lib/libnmccol.a /app/oracle/product/10.2.0/beyond/sysman/lib/libnmcbuf.a /app/oracle/product/10.2.0/beyond/sysman/lib//libnmadbg.a /app/oracle/product/10.2.0/beyond/rdbms/lib/libdsga10.a /app/oracle/product/10.2.0/beyond/lib/libserver10.a /app/oracle/product/10.2.0/beyond/lib/libclntsh.so    `cat /app/oracle/product/10.2.0/beyond/lib/sysliblist` -ldl -lm
    /app/oracle/product/10.2.0/beyond/lib/libclntsh.so: undefined reference to `nnfyboot'
    /app/oracle/product/10.2.0/beyond/lib/libclntsh.so: undefined reference to `nnfoboot'
    collect2: ld returned 1 exit status
    make[1]: *** [app/oracle/product/10.2.0/beyond/sysman/lib/nmccollector] Error 1
    make[1]: Leaving directory `/app/oracle/product/10.2.0/beyond/sysman/lib'
    make: *** [nmccollector] Error 2Output from rpm -qa :
    compat-db-4.1.25-9
    cpp-3.4.6-8.0.1
    gcc-3.4.6-8.0.1
    gcc-c++-3.4.6-8.0.1
    gcc-g77-3.4.6-8.0.1
    gcc-java-3.4.6-8.0.1
    glibc-2.3.4-2.36
    glibc-common-2.3.4-2.36
    glibc-devel-2.3.4-2.36
    java-1.4.2-gcj-compat-1.4.2.0-27jpp
    libgcc-3.4.6-8.0.1
    libstdc++-3.4.6-8.0.1

  • [solved] passing ImageMagick options in script : unrecognized command

    I'm working on a script that modifies a lot of images. I am trying to add the flexibility to pass in any valid IM argument and have it tacked on to a default resize operation.
    I'm running into the problem where certain options give me the 'unrecoginized command' error even though they are valid.
    I've included a test snippet. I'd be interested to see if my examples do/don't work for others.
    #!/bin/bash
    mogrify "${1}" -resize 800x900 "${2}"
    #this won't work : bash ../IMargumenttest.sh '-modulate 150,50' img001.jpg
    #and gives :mogrify: unrecognized option `-modulate 150,50' @ error/mogrify.c/MogrifyImageCommand/5147.
    #this will work : bash ../IMargumenttest.sh '-contrast' img001.jpg
    I've tried passing the arguments as single and double quoted options to no avail.
    Thanks in advance.
    Nick
    Last edited by inkdinky (2012-02-29 22:30:22)

    When you run the command "mogrify -modulate 150,50 ...", mogrify receives a list of arguments: "-modulate", followed by "-150,50", followed by whatever else you passed it. When it sees the "-modulate" argument, it knows that the next argument is a parameter for the modulate argument.
    With your quoting it instead receives a single argument "-modulate 150,50". There is no option "-modulate 150,50", so it throws the unrecognized error.
    There are a few ways to handle this, depending on what you need to do. If the order of the arguments doesn't matter, then you can do this:
    mogrify -resize 800x900 "$@"
    then run the script with "script -modulate 150,50 /path/to/image".  This works because "$@" is expanded by bash into separate words, so mogrify receives all of them as separate arguments.
    If the resize command has to be right at the end, then you can do this:
    img="$1"
    shift
    mogrify "$@" -resize 800x900 "$img"
    In that case, you have to call the script with the file path as the first argument, followed by any other arguments to mogrify. It assigns the file path to the variable "img", then it shifts it off the array of input arguments.
    You could also do it with array indexing, but I think this is simpler.
    edit: Just in case you were wondering why "$@" is expanded and "$1" isn't, it's because "$@" is treated specially to enable this type of usage. "$*" also contains all of the input arguments, but it is not expanded into separate words when quoted.
    Last edited by Xyne (2012-02-29 21:23:40)

  • Pacman: unrecognized option '--sysupgrade#' [SOLVED]

    Hi Guys,
    I have just completed a fresh install of Arch and I love it. I do seem to have one wrinkle in build however...
    Everytime I shut down, a bunch of pacman messages are displayed during the shutdown sequence?
    pacman: unrecognized option '--sysupgrade#'
    Does anyone know how to remove/fix this?
    Kind regards,
    Stonie.
    Last edited by Stonie (2010-11-30 01:23:28)

    I don't think all think all of the messages will be logged.  everything.log will have some shutdown related messages.
    At what point in the shutdown sequence does the message occur?
    Alternatively it may be displaying a message from startup.  If you switch to tty1 whilst logged in is the message already displayed?
    Check rc.conf and rc.local for anything that may have been added which could cause this.
    Also, check your .bashrc.

  • Unrecognized option could not create the java virtual machine

    Hi
    I created a project using NetBeans. To run it from command line, i used clean and build.
    Then I entered the pathname as shown in the auto-generated readme file.
    However i get the following error message when trying to run it from command line:
    unrecognized option: -
    could not create the java virtual machine
    what did i do wrong?
    Thanks for your answers!

    solved.. i had a typo -.-

  • /usr/bin/ld unrecognized option '--eh-frame-hdr'

    Hi,
    I get this message during Installation of Collab Suite on Red Hat.
    Have applied all the patches and the libhacks.
    I guess it is just a little step. Does anybody know what this error can caused by ?
    /usr/bin/ld unrecognized option '--eh-frame-hdr'
    Regards
    Eric

    Hi,
    DISPLAY seams to be ok because I can send an xclock from the same console to the maschine.
    Got some extra infos about the current linking problem:
    - Linking Webcache
    rm -f webcached
    gcc -o webcached -L/home/oracle/midtier//lib/ -L/home/oracle/midtier/lib/ main.o -Wl,-rpath,/home/oracle/midtier/lib libwebcache.a -lxml9 -lclntsh -lwtc9 -lcore9 -lunls9 -lnls9 -lpthread `cat /home/oracle/midtier/lib/sysliblist` -Wl,-rpath,/home/oracle/midtier/lib:/lib:/usr/lib -lm `cat /home/oracle/midtier/lib/sysliblist` -ldl -lm
    libwebcache.a(platutil.o)(.text+0x157): In function `Platform_GetWorkingDirectory':
    /ee/9.0.2.3/calypso/src/utl/sosd/unix/platutil.c:29: the `getwd' function is dangerous and should not be used.
    libwebcache.a(init.o)(.text+0xc9d): In function `accept_mutex_init':
    /ee/9.0.2.3/calypso/src/listener4081/main/init.c:234: the use of `mktemp' is dangerous, better use `mkstemp'
    libwebcache.a(gzio.o)(.text+0x23e): In function `gz_open':
    /ee/9.0.2.3/calypso/src/zlib-1.1.3/gzio.c:145: undefined reference to `errno'
    libwebcache.a(gzio.o)(.text+0x3c7): In function `gzStart':
    /ee/9.0.2.3/calypso/src/zlib-1.1.3/gzio.c:214: undefined reference to `errno'
    libwebcache.a(gzio.o)(.text+0x458): In function `check_header':
    /ee/9.0.2.3/calypso/src/zlib-1.1.3/gzio.c:302: undefined reference to `errno'
    libwebcache.a(gzio.o)(.text+0x508):/ee/9.0.2.3/calypso/src/zlib-1.1.3/gzio.c:302: undefined reference to `errno'
    libwebcache.a(gzio.o)(.text+0x57b):/ee/9.0.2.3/calypso/src/zlib-1.1.3/gzio.c:302: undefined reference to `errno'
    libwebcache.a(gzio.o)(.text+0x61e):/ee/9.0.2.3/calypso/src/zlib-1.1.3/gzio.c:302: more undefined references to `errno' follow
    collect2: ld returned 1 exit status
    Have no clue

  • Unrecognized option: -gen

    Hi.
    I'm trying to compile GWT but I'm getting the error:
    Could not create the Java virtual machine.
    Unrecognized option: -gen
    I have jre1.6.0_06 and jdk1.6.0_06 and my Path to java_home is correct.
    If I run java -version I get:
    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
    How can I solve that problem with "-gen" option?
    Thanks.
    Edited by: Pingu22 on Apr 22, 2008 3:30 AM

    The sun VM doesn't have a 'gen' option so of course it can't use it.
    Neither does javac.
    Post exactly what you are doing to get that error message and exactly what the result is.

  • Starting Web Logic Server  - Unrecognized option: -jrockit

    Hi,
    Im getting the error "Unrecognized option: -jrockit" when I try to start the Web Logic Server as is showed below:
    D:\Oracle\Middleware\user_projects\domains\base_domain\bin>startWebLogic.cmd
    * To start WebLogic Server, use a username and *
    * password assigned to an admin-level user. For *
    * server administration, use the WebLogic Server *
    * console at http:\\hostname:port\console *
    starting weblogic with Java version:
    Unrecognized option: -jrockit
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Starting WLS with line:
    I already installed the JDK 7 64 (jdk-7u2-windows-x64) and use the generic file to install the Web Logic Server (wls1035_generic)
    I got the files from here:
    JDK >> http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u2-download-1377129.html
    Web Logic >> http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
    Any help I will appreciate.
    Thank You,
    Raul.

    Note that you are using the HotSpot JDK. The option -jrockit is only valid if you are using JRockit.
    When you open setDomainEnv.cmd you see something like:
    if "%JAVA_VENDOR%"=="Oracle" (
         set JAVA_HOME=%BEA_JAVA_HOME%
    ) else (
         if "%JAVA_VENDOR%"=="Sun" (
              set JAVA_HOME=%SUN_JAVA_HOME%
         ) else (
              set JAVA_VENDOR=Oracle
              set JAVA_HOME=C:\bea\jrockit_160_29_D1.2.0-10
    )which selects a certain JDK based on the set JAVA_VENDOR property.
    You add the property JAVA_VENDOR above the first if statement, for example,
    set SUN_JAVA_HOME=
    set JAVA_VENDOR=Sun
    if "%JAVA_VENDOR%"=="Oracle" (...)Also see if the SUN_JAVA_HOME property is set to the correct directory.
    technical session - http://middlewaremagic.com/weblogic/?p=7831

  • Remote profiling on oc4j 10.1.2 on solaris. -ojvm unrecognized option

    Hi I have problems starting OC4J using the -ojvm -XXtimeport4000 parameters on a Solaris box.
    The java runtime complains about unrecognized option. I've tried to find some information how to enable ojvm on the java runtime supplied with IAS 10g 10.1.2.
    Do anyone have any clues?
    /Henrik

    Thanks Luke,
    I changed
    vo.setWhereClause(" USER_NAME=?");
    to
    vo.setWhereClause(" USER_NAME=:0");
    And that particular segment worked as expected.
    Thanks
    David

  • Systemctl start mysqld unrecognized option --ssl-ca=

    I have spent most of the last 18 hours reading manuals, searching the web and searching these forums for an answer, but have not found anything that worked or that even matched the issue I am having. So here goes.
    Issue: Entering the command:
    $ sudo systemctl start mysqld --ssl-ca=/path/to/ca-cert.pem --ssl-cert=/path/to/server-cert.pem --ssl-key=/path/to/server-key.pem
    and pressing 'Enter' only gets me this error:
    systemctl: unrecognized option '--ssl-ca=/path/to/ca-cert.pem'
    OR it will act as though it accepted the command but the server does not start. And they happen with about equal frequency.
    Does anyone have any ideas as to what is going on?
    Again, I have read the manuals - all of them. I have followed directions found on nearly every single hit that came up on google and bing in the last 18 hours. I've tried with both MySQL 5.6.15 Source distribution from the AUR and with MariaDB. I have added these options to /etc/mysql/my.cnf (there are no other copies on the system):
    [client]
    ssl-ca=/path/to/ca-cert.pem
    ssl-cert=/path/to/client-cert.pem
    ssl-key=/path/to/client-key.pem
    [mysqld]
    ssl-ca=/path/to/ca-cert.pem
    ssl-cert=/path/to/server-cert.pem
    ssl-key=/path/to/server-key.pem
    And still, nothing. I have verified that MySQL is in fact SSL capable, per the directions in the documentation. Still, no dice.
    This thing seems intent on keeping me from using SSL.
    The pertinents:
        mysql --version returns: Ver 14.14 Distrib 5.6.15, for Linux (x86_64) using EditLine wrapper
        uname -a returns: Linux [hostname] 3.12.7-2-ARCH #1 SMP PREEMPT Sun Jan 12 13:09:09 CET 2014 x86_64 GNU/Linux
        In case it is worth mentioning, Arch is running on a virtual machine. VMware Player ver. 6.0.1 build-1379776 on a Windows 7 Professional host, 64-bit ver. 6.1.7601, SP1.
    I could really use some help folks.

    Spider.007 wrote:
    Okay when you are using systemctl you are instructing systemd to do something such as 'start mysqld'. Any options you pass, will be parsed by systemctl (not mysqld). That is the reason systemd complains of an unknown option (systemd doesn't have a ssl-ca option).
    The options you put in you my.cnf should be sufficient. However the mysql client doesn't automatically use ssl when connecting; so after starting mysqld (systemctl start mysqld) use the client to see if ssl works:
    mysql --ssl-ca=/path/to/ca-cert.pem
    If you client connects successful that doesn't mean it's using ssl though, enter '\s' and check if ssl is enabled.
    No dice:
    $ mysql --ssl-ca=/path/to/ca-cert.pem
    Welcome to the MySQL monitor. Commands end with ; or \g
    Your MySQL connection id is 4
    Server version: 5.6.15 Source distribution
    Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trade..../* You get the idea... */
    mysql> \s
    mysql Ver 14.14 Distrib 5.6.15, for Linux (x86_64) using Editline wrapper
    Connection id: 4
    Current database:
    Current user: user@localhost
    SSL: Not in use
    /* ......and the rest of the usual... */
    mysql>
    So. No deal.

  • Pptpd / pppd: unrecognized option '[]'

    I am having trouble setting up a simple pptpd server on my homeserver.
    My server has ip 192.168.0.2
    It connects to a router which has ip 192.168.0.1
    I'm trying to connect using an iPad 3 from my work.
    Output from /var/log/everything when connecting:
    May 3 10:52:56 localhost pptpd[26750]: MGR: Launching /usr/sbin/pptpctrl to handle client
    May 3 10:52:56 localhost pptpd[26750]: CTRL: local address = 192.168.0.2
    May 3 10:52:56 localhost pptpd[26750]: CTRL: remote address = 192.168.0.234
    May 3 10:52:56 localhost pptpd[26750]: CTRL: pppd options file = /etc/ppp/options.pptpd
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Client XX.XX.XXX.XX control connection started
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Received PPTP Control Message (type: 1)
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Made a START CTRL CONN RPLY packet
    May 3 10:52:56 localhost pptpd[26750]: CTRL: I wrote 156 bytes to the client.
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Sent packet to client
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Received PPTP Control Message (type: 7)
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Set parameters to 100000000 maxbps, 64 window size
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Made a OUT CALL RPLY packet
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Starting call (launching pppd, opening GRE)
    May 3 10:52:56 localhost pptpd[26750]: CTRL: pty_fd = 6
    May 3 10:52:56 localhost pptpd[26750]: CTRL: tty_fd = 7
    May 3 10:52:56 localhost pptpd[26750]: CTRL: I wrote 32 bytes to the client.
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Sent packet to client
    May 3 10:52:56 localhost pptpd[26751]: CTRL (PPPD Launcher): program binary = /usr/sbin/pppd
    May 3 10:52:56 localhost pptpd[26751]: CTRL (PPPD Launcher): local address = 192.168.0.2
    May 3 10:52:56 localhost pptpd[26751]: CTRL (PPPD Launcher): remote address = 192.168.0.234
    May 3 10:52:56 localhost pppd[26751]: unrecognized option ''
    May 3 10:52:56 localhost pptpd[26750]: GRE: read(fd=6,buffer=6075a0,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
    May 3 10:52:56 localhost pptpd[26750]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7)
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Reaping child PPP[26751]
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Client XX.XX.XXX.XX control connection finished
    May 3 10:52:56 localhost pptpd[26750]: CTRL: Exiting now
    May 3 10:52:56 localhost pptpd[26747]: MGR: Reaped child 26750
    Notice the line unrecognized option '', it has a square between the '' (like '[]')meaning it can't display that char, but I have no idea in which config file that could be...
    Output from /var/log/everything when restarting pptpd (rc.d restart pptpd):
    May 3 11:01:36 localhost pptpd[26965]: MGR: Maximum of 100 connections reduced to 6, not enough IP addresses given
    May 3 11:01:36 localhost pptpd[26966]: MGR: Manager process started
    May 3 11:01:36 localhost pptpd[26966]: MGR: Maximum of 6 connections available
    My /etc/ppp/options.pptpd
    name pptpd
    refuse-pap
    refuse-chap
    refuse-mschap
    require-mschap-v2
    require-mppe-128
    ms-dns 208.67.222.222
    ms-dns 208.67.220.220
    proxyarp
    debug
    lock
    nobsdcomp
    novj
    novjccomp
    nologfd
    My /etc/pptpd.conf
    option /etc/ppp/options.pptpd
    debug
    logwtmp
    localip 192.168.0.2
    remoteip 192.168.0.234-238,192.168.0.245
    I hope someone can help me with this!

    I met the same problem after upgrading my pptpd. It seems to be a upstream bug, as I find the following code snippet in pptpctrl.c :
    if (*pppaddrs[0] || *pppaddrs[1]) {
    char pppInterfaceIPs[33];
    sprintf(pppInterfaceIPs, "%s:%s", pppaddrs[0], pppaddrs[1]);
    pppd_argv[an++] = pppInterfaceIPs;
    the pointer to "pppInterfaceIPs" becomes invalid after the if block.
    I simply move the "char pppInterfaceIPs[33];" line out of the if block and recompile the package. Then it works again.

  • JSPC Error "Unrecognized option: -v0."

    Hii All
    I get this Error (shown below) when i try to compile my Jsp using ANT builder.What can be the reason behind this error.
    Thankx in advance
    Vikash
    /////////////////////// Error is shown below ////////////////////////////////.
    Buildfile: build.xml
    jspc:
    compile:
    [jspc] Compiling 79 source filesC:\ant\${webapp.path}\dest
    [jasperc] error:org.apache.jasper.JasperException: Unrecognized option: -v0.
    Use -help for help.
    [jasperc] at org.apache.jasper.JspC.setArgs(JspC.java:306)
    [jasperc] at org.apache.jasper.JspC.main(JspC.java:230)
    all:
    BUILD SUCCESSFUL
    Total time: 13 seconds
    //////////////////////////Build.xml is shown below ////////////////////
    <project name="Webapp Precompilation" default="all" basedir=".">
    <target name="jspc">
    <taskdef classname="org.apache.jasper.JspC" name="jasper2" >
    <classpath id="jspc.classpath">
    <pathelement location="C:\Program Files\Apache Software Foundation\Tomcat 5.0/../lib/tools.jar"/>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/bin">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/server/lib">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/lib">
    <include name="*.jar"/>
    </fileset>
    </classpath>
    </taskdef>
    <jasper2
    validateXml="false"
    uriroot="${webapp.path}"
    webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml"
    outputDir="${webapp.path}/WEB-INF/src" />
    </target>
    <target name="compile">
    <mkdir dir="${webapp.path}/WEB-INF/classes"/>
    <mkdir dir="${webapp.path}/WEB-INF/lib"/>
    <jspc destdir="${webapp.path}/dest"
    srcdir="${webapp.path}/WEB-INF/src"
    excludes="**/*.smap">
    <classpath>
    <pathelement location="${webapp.path}/WEB-INF/classes"/>
    <fileset dir="${webapp.path}/WEB-INF/lib">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/classes"/>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/common/lib">
    <include name="*.jar"/>
    </fileset>
    <pathelement location="C:\Program Files\Apache Software Foundation\Tomcat 5.0/shared/classes"/>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/shared/lib">
    <include name="*.jar"/>
    </fileset>
    <fileset dir="C:\Program Files\Apache Software Foundation\Tomcat 5.0/bin">
    <include name="*.jar"/>
    </fileset>
    </classpath>
    <include name="**" />
    <exclude name="tags/**" />
    </jspc>
    </target>
    <target name="all" depends="jspc,compile">
    </target>
    </project>

    Hi,
    I've had this problem too. The -v options is meant to set the verbosity of the compilation but it doesn't seem to like it. I tried to see which versions of jasper/ ant were at fault (because an old script of mine broke) but couldn't find it quickly so I simply did a little hack in the ant 1.6.1 source to the file
    \apache-ant-1.6.1\src\main\org\apache\tools\ant\taskdefs\optional\jsp\compilers\JasperC.java
    where I commented out the line in setupJasperCommand()
    private CommandlineJava setupJasperCommand() {
    addArg(cmd, "-p", jspc.getPackage());
    // addArg(cmd, "-v" + jspc.getVerbose());
    addArg(cmd, "-uriroot", jspc.getUriroot());
    then rebuilt ant and the problem went away.
    Cheers
    Evan

  • Unable to boot weblogic webserver, Unrecognized option: -jrockit

    Hello Experts,
    I am configuring first webserver domain in newly installed Peopletools 8.51 and FSCM 9.1 environment.
    Below are the details --
    Server -- Windows Server 2008R2 (64bit)
    Weblogic -- 10.3.6 (64 bit)
    JDK -- jdk1.7.0.21 (64 bit)
    While installing I took care of spaces and everything and now every variable is pointing to right direction but when I try to start the weblogic domain I get the following error --
    C:\FSCNFG\webserv\FSCNFG\bin>set JAVA_HOME=C:\Java\jdk1.7.0_21
    C:\FSCNFG\webserv\FSCNFG\bin>set PATH=%JAVA_HOME%/bin;%PATH%
    C:\FSCNFG\webserv\FSCNFG\bin>set USER_MEM_ARGS=-Xms32m -Xmx200m -XX:MaxPermSize=350m
    C:\FSCNFG\webserv\FSCNFG\bin>startPIA.cmd
    Attempting to start WebLogic Server 'PIA'
    starting weblogic with Java version:
    java version "1.7.0_21"
    Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
    java -jrockit -XnoOpt -XXnoJITInline -Xms512m -Xmx512m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform -Djava.util.logging.config.file=C:\FSCNFG\webserv\FSCNFG\
    piaconfig\properties\logging.properties -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Dweblogic.Name=PIA -Dps_vault=C:\FSCNFG\webserv\FSCNFG\piaconf
    ig\properties\psvault -Djavax.net.ssl.trustStore="C:/FSCNFG\webserv\FSCNFG\piaconfig\keystore\pskey" -Dweblogic.ProductionModeEnabled=true -Djava.security.policy=C:\Oracle\MIDDLE~1\
    WLSERV~1.3\server\lib\weblogic.policy -Dssl.debug=false -Dps_home="C:/FSCNFG" weblogic.Server
    Unrecognized option: -jrockit
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    WebLogic is no longer running.
    I tried google it but there is no resolution found on this one.
    Appreciate your help in this regard.
    Regards,
    Rahul

    I am able to boot the app server by changing in the configuration file -->setENV.cmd.
    I put -server instead of -jrockit, i don't know why it is pointing to -jrockit.
    Below is the value that I put -->
    SET JAVA_OPTIONS_WIN=-server -Xms256m -Xmx256m -XX:CompileThreshold=8000 -XX:MaxPermSize=128m
    in place of below value-->
    SET JAVA_OPTIONS_WIN=-jrockit -XnoOpt -XXnoJITInline -Xms512m -Xmx512m -Dtoplink.xml.platform=oracle.toplink.platform.xml.jaxp.JAXPPlatform
    I am still not able to check the status of the server and shut it down properly.
    Any suggestions ?
    Regards,
    Rahul

  • Oracle SOA not starting Unrecognized option: -jrockit

    Hi,
    I installed Oracle SOA 11.1.1.5 on my windows 7 box. Downloaded the 64 bit JDK also. But when I run startWebLogic.cmd am getting the below error. It keeps complaining about -jrockit option don't know where it's coming from I don't have JRockit installed anywhere on the system so wondering where is this picking from.
    starting weblogic with Java version:
    Unrecognized option: -jrockit
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
    Starting WLS with line:
    C:\Software\install\Java\JDK17~1.0_1\bin\java -jrockit   -Xms768m -Xmx1536m -Dwe
    blogic.Name=AdminServer -Djava.security.policy=C:\Software\install\fmw\WLSERV~1.
    classpath  weblogic.Server
    Unrecognized option: -jrockit
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.Thanks

    Hi:
    Did u try to remove *"-jrockit"* and start the server? Also what is the JAVA_HOME you have set?
    Regards,
    RK

Maybe you are looking for

  • Encrypt a second hard drive with ecryptfs

    Hey folks, I already encrypted my home directory as describend in the wiki here: https://wiki.archlinux.org/index.php/EC … 8simple.29 mount says /home/.ecryptfs/michael/.Private on /home/michael type ecryptfs (rw,nosuid,nodev,relatime,ecryptfs_fnek_s

  • Protect Condition Value Column in VA01

    I have a security problem on my sales orders: If somebody adds a line and enters the discount Z condition and some number on the value column, SAP updates the Order without going thru the regular checks of discount limit which it does on the amount c

  • Summarization Profit Center Document

    Hi, I want to summarize accounting documents, CO documents and profit center documents when we posting a SD invoice, because documents have many items. The transaction to summarize FI documents is OBCY. The transaction to summarize CO documents is OK

  • Skins in 11.1.1.7

    Is the process of deploying a new skin or stylesheet very different in 11.1.1.7 ? I heard there was a way to do it from the UI, is this true? -AK

  • Setting for no dependent reqmt should generate for bulk material

    Hello guys,    I know that for bulk materials system doesn't create any dependent reqmt. In other words system doesn't consider these materials in planning run.But for information purpose you can see the planned order no for bulk material in producti