Problem in compiling with -g option

I am using forte5.1 compiler. While compiling my whole source code with -g option, for some of the files, the compilation is successfully but for some files I am getting en error as ">> Assertion (../link/dbg_stcomm.cc, line 271) while processing srsCallbacks.C at line 0. Error code 1. make:Fatal error". If I try to compile the whole source code without -g option my whole compilation is successfull. I have downloaded all the required patches for this. Previously I was using compiler 5.0 and I was not getting any error with -g option. Can u just tell me why am I facing this problem specifically with forte5.1 and not with 5.0. How can I resolve this problem so as to compile the whole source code with -g option?

Hi,
I think you will need patch:
Patch-ID# 109490-01
Synopsis: C++ 5.1: Patch for Forte Development 6 C++ compiler
As it appears that you are hitting bug id # 4312608
"Assertion: (../links/dbg_stcomm.cc, line 271)"
Can you confirm whether you are having this patch by doing:
"CC -V" or "showrev -p"
Thanks,
Gopinath.
Sun - DTS.

Similar Messages

  • Compiling with debug option

    How to give user Compiling with debug option, i have try to by giving grant debug any procedure and debug connect session but it failed.
    Any ideas?
    Edited by: rootsman on Jul 15, 2010 12:00 AM

    Post the error screenshot..
    eg:
    grant DEBUG CONNECT SESSION to username;
    grant DEBUG ANY PROCEDURE to username;
    Check the below explanation:
    DEBUGGING:
    DEBUG CONNECT SESSION
    Connect the current session to a debugger that uses the Java Debug Wire Protocol (JDWP).
    DEBUG ANY PROCEDURE
    Debug all PL/SQL and Java code in any database object; displayinformation on all SQL statements executed by the application
    Note: Granting this privilege is equivalent to granting the DEBUG object privilege on all applicable objects in the database.

  • Problem in compile with JDeveloper

    Compile with JDeveloper failded if the class didn't implement the abstract method of it's super abstract class. But it is ok wiht other IDE(VisualCafe, Eclipse, JBuilder...).
    It seems that JDeveloper is more strict than other IDEs.
    Anyone can tell me how to avoid this error? TIA.

    I've found out the reason.
    JDeveloper will try to compile all the source files the project used even they're not added into the project.
    I have ClassA extend abstract ClassB, and ClassB extend abstract ClassC and implement the abstract methods of ClassC, they can all be compiled. And then I got a wrong source file of classB which didn't has the methods. Maybe I've kept this wrong source file for a long time but didn't get any trouble until I began to use JDeveloper and got the error.
    Since I didn't add ClassB into the project and classB.class didn't changed. So I didn't noticed that a wrong source file caused the problem.
    Thank you! :-)

  • Codepage problem when compiling with fastjavac

    Hi,
    I'm getting the following warnings when compiling with fastjavac:
    fastjavac: warning: Can't find codepage for "Cp1250" encoding.
    fastjavac: warning: Use default ANSI codepage.
    2 warnings
    How could I suppress these warnings?
    Thanks in advance

    I think you are posting it on the wrong Forum. This is for Forte 4GL not Forte for Java.

  • Problem in compiling with ant?

    Hi,
    I have problem with compiling using ant ..i have build file...and properly place directories.......
    C:/>ant build
    It's giving an error as "Exception in thread "main" java.lang.NoClassDefFoundError: build"
    can any one help me to solve this problem

    Cross-Post:
    http://forum.java.sun.com/thread.jspa?threadID=589924&tstart=0

  • Problem in compilation with very large number of method parameters

    I have java file which I created using WSDL2Java. Since the actual WSDL has a complex type with a large number of elements(around 600) in it, Consequently the resulting java file(from WSDL2Java) has a method that takes 600 parameters of various types. When I try to compile it using javac at command prompt, it says "Too many parameters" and doesn't compile. The same is compiling successfully using JBuilder X . The only way I could compile successfully at command prompt is by reducing the number of parameters to around 250 but unfortunately that it's not a workable solution. Does Sun specify any upper bound on number of parameters that can be passed to a method?

    ... a method that takes 600 parameters ...Not compatible with the spec, see Method Descriptors.
    When I try to compile it using javac at
    command prompt, it says "Too many parameters" and
    doesn't compile.As it should.
    The same is compiling successfully using JBuilder X .If JBuilder produces a class file, that class file may very well be invalid.
    The only way I could compile
    successfully at command prompt is by reducing the
    number of parameters to around 250Which is what the spec says.
    but unfortunately that it's not a workable solution.Pass an array of objects - an array is just one object.
    Does Sun specify
    any upper bound on number of parameters that can be
    passed to a method?Yes.

  • Compiling with gcc options

    Hi,
    I am trying to convert a standalone 'C' library code consisting of ~ 100 h files + 200 c files into 'swc' and run it.
    The starting point is a c file called jaz.c.
    If I compile using command --> gcc jaz.c -O3 -Wall -swc -o jaz.swc, the swc file which is generated is very small size of 141 kb, and the application does not run.
    So I decided to change the strategy. I used the following command first to create '.o' files -->
    gcc -I. xfname.c                             //'xfname.c' gets converted to 'xfname.o'
    -g -c                                             //various compiler options starts
    -DW_NOTACC
    -DSSA_CPU_X86_64=1
    -DSSA_CPU_LITTLEENDIAN=1
    -DSSA_CPU_64BIT_LONG=1
    -DSSA_CPU_64BIT_PTR=1
    -DSSA_OS_UNIX=1
    -DSSA_OS_LINUX_ANY=1
    -DSSA_OS_UNIX_LAX=1
    -D_XOPEN_SOURCE=500
    -D_BSD_SOURCE
    -D_SVID_SOURCE
    -DEJSAS=1
    -DFMTDLL_COMPILE=1
    -IC:/FormatDocs/Standalone/TKLAX/h       //Path to various 'h' files/
    -IC:/FormatDocs/Standalone/TKPOS/h       //  -- " " ---
    -IC:/FormatDocs/Standalone/TKPKT/h
    -IC:/FormatDocs/Standalone/LAX/h
    -IC:/FormatDocs/Standalone/A64/h
    -IC:/FormatDocs/Standalone/UNX/h
    After running the command I get ~ 200 .o file.
    Then I used the command
    gcc -I. jaz.c
    xfload.o
    xfname.o
    --                                    //All 200 '.o' files included here
    -O3 -Wall -swc -o jaz.swc
    By this strategy the compiler generates a huge swc file of ~ 515 kb.
    But when I run this application the Flash AS error occours
    TypeError: Error #1006: value is not a function.
    at cmodule.jaz::FSM_format/work()[1344.achacks.as:68077]
    at <anonymous>()[1344.achacks.as:3341]
    at <anonymous>()[1344.achacks.as:3902]
    I wanted to ask 2 questions.
    - Is this way of 2 stage gcc compiling (1st gcc creates .o file, and next gcc creates swc) correct.
    - What is the meaning of this run time error  "value is not a function."
    Thanks,
    -Yogen

    Alright that did work for what I intended it to do - i.e. have gcc and make available in /usr/bin and functionning correctly. Now Xcode in itself however ... crashes everytime upon opening. Not that I need it now, but I certainly will someday - and not in that long a time, in all probability. It says it could not load the iPhone emulator plugin - and it is just the last of many errors, it says. Check Xcode's crash details out here. Thanks a lot already though !

  • "no symbolic information for "main" compile with -g option

    Hi I get the above message, and I'm sure that my make file specifies -g option. Does any one know what might be happening here?

    Hi I get the above message, and I'm sure that my make file specifies -g option. Does any one know what might be happening here?

  • Compiling with the -g option????

    Hi there,
    yeah, I would like to know if it is possible to tell if a class file has been compiled with the -g option. I would like to do this since I am writing a debugger that requires java files that have been compiled with this option - in order to access debugging information; and without it I cannot do anything.
    Thanks for your time in advance.
    - Edd.

    Have you read this?
    http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html

  • Problems with using Option key when starting up

    I have 3 internal drives using a PCI card (2 slots) that allows me to use large drives with more capacity than stock allowance on my G4 Quicksilver 867 mhz 1.5 GB RAM tower.
    All drives are Seagate Baracudas ATA: 2-400GBs and 1-200GB. I bought the 400s at the same time.
    My main drive has OSX 10.4.11 (#1), and it is backed up to Baracuda #2 (400GB) which is a slave to my Main drive (using SuperDuper All files for a mirror bootable copy). The 3rd drive has Leopard 10.5.1 for learning and trying Leopard.
    On the second PCI slot is the smaller 200GB Baracuda.
    After backing up using SuperDuper (Main to #2) as a mirror, I see #2 in the Apple > Prefs > Start Up Disk.
    After the first backup I can see all 3 drives when using Option key at startup, but instead of seeing the names of each drive under the normal hard disk icons, #2 has a SCSI icon underneath the hard drive icon, it's name (Mac BU) is missing and I can't start up to it. The other #1 and #3 looked as expected. I chose #1, it launched, fine.
    On second backup, #2 is still in Prefs > Start up Disk panel, but this time doesn't show up on when using the Option key at start up. I have replicated this, but erasing #2, rebacking up twice.
    With only the #1 and #3 drives showing at start up with Option key and #1 selected in the Start up Disk panel, I chose #3 (Leopard) in the Option window view, and my G4 froze at the gray apple screen. I hard shut downed, powered up and the G4 defaulted to Main (10.4.11)
    I selected #3 Leopard in Prefs > Start Up Disk, restarted OK.
    I restarted with the Option key (only #1 and #3 show) and now my main drive didn't have it's name only the SCSI icon under the normal hard disk icon like #3 was doing. UGH!
    Nervously, I chose #3 with Leopard and the G4 started up to it OK.
    I then reselected my Main #1 drive in the Start Up Disk panel, restarted to #1 OK.
    OK, problems summary:
    1) I can't use SuperDuper to create a blessed bootable #2 drive at Option start up, but I mention this for more info about a possible problem at Option startup, more than I want comment on SuperDuper potential bug / conflict.
    2) I didn't try choosing #3 in the Start Up Disk panel, as I was affraid the G4 would freeze and then I might not be able to select either of the other #1 or #3 at Option start up as something is wrong with using Option key start up, and #3 would have been selected in Start Up Panel, which I was afraid I might not be able to get to again.
    2) When I start up either of #1 or #3, I get momentary black screens after the gray apple screen at Option key start up and then again after the apple progress bar. This doesn't happen when I start up directly either drive when the drives are selected using the Start Up Disk panel
    When using the Option startup, I am experiencing the above problems.
    Whew, I know, but does anyone have any input and fixes?
    Thanks, in advance,
    Steven

    Hi Dave.
    Well... good news / bad news
    Turns out, I have an Acard 6280M and have 3 drives connected to it as mentioned (#1 & 2 are mirrored using SuperDuper with 10.5.1, #3 is a clean install off a new Apple OSX disk 10.5, then updated to 10.5.1)
    I also have a Firewire external drive, that I used SuperDuper to make it a mirror of #1, using the same procedure backing up #1 to #2, to test SuperDuper.
    The firmware update directions tells you to start up off a drive not on the PCI card, I used #4.
    While running off #1, I selected #4 in the Start Up disk pref and it booted OK! This seems to rule out SuperDuper being the problem - of creating a mirror from #1 to #2 (both on the Acard) and then not seeing #2 in the Option key boot screen.
    I applied the firmware, which directs you to first update the Acard driver to 2.06, which is included in the folder with the firmware updater.
    I did this and then applied the firmware updater.
    I then applied the driver upgrade to drives #1 and #2 (10.4.11) while running off #4. I did not apply the driver update to #3 (10.5.1) and restarted, using Option key.
    All 4 drives appeared successfully on screen as expected with their names!
    Then I selected each drive one by one:
    #1 = kernal panic. Hard shut down, used Option key again
    #2 = kernal panic, same as #1
    #3 = froze at gray Apple screen - no spinning gear. Hard shut down.
    Tthankfully, left Start Up disk pref to be #4 external and on restart, let the system boot off without going to the Option screen. #4 booted OK. Whew...
    So all 3 drives on the Acard, won't boot. I was concerned it was the 2.06 driver, but since it wasn't applied to #3 Leopard drive, I'm assuming the firmware is the issue and perhaps not compatible with 10.4.11 or 10.5.1?
    Two things I've not tried:
    1) With #4 selected in Sys Prefs, then using Option key and selecting #4 there too to see if using the Option key selector is a problem too.
    2) Selecting any of #1, #2, or #3 drives in Sys Prefs and restarting without Option key selector.
    My fear is that if my last working drive #4 isn't the default drive set in Sys Prefs, if Acard isn't the problem alone and there is also a problem selecting any drive using the Option key - even #4, then if #4 isn't the default and all 3 Acard drives panic on regular boot (non-Option key) and I have to hard restart, will keep defaulting to whatever drive I set in the Sys Prefs and not be able to get back to #4.
    Should I just go to my local computer store and see if they have a newer model PCI card and trash my existing one as I may have ruined it with the firmware updater?
    Thoughts?

  • Problems with Paypal option- iTunes Crashes!

    I originally experienced similar problem as others with activating paypal, getting a confim #, and then nothing. I was using Mozilla.
    Then I got a new computer, new versin of iTunes 5.0.1 and whenever I clicked on the link below the Paypal option to activate paypal account iTunes just crashes completely! This happens regardless of browser IE, or Mozilla. Anybody heard of this? Any ideas?

    I hope iTMS gets you answer! And I meant to say iTunes Music Card, not gift certificate.
    Others have signed up without CCs:
    Do I have to enter a credit card number to use an iTunes Music Card?
    A credit card is not required to purchase music using an iTunes Music Card. Learn more in this article.
    http://docs.info.apple.com/article.html?artnum=301958
    Scroll down, the part at the end says after you enter the music store card info,
    In the resulting screen, create your new Music Store account. You will have the option to enter credit card information; if you do not wish to do so, click the None button on the Payment screen.

  • I would like to ONLY buy Lightroom, but it seems like there is some problems with this option. Or is it not an option anymore? (I already have photoshop installed)

    I would like to ONLY buy Lightroom, but it seems like there is some problems with this option. Or is it not an option anymore? (I already have photoshop installed)

    Photo editor app | Download free Adobe Photoshop Lightroom 5 trial
    At the above link go down to the bottom of the page right hand side. There is a button to purchase the Lightroom Perpetual License.

  • Problem 1 in my person form: hitting ora-1401 (view with check option).

    In an earlier stage I had a table PERSON and a table ENSEMBLE.
    At some stage I decided it was not handy I was storing performing musicians in two different tables.
    So I set up a supertype, CONTRIBUTOR. PERSON is now a view on CONTRIBUTOR.
    The attribute IS_NATURAL_PERSON makes the record listed in person.
    The view definition is
    CREATE OR REPLACE FORCE VIEW "PARTITUREN"."PERSON" ("ID", "FIRST_NAME",
      "MIDDLE_INIT", "LAST_NAME", "GIVEN_NAME", "SORT_KEY", "DISPLAY_VALUE",
      "GENDER", "DATE_OF_BIRTH", "DATE_OF_BIRTH_APPROX", "LOCATION_OF_BIRTH",
      "DECEASED", "DATE_OF_DEATH", "DATE_OF_DEATH_APPROX", "LOCATION_OF_DEATH",
      "NATIONALITY", "ANV_ID", "NUMBERING_SYSTEM", "OPUSNUMBERS", "PORTRAIT",
      "MIME_TYPE", "FILE_NAME", "IS_NATURAL_PERSON", "LWTIMEST", "CREATED_BY",
      "CREATED_TS", "UPDATED_BY", "UPDATED_TS")
    AS
      SELECT
        id,
        first_name,
        middle_init,
        last_name,
        given_name,
        sort_key,
        display_value,
        gender,
        date_of_birth,
        date_of_birth_approx,
        location_of_birth,
        deceased,
        date_of_death,
        date_of_death_approx,
        location_of_death,
        nationality,
        anv_id,
        numbering_system,
        opusnumbers,
        portrait,
        mime_type,
        file_name,
        is_natural_person,
        created_ts lwtimest,
        created_by,
        created_ts,
        updated_by,
        updated_ts
      FROM
        contributor
      WHERE
        is_natural_person='Y'
    WITH CHECK OPTION;When I enter a record in Apex, I have the is_natural_person attribute default to Y.
    However I always hit ora-1401.
    It works in sql*developer and sql*plus.
    I now always have to resort to non-Gui tools to enter someone. This is nasty.
    Oracle 11.2.0.1, Apex 4.0.0.0.46
    Sybrand Bakker
    Senior Oracle DBA

    Hello .
    Some NLS charsets (such as UTF8) require more than one byte to store accented characters like "Ȩ", "ȿ", "�", "�", "ȵ", "ȭ" in the database.
    For example, when a 10 character string is inserted into a varchar2(10) column, the above messages may be signaled if your string contains accentuated characters such as "Ȩ", "ȿ", "�", �", "ȵ", "ȭ". used in languages like German
    One solution
    If the UTF8 NLS charset is being used with French, German ... characters in an Oracle database, then the size of the target column length should be set accordingly.
    Set the NLS_LANGUAGE and NLS_CHARACTERSET database parameters.
    One approach is to change the Database settings as follows:
    ALTER DATABASE CHARACTER SET WE8ISO8859P1;
    SHUTDOWN IMMEDIATE
    Onother
    According to the Oracle documentation, column length semantics determine whether the length of a column is specified in bytes or in characters. You use BYTE to specify that the length is in bytes, and you use CHAR to specify that the length is in characters. CHAR length semantics is also known as codepoint length semantics.
    Because some character sets require more than one byte for each character, a specification of 10 BYTE for a column might actually store less than 10 characters for certain character sets, but a 10 CHAR specification ensures that the column can store 10 characters, regardless of the character set.
    You set the length semantics for an Oracle database using the NLS_LENGTH_SEMANTICS initialization parameter, and all VARCHAR2 and CHAR columns use the setting specified for this initialization parameter as the default. If this initialization parameter is not set, then the default setting is BYTE.
    Edited by: Mortus on Jun 28, 2011 2:57 PM

  • Problem crating text index with PREFIX_INDEX option

    I am trying to create a text index with prefixes option for use in wildcard search scenarios.
    Here is the code I use:
    connect CTXSYS/*******
    BEGIN
    ctx_ddl.create_preference('wildcard_pref', 'BASIC_WORDLIST');
    ctx_ddl.set_attribute('wildcard_pref','PREFIX_INDEX','TRUE');
    ctx_ddl.set_attribute('wildcard_pref','PREFIX_MIN_LENGTH',3);
    ctx_ddl.set_attribute('wildcard_pref','PREFIX_MAX_LENGTH',8);
    ctx_ddl.set_attribute('wildcard_pref','SUBSTRING_INDEX','YES');
    END;
    And preference is created
    SELECT PRE_OWNER, PRE_NAME FROM CTXSYS.CTX_PREFERENCES;
    PRE_OWNER PRE_NAME
    CTXSYS WILDCARD_PREF
    CTXSYS DEFAULT_STORAGE
    CTXSYS DEFAULT_CLASSIFIER
    Now when I log as one of the database users and try to create the index,
    I got this:
    create index wildcard_idx on MY_Table(Name)
    indextype is ctxsys.context
    parameters ('WORDLIST wildcard_pref') ;
    create index wildcard_idx on MY_Table(Name)
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: wildcard_pref
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
    What I am doing wrong ? Keep in mind that I was able to create a text index without the prefixes, but a lot of the searches will be based on patial word search.
    Eventualy I would also like to make those indexes be tansactional and work as a datastore (multiple column search)
    Thanks.
    Stefan

    Problem solved.
    Atrributes and preferences had to be created by the same user creating the index.
    Log as sysdba and
    GRANT EXECUTE ON CTX_DDL TO <user_that_creates_index>
    And it works.
    Message was edited by:
    Stef4o

  • SUNWspro iostream error while compiling with SunStudio 10

    We are getting the following error when we try to compile the C++ code using SunStudio 10 on Sun Solaris Sparc server.
    We made couple of changes in the source code 1) whereever we have stream.h we replaced it with iostream.h and 2) include fstream.h whereever required.
    Can anyone tell us where did it go wrong.
    + /opt/SUNWspro/bin/CC -g -O -DHAWK -mt -lclntsh -lsocket -lnsl -I/export/home/StandardComponents/SC/include -I../../mylib -I../../include -I/opt/SUNWspro/prod/include/CC/Cstd -I. -I- -D_TRACE_ -c collectDborMtoInfo.c
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: Use ";" to terminate declarations.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: A declaration was expected instead of "'\n'".
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: Use ";" to terminate declarations.
    "/opt/SUNWspro/prod/include/CC/Cstd/iostream.h", line 20: Error: A declaration was expected instead of "'\n'".
    4 Error(s) detected.

    Remove the -I directive that points into the compiler installation. You should not have have -I or -L options that point into the compiler installation area, into /usr/include, or into /usr/lib. The CC compiler driver knows where to find system headers and libraries, and in what order to search the directories. If you force a different search order, you can break something.
    If removing -I/opt/SUNWspro/prod/include/CC/Cstd does not fix the problem, compiling with -P or -E will show you the preprocessor output, and looking at the lines with the errors will usually show the source of the problem quickly.
    BTW, you should be aware that the ".h" form of the C++ headers, like <iostream.h> and <fstream.h>, is not standard. Using them is not portable, because not all C++ implementations provide them, and those that do often have different content.

Maybe you are looking for