Problem compiling a project with FORTE

Hi, thanks in advance ,
I've installed FORTE 6 update 2 and all has gone ok .
I've built two projects without problems.
But building a big project i've found nexts problems :
bash-2.03# /opt/SUNWspro/bin/makeprd myproject_file.prd
ild: (undefined symbol) st_key_create -- referenced in the text segment of output/b.o
ild: (undefined symbol) st_key_create -- referenced in the text segment of output/a.o
ild: (undefined symbol) mysql_store_result -- referenced in the text segment of output/a .o
ild: (undefined symbol) mysql_num_rows -- referenced in the text segment of output/b.o
*** Error code 5
dmake: Fatal error: Command failed for target `output/final_file'
All the files has compiled ok less files makes calls to a MYSQL and ST library .
I've already tell to my prd where found a library in mysql ( /usr/local/mysql/lib and include ) and ST library ( $HOME/st.h and st.a" ), but i don't understand why ild can't found this symbols ...
In mysql.h you can find :
mysql_store_result , mysql_num_rows
and in the st.h the other functions ...
I've found declarations( in .h) and functions ( in .a )
What's the problem ?, anybody can help me ?
Thanks

I'm sorry Mike, but I want to be clear on what you are saying.  Are you saying NOT to include it in my project but rather include it in the "always included" box in the application builder? 
What do you mean by "You shouldn't do it, because your fixed path would be wrong."  What shouldn't I do?  Add it to my project?  I asked a lot of questions and am not sure to what you are referring.
Thanks again for the reply.
Reese
Reese, (former CLAD, future CLD)
Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home

Similar Messages

  • Qsort problems on Solaris 10 with Forte 6.0u2

    All,
    I know the Forte version is a bit behind - but I'm stuck with it.
    I'm trying to port some software we have working on Solaris 2.6 thru Solaris 9 over to Solaris 10, but am having some trouble linking my executable due to the extern "C++" declaration of qsort in /usr/include/iso/stdlib_iso.h.
    The problem is easily visible with a simple test program.
    #include <stdlib.h>
    int comp(const void pv1, const void pv2)
    return 1;
    int main(int argc, char *argv[])
    int iArray[20];
    std::qsort((void *)&iArray[0],
    sizeof(iArray)/sizeof(iArray[0]),
    sizeof(iArray[0]),
    comp);
    return 0;
    Yes it's non-functional, but it's sufficient for displaying my problem.
    If I compile with the C compiler (cc) it compiles clean - however when I compile with the C++ compiler (CC).....
    [tony@sol10]:~/export:29 % CC -o testqsort testqsort.c
    Undefined first referenced
    symbol in file
    void std::qsort(void*,unsigned,unsigned,int(*)(const void*,const void*)) testqsort.o
    ld: fatal: Symbol referencing errors. No output written to testqsort
    Now it's obvious to me that the problem is due to the fact that under the C++ compiler qsort is now (under Solaris 10) getting declared as extern "C++", but I'm not sure how I can resolve this. I know that qsort is implemented in libc, but this obviously isn't sufficient due to the shift of namespace. Yes, I need to use the C++ compiler as my code is C++, only my test code is valid C.
    Can anybody lend some assistance? Is there just another lib I need to link to? I'm expecting this to be something basic that I'll be embarrassed about when it's pointed out. But for now I'm stumped. Running nm across all my libs yielded no implementation apart from in libc.so.
    Thanks in advance
    Tony

    Standard C++ defines two versions of qsort (and also bsearch): one that takes a pointer to a C function, and one that takes a pointer to a C++ function.
    Recall that in standard C++, a pointer to a C function has a different type than a pointer to a C++ function. This issue is discussed at length in the C++ Migration Guide that comes with the compiler.
    The version of qsort that takes a pointer to a C function is the C version of qsort, and is in libc.so (the basic Solaris runtime library that all programs use).
    The version of qsort that takes a pointer to a C++ function is in the C++ runtime library libCrun.so that all C++ programs use.
    But because it took a while for Solaris headers to be updated to the C++ requirement, early versions of libCrun did not have the C++ version of qsort (or bsearch). If you get the latest C++ runtime library patch (SUNWlibC) for your system, your program should link. You can get patches here:
    http://developers.sun.com/prodtech/cc/downloads/patches/index.html
    Not only the system where you build the program needs updating, but every system that runs the program you build.
    Alternatively, you can declare the comparison function extern "C" so that the C version of qsort will be used.
    extern "C"
    int comp(const void pv1, const void pv2)
    But if the comparison function is in a namespace or is a class member function, you cannot usefully declare it extern "C".

  • Project manager - problem exporting a project with AE compositions.

    I have a problem exporting my project to another disk, this is what happens:
    I needed to move the project from the windows partition of my Mac to the Mac partition, in order to be able to continue my edit under MacOS, my sequences include a series of After Effects compositions of footage that has been stabilized in warp stabilizer using the option "replace with AE composition" from the timeline.
    Using the project manager I started my backup operation, with these options:
    Source: all sequences selected
    Resulting Project: Collect files and copy to new location
    Include Audio conform files
    Destination: a folder in the Mac partition
    The resulting project had a message popping up saying that AE rpject file is missing (it was, I had to manually copy and paste it from ithe win partition to the mac) and once copied obviously AE couldn't find the source video clips of its compositions, so I had to manually re-link them all  (quite difficult job to do among almost two years of footage).
    What have I done wrong ?
    Why AE lose the connection with the fils?
    Thanks

    Thanks Jim,
    I understand that Adobe Anywhere solves this, but there should be this fairly basic functionality (which exists in Avid and FCP) in a non-enterprise edition of the software.  I have submitted a couple different feature requests about this, going back to CS5, so hopefully enough people make similar requests for a fix to be implemented.  Adobe Anywhere is really not a solution for our small shop as currently configured/priced, especially when we can have editors working remotely with very affordable USB 3 drives.  The only hangup is the markers, which just isn't worth a 5 figure fix.  As such it's hard to consider the problem solved for either us or any small shop or post crew.
    Best,
    Jon

  • KPIC problem when creating so with Forte C++

    Hi,
    I am trying to create a shared object library using Forte C++. The project contains about 80 files, all of which are compiled separately with the -KPIC option set. Whe I try to create the library (using the -G) option I get an error that says something similar to:
    Too many small pic references
    4785 found, 2048 max, try compiling some modules using -K PIC
    Since all the modules WERE compiled with -KPIC and not -Kpic, this message doen't make a lot of sense to me.
    What am I missing?
    If it makes a difference, this project is being built under Solaris 2.6.
    TIA,
    Dan S.

    I see this is an old posting, but for the benefit of anyone else reading this, -G does a -Kpic automatically.
    The -Kpic will override the -KPIC.
    Try -xcode=pic32 and you will see a clearer error message.

  • Problem activating a project with screen-exit

    Hi!
    Could somebody guide me to activate a project that has the enhancement MM06E005, with many screen-exits?
    In this enhancement, has many screen exits and I only implemented the 0101 screen (it's appears in me23n).
    When I activated the project, the CMOD activated all the screen-exits and put a flag means that all screen exits is implemented, and I only implemented the 0101 screen.
    And the problem is, I send the request with this activated project to production and the transaction ME41 generated a dump cause the screen 0301 not is created (this 0301 screen is in MM06E005 and I'm not use, I'm not implemented, but the CMOD activated).
    I was clear with my problem?
    Thanks in advanced!!!

    Hi,
    That is because it checks whether that exit has been implemented or not.
    In case it finds no screen it doesn't go and look for it.
    My concern is that in Dev if you go and check against that screen which is giving error it should say something like 'there is no screen existing ' or something to that effect but if by mistake when you click it shows a screen then there is an issue.
    Also, for the solution, what you can do is deactivate this enhancement project in production and then in Dev also deactivate it. Delete this project and assign it to a new project and then sent it to Production.
    I am sure this will solve your issue.
    I have also checked in my system and when you activate an enhancement project it put's a 'tick' mark against each screen exit meaning it's implemented even for those which have not been created and we are not experiencing any issue currently in this regard
    Hope this helps
    Regards
    Nishant

  • Compiling a project with referenced VI

    Hello All,
    -I am referencing a VI in my project using Open VI Reference (see attachment). 
    -The VI is under a folder in my Program Files directory and is referenced statically in my project, and is separate from my project folder.  So there is no calling VI for my reference VI, which has four sub-VI contained therein. 
    -Now my referenced VI is part of my project, even though it has no calling VI. 
    Does it need to be in my project?  I would think not, since there is no direct link to the referenced vi inside my project, aside from the static file path. 
    How does the app. builder treat this referenced VI when it creates an .exe?  Does it leave the referenced VI in the Program Files directory since that is the reference path or does it get included with all the other compiled VIs into the executable?  Should it be removed from my project?  Perhaps I am missing something and need to create the referenced VI as a separate build.  I don't know.
    Any information you can give would be greatly appreciated.  Thanks.
    Reese
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home
    Attachments:
    reference vi open fp.png ‏28 KB

    I'm sorry Mike, but I want to be clear on what you are saying.  Are you saying NOT to include it in my project but rather include it in the "always included" box in the application builder? 
    What do you mean by "You shouldn't do it, because your fixed path would be wrong."  What shouldn't I do?  Add it to my project?  I asked a lot of questions and am not sure to what you are referring.
    Thanks again for the reply.
    Reese
    Reese, (former CLAD, future CLD)
    Some people call me the Space Cowboy!
    Some call me the gangster of love.
    Some people call me MoReese!
    ...I'm right here baby, right here, right here, right here at home

  • Problem sharing iMovie project with media browser

    Having prepared a movie in IMovie I tried to share it with media browser at 1020p HD.  After 2 hours of processing I got the following error message.  What does it mean and what can I do to fix?  I shared at the mobile level and it worked.
    "Unable to prepare project for publishing.
    The project could not be prepared for publishing because an error occurred. (File already open with with write permission)"

    I know what the problem is, it's related to Time Machine on laptops running the 10.7 Lion OS.
    This requires using the Terminal app, in your Applications/Utilities folder
    To turn off Time Machine snapshots type in the following command:
    sudo tmutil disablelocal
    The Mac will likely ask for your password, so type it in and hit the return key. The type the word, exit and hit return. Quit Terminal.
    Open iMovie and try doing another export and see if the same error message pops up.

  • Compile Netbeans Project with

    I've seen other NetBeans questions in this forum, so I think it is appropriate to post here.
    I'm using NetBeans 5.5 and I'm getting the "you're using a deprecated method" warning. How can I configure NetBeans to compile with
    -Xlint:deprecation?
    Thanks...

    Actually, you should post NetBeans questions to
    http://netbeans.org

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

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

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

  • Problem with compiling STL using program with Forte C++ 6 update 1 in compat mode

    I try to compile SGI STL using program with Forte C++ 6 update 1 and I get an errror
    ld -L/opt/SUNWspro/WS6U1/lib -liostream test.o -o test
    Undefined first referenced
    symbol in file
    __0oNIostream_initctv test.o
    __0oNIostream_initdtv test.o
    Iostream_init - declared as a static class CC4/iostream.h, but nm libiostream.a produce
    __1cNIostream_init2T6M_v_
    __1cNIostream_init2t6M_v_
    and program can't link.
    What's wrong?
    Thank you for any comments

    Hi!
    I experienced the same problem and the solution looks like the following: in sunpro6.mak file there is a variable STL_INCL that has the following value: -I. -I${PWD}/../stlport
    Change that to -I. -I${PWD}/../stlport/SC5 and the problem vanishes. The reason is that stlport/SC5 contains files *.SUNWCCh which are used by SUNpro C++ compiler as standard headers and contain correct STLPort namespace information.
    Regars,
    Art

  • Problem running Lex in project created with Forte C++

    I am having a problem running Lex in project using Forte C++ 6. I believe I may have an installation problem, but can't figure out where it is.
    I created the project using Workshop. The make file generated is trying to run the following command: lex -o output/cmdscan.o cmsscan.l
    Which causes the following error message lex: illegal option -- o
    I checked the man pages and Lex doesn't have a -o option.
    Is there another version of Lex installed by Forte C++ that is different than Lex from Solaris?
    Ron

    I created the project using Workshop. The make file generated is trying to run the following command: lex -o output/cmdscan.o cmsscan.l
    Which causes the following error message lex: illegal option -- o
    I checked the man pages and Lex doesn't have a -o option.
    Yes, try in google.com
    Wishes , a [url http://personallfiles.com/Grant.Scholarship.asp]federal grant and scholarship-in need for me

  • Problem with Fort�

    I'm having a problem reading from a file in Fort�. My program works in TextPad, but when I try running it with Fort�, it throws a FileNotFoundException...
    I was wondering if I have to include it in a project or something like that?
    Any help would be great.
    Thanks.

    Probably, your file is saved on a package, with something like this:
    package com.something.util;
    When you declare a statement like that, the default directory is now the base directory of the package, that's the directory that contains the "com" subdirectory.
    If you try to read a file named "file.txt" in the "util" directory, the relative path of the file, would be:
    "com\something\util\file.txt"
    If you simply write:
    "file.txt"
    the system would look for that file in the directory that contains "com".
    When you execute this program in the command line, you are positioned in the base directory, doesn't you?
    That's the default directory and so, the system finds the file.
    Hope that helps!

  • Problems compiling with packages

    Hi,
    I wonder if anyone could help me.
    I have had problems compiling using a package. I have altered the classpath in autoexec.bat with:
    SET CLASSPATH=%classpath%;C:\jdk1.3.1_02\classes;.
    the package class files are stored in C:\jdk1.3.1_02\classes\helliker\id3
    and I have imported the class with:
    import helliker.id3.*;
    I am getting the following error:
    C:\My Documents\Uni work\mp3 project\test\Driver.java:1: package helliker.id3 does not exist
    import helliker.id3.*;
    ^
    Can anybody help?
    Thanks,
    Dave

    Perhaps the version of Windows you are using does not use autoexec.bat. For example, in NT and XP, you set Classpath using ControlPanel/System/Advanced/Environment Variables.
    Perhaps there is a typo in your Classpath, for example an extra space.
    On a command line, try this:
    javac -classpath C:\jdk1.3.1_02\classes C:\My Documents\Uni work\mp3 project\test\Driver.java
    If that works, then definitely Classpath is not set as you think it is.

  • Compile a project that uses Spark modules (SDK 4.5) with FB4.1?

    Is it possible to compile a project that uses Spark modules with Flash Builder 4.1?
    I've added SDK 4.5 to FB and selected it in the project properties (no problems here).
    But how about the 'Flex modules' tab in the project properties window, will it be able to add Spark modules to the application?

    Yes, you will be able to use s:Module with FB 4. You'll have to do a new MXML component, then go to Flex Modules and click on the add button. (The new module wizard there won't support the spark module)
    However, please note that this is unsupported in the sense that we haven't tried that out at our end. (But I personally have and it works )
    -Anirudh

  • Can't compile JSPs with Forte 4

    I upgraded to forte 4 CE. Now I cannot compile my JSP's because they are not finding my class files.
    They all worked in Forte 3 ce.
    If I have class MyClass()
    and try to create an instance in my JSP
    MyClass mc = new MyClass()
    It gives the 'cannot resolve symbol' error on MyClass object.
    What happened? I haven't changed anything. I have about 10 jsps and a bunch of Classes that all worked and now don't.
    I checked the product support for Forte and couldn't find anything.
    If anybody else had this problem and figured it out please post your solution.
    Thanks.
    -chiranjp

    i am having the same problem using my "homemade" class with forte.
    I have all of the .java and .class files and even have a .jar file but it still cannot find them
    could you please give me more details on how you reached your solution?
    where did you place the files so that forte found them?
    any and all help is greatly appreciated.
    thanks
    -j

Maybe you are looking for

  • Can't access Aperture 2 now!

    I have installed the trial of 3 and ordered the box - why you can't just get an unlock code instead I don't know. That aside, I have a problem. Aperture 3 won't open my Aperture 2 library. Aperture 2 won't open at all - it says that it cannot open th

  • How to remove/uninstall custom installed perl modules?

    Hello all. Yesterday I upgraded from 10.3.7 to 10.4.5, then started to reinstall a bundle of perl modules (via the Terminal and 'perl Makefile.PL -- make -- make test -- [sudo] make install'). As I saw too late, some of those modules I installed are

  • Balance sheet process

    Hi all, Our client preparing Balance sheet in SAP ECC 5.0. Here go-live date is from 01.04.2006. Till now they didnot run the depreciation for last year. Now they are reconciling before dep.run. Can any one tell me what areas I have to check as a Con

  • BW implementation for SAP HCM.

    Dear Experts I am on a new project where they need to do HR Data Migration from PeopleSoft (Legacy System) into SAP ECC. The Client wants me to implement SAP BW (New Implementation) doing the following Functional Areas for SAP HCM: 1. Personnel Admin

  • TS4083 i just updated to the icloud n new ios update and all my email folders are gone how can i fix this

    i just updated to the icloud n new ios update and all my email folders are gone how can i fix this