Linking applications for Solaris 2.5.1 using Forte C 6

Hello,
We still need to provide applications that have to run on 2.5.1. Is there a way to compile C code using Forte C 6 on Solaris 7, and deliver executables that successfully run on 2.5.1 ?
Any help would be appreciated.
Thanks.
Yves.

Ordinarily, the same source files and makefiles that work with C++ 5.0 on Solaris 2.6 should work with C++ 5.3 on Solaris 8.
You didn't say what you did to "adapt the makefile" when changing compilers and OS versions. If the compiler was installed in the default /opt location on each system, we don't think any makefile change would be required. (You might want to make changes for performance or program organization reasons, but we don't think any changes are required just to repeat a working program build.)
What happens if you use the original files that worked with C++ 5.0 on Solaris 2.6?
Are C++ 5.0 and C++ 5.3 are both installed in the same /opt directory? That isn't allowed, and will lead to strange behavior.
Are you continuing a build using the new compiler and OS in a directory containing old binary files or template cache? When changing OS and compilers, it is safest, but not strictly necessary, to rebuild all your binary files. At a minimum, you must delete the old template cache.
Are you still using C++ 5.0 in the build process? If so, you must isolate the use of C++ 5.0 and 5.3. The compilers cannot share a template cache, so you must run compiles in different locations.
Anything beyond these hints will require more support and analysis than we could provide in the Forum. You will probably need to generate a .i file from the compilation and have a support engineer look at it. If you have contract with Sun, please follow the service channel.
- Rose

Similar Messages

  • Delivering applications for Solaris 2.5.1 using Forte C 6

    Is it possible, using Forte C 6 as the development environment, on Solaris 7, to produce applications that will successfully run on Solaris 2.5.1 ?
    Any help will be appreciated.
    Thanks.
    Yves.

    Ordinarily, the same source files and makefiles that work with C++ 5.0 on Solaris 2.6 should work with C++ 5.3 on Solaris 8.
    You didn't say what you did to "adapt the makefile" when changing compilers and OS versions. If the compiler was installed in the default /opt location on each system, we don't think any makefile change would be required. (You might want to make changes for performance or program organization reasons, but we don't think any changes are required just to repeat a working program build.)
    What happens if you use the original files that worked with C++ 5.0 on Solaris 2.6?
    Are C++ 5.0 and C++ 5.3 are both installed in the same /opt directory? That isn't allowed, and will lead to strange behavior.
    Are you continuing a build using the new compiler and OS in a directory containing old binary files or template cache? When changing OS and compilers, it is safest, but not strictly necessary, to rebuild all your binary files. At a minimum, you must delete the old template cache.
    Are you still using C++ 5.0 in the build process? If so, you must isolate the use of C++ 5.0 and 5.3. The compilers cannot share a template cache, so you must run compiles in different locations.
    Anything beyond these hints will require more support and analysis than we could provide in the Forum. You will probably need to generate a .i file from the compilation and have a support engineer look at it. If you have contract with Sun, please follow the service channel.
    - Rose

  • Compiling C++ application for Solaris 5.8

    Hi,
    How can we build/compile C++ application to be deployed on Solaris 5.8 OS? Which compiler should be used for the same?
    We are exploring how this can be done. Request your help to identify the mechanism in which we can achieve this.
    We explored following but it didnt worked -
    - Using Studio 12 we build application on Solaris 10 but it is giving error at execution time
    ld.so.1: ./distmgr: fatal: libCrun.so.1: version `SUNW_1.5' not found (required by file ./distmgr)
    Questions -
    - Is Studio 12 supported on Solaris 5.8?
    - If ready made binaries are not available of Studio 12 then can be build this for 5.8? IS the source code of Studio 12 available?
    - Can Studio 12 on Solaris 10 cross complie for OS Solaris 5.8
    Thanks and Regards,
    vinit.

    I strongly advise against using WS62. Studio 11 is superior to WS6u2 by any reasonable measure. Valid source code that compiled with older compilers should continue to work correctly with later compilers. Any problems are usually due to invalid code that was incorrectly accepted by the earlier compiler. In some cases we provide compiler options to reproduce the old compiler behavior, but it is better to fix the code so that it is valid and has well-defined semantics.
    Consider also whether you would wind up mixing binaries built by WS6u2 with binaries built by a later compiler. If so, you must use the later (or latest) compiler involved to perform any link steps. That is, steps that create shared libraries or executable programs.
    We strive to maintain forward binary compatibility, meaning old binaries can be linked into new programs, but there are some issues with C++ compilers older than Studio 7 that can cause compatibility problems when the code is mixed with C++ code from newer compilers. In the worst case, a multi-threaded program can compile and link, but fail at run time, depending on compilation options used with WS6u2. It is safer to rebuild such old binaries using the newer compiler. Binaries created by Studio 7 or later compilers should not have that problem.
    I'm sorry to have to list so many caveats, but continuing to use obsolete software creates its own problems. We bring out new versions and retire old software for good reasons.

  • Create Planning Application for the first time without using workspace

    hi,all:
    I come across a problem:The Hyperion Planning Application isn't configured into the workspace,but i have to create a Hyperion Planning Application for the first time.So, have any other methods to solve this problem? Can I use other tools or something to create it?
    thanks very much

    yellow wrote:
    Hi,John,Thanks for your quick reply.
    I think after install Hyperion Planning,at first time can't create application in this address:http://localhost:8300/HyperionPlanning/ ,usually create it in workspace.
    Is the address you said different from http://localhost:8300/HyperionPlanning/?
    thanksI gave you the address to create a planning application directly - http://localhost:8300/HyperionPlanning/AppWizard.jsp
    Notice the AppWizard.jsp on the end.
    If it version 11 you will be able to create your datasource from that location, if it is version 9 then you will have to create a datasource first from the configuration utility.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Application for both internal and external use

    Hi,
    I am looking to develop an application for a small company that will be an order tracking system. The app would need to be accessible externally over the web for customers to log in and check their order status, but also internally by the company staff to update statuses, enter comments etc.
    Does anyone have any suggestions or best practices regarding security when pushing an app to the external world?
    One thing I considered was having two apps, one for the internal usage and one for the external usage, both with separate parsing schemas. Then create everything under the internal schema and grant select up to the external schema. That way it ensures at the DB level that the application can only read from certain tables. Then anything which the external site does need to update, either do it through a staging table, or grant up the appropriate tables to have insert allowed. Then put triggers on the tables which will raise an exception if columns are updated from a user who isn't authenticated etc.
    Does this all sound ok? Is it overkill? Anyone any other suggestions? I want to avoid having multiple databases or instances, simply because for the size of the company it doesn't warrant such complexity (or cost/resources). We won't be storing any "sensitive" data so to speak, but obviously need to protect against malicious intruders.
    Thanks

    When looking to design your application in this scenario it is best to assume the worst and see what impact it has on your environment. There are several attack scenarios that immediately spring to mind
    A problem in the Apex framework leads to running arbitrary SQL statements.
    A problem in the code leads to running arbitrary SQL statements.
    A problem in the code leads to cross-site scripting attacks.
    Configuration problems mean Apex components are available to the Internet.
    Obviously if cost is an issue there will always be a compromise in security so make sure you can do the the absolute best with the resources available to you. Separating the Internet side from the Internal side as much as you can is always a good idea.
    Sony was recently fined in the UK for not doing enough to protect personal data, so you should have evidence to ensure you have done the absolute best you can.
    Two things available over the internet currently to help you;
    https://secure.recx.co.uk/ApexSecUI/ - ApexSec Security Scanner
    http://www.enkitec.com/products/esert_cloud - eSert cloud
    Both provide free credits to scan your application for security problems for free.
    Edited by: Recx Ltd on Feb 6, 2013 12:12 PM

  • Compiling an application for Solaris 9 on a Solaris 10 system

    Hi,
    I was wondering if it's possible to compile an application Solaris 10 in such a way that it will run on Solaris 9.
    I'm building a set of library tools and they need to run on Solaris 9 and 10, but it'd be nice if I could build this on a Solaris 10 box.
    Is this possible, and if so, how do you do it?
    thanks,
    Trevor

    I'm working on this same issue. Unfortunetly, it appears that my only option is to compile on a Solaris 10 box for running on a Solaris 8 box. Thankfully this doesn't look too bad because after doing a 'ldd', I get that the only file I'm missing is the libm.so.2. If I can specify in the makefile to use libm.so.1 only, then all should be ok.
    So I guess my question would be: What exactly do I need to do in my makefile to explicitly link to libm.so.1? I've tried the following with no luck.
    /opt/SUNWspro/bin/cc -xCC -Bdynamic -g \
    /usr/lib/libm.so.1 \
    /opt/mylibs/my_compiled_lib.lib \
    first_obj.o \
    second_obj.o \
    -o my_program
    The above returns:
    ld: fatal: file /usr/lib/libm.so.1: open failed: No such file or directory
    ld: fatal: File processing errors. No output written to macsruntime
    However, if I change my link to /usr/lib/libm.so everything works but it is linked with the /usr/lib.libm.so.2. Any help would be appreciated.

  • Can applications for Ipad/Ipod Touch be used on a Macbook Pro?

    I'm wondering if applications in the app store for Ipad and Ipod can be used on a Macbook Pro? 

    Well it's two completely separate operating systems so it shouldn't be a big surprise.

  • How can I get rid of the vuzit application for pdf downloads and, instead, use Acrobat?

    When I try to access a document that is in pdf, I always end up having to wait for the vuzit nitro pdf reader. I usually end up switching to Safari or Chrome to avoid waiting and trying to use this program which seems to serve no useful purpose.
    How can I switch the preference to Adobe Acrobat? I have tried using the Firefox preferences for this with no luck.

    I have eventually uninstalled Firefox and reinstalled it.
    I lost all bookmarks and passwords, but I have not (yet?) heard of VUZIT again.
    Regards
    PapyJP

  • Strange Linker error using Forte 6

    Hi,
    I am getting an unusual linker error while trying to compile something using Forte 6 update 2. First some backgrond
    We have an internal application currently running on a Solaris 2.6 box. I wish to move it to a Solaris 8 box. The application uses mainly apache, perl and mysql. One of the perl modules used is the old SPGrove module written by James Clark (www.jclark.com), which in turn uses the libsp.a library from the 'sp' distribution by the same author. I can find information on compiling/running 'sp' on O/S versions upto solaris 7 but not 8. Having tried all the available versions of gcc I finally gave up and tried Forte 6.
    Having had problems with applications and dynamic libraries complied with different compilers before I have compiled perl 5.6.1 using Forte 6, I have installed all the required perl modules and I have successfully compiled version 1.3.4 of the 'sp' package.
    The old SGML::SPGrove modules is no longer available and has been replaced by two newer ones, SGML::Grove, which installs fine, and SGML::SPGroveBuilder, which has some C++ code which is linked against the libsp.a library as mentioned above. The module (once certain options have been set to get the correct environment) compiles fine but when I run the test suit I get the following error.
    Can't load 'blib/arch/auto/SGML/SPGroveBuilder/SPGroveBuilder.so' for module SGML::SPGroveBuilder: ld.so.1: /usr/local/bin/perl: fatal: relocation error: file blib/arch/auto/SGML/SPGroveBuilder/SPGroveBuilder.so: symbol __1cG__CrunLvector_copy6Fpv1IIpF11_vpF1_v_v_: referenced symbol not found at /usr/local/lib/perl5/5.6.1/sun4-solaris/DynaLoader.pm line 206.
    The symbol '__1cG__CrunLvector_copy6Fpv1IIpF11_vpF1_v_v_' is contained in libCrun.so in the Forte installation. I have no idea what it is, or why I get the error.
    Sorry to be so long winded, but I wanted to give enough information so that I didnt get 'too many' easy to answer questions about the environment.
    'uname -snrvmapiX' for the system is:
    SunOS atlas 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-60System = SunOS
    Node = atlas
    Release = 5.8
    KernelID = Generic_108528-13
    Machine = sun4u
    BusType = <unknown>
    Serial = <unknown>
    Users = <unknown>
    OEM# = 0
    Origin# = 1
    NumCPU = 1
    Many thanks.
    Sean Timmins
    Systems Administrator

    Just to clarify, the I get the error during the 'make test' part of the normal perl module build process for installing the SGML::SPGroveBuilder module (perl Makefile.PL; make; make test; make install).
    Perl and SGML::SPGroveBuilder are both complied using Forte 6 update 2. The only difference being that perl (being normal C code) was compiled using the C compiler '/usr/local/SUNWspro/bin/cc' and the module requires the C++ complile '/usr/local/SUNWspro/bin/CC'.
    I have to make minor modifications to Makefile.PL before it will compile at all. These modifications are:
    1) Forcing the C++ compiler as perl will try to use exactly the same binary as was used to compile itself.
    2) Setting a few #define's so that the same ones are used to build the module as were used to build the sp library that is linked in with the module.
    3) Adding the various directories where both libsp.a (yes statically linked, no dynamic one in the sp distribution) and the required header files (all in the sp distribution) are located.
    I have since tried recompiling perl (with Forte 6 update 2) with no dynamicaly loaded libraries and get the same error. I have also found a tiny little patch to OpenSPv1.5pre5 (which is the replacement for the original sp distribution) which allowed me to compile eveything with gcc 3.1, perl, opensp (v1.5pre5) and SGML::SPGroveBuilder, and I get a very similar error at the same stage but a different symbol name.
    I am begining to think that its gone to far and there are too many branching oppertunities where I have made a mistake (I've really tried way way way too many combinations now), or that the SPGroveBuilder module simply has a probelm with the C++ code in it. It has not been updated in some time.
    I am going to try removing everything from the box and start from scratch, patch it to the hilt and try it from the beginning.
    Of course, any flashes of brilliance that come to mind would still be greatly appreciated :-)
    Sean Timmins
    Systems Administrator

  • Build for solaris 8 on solaris 10 - possible?

    I want to build/compile an application for solaris 8, but I only have access to a machine running solaris 10. Can I compile for solaris 8 on a solaris 10 machine, and if so, what do I have to do to make it work?

    The short answer is generally no.
    The long answer is that it can be done but you will need to make sure that on the Solaris 10 machine you only use functions/headers/libraries that are available on Solaris 8 otherwise they will not be found and the software won't work.
    alan

  • Requesting Oracle Db Client 9i or 10g for Solaris

    Dear friends
    What is the name in "combo box" in metalink when i open an SR that identifies "Oracle Client for Solaris".
    i dont know what it is. Please you could help me?
    thanks
    cesar.

    I believe Oracle don't have CD that only have Oracle client for Solaris.
    They only have client only CD for Windows. To install Oracle client for Solaris you need to use Oracle server CD/DVD, which usually come with a combo box with all kinds of other products as well.

  • SQLServer ODBC driver for solaris

    Hi,
    do anyone know where I can find the SQLServer ODBC driver for solaris in order to use Oracle Heterogeneus
    Service?

    Easysoft has two ways to do this:
    An ODBC-JDBC gateway driver that runs any JDBC accessible database including SQL Server under one license. Apparently, the ODBC C library has a JAVA engine in there to read the vendor JAR files. I tried it on Interbase with windows, and it worked fine.
    They also have an ODBC-ODBC bridge, but that implies a Windows Server to provide the real SQL Server ODBC for free with another network hop.

  • Proxy application for mac

    Hi;
    Is there any Proxy application for the Mac? I used UltraSurf on my PC. Is there any similar application for the Mac?
    I have already tried NetShade but proxies provided are not that helpful.
    Thank you.

    I have found a site that gives an Unofficially ported version of ultrasurf for mac. I created a video about it which is on youtube. http://youtu.be/6tUzvcyEnYQ
    Remember this is unofficial version of the Ultrasurf software.
    For copyright reasons I must mention:
    Ultrasurf is the flagship software product from UltraReach. This software is free for your personal use and can be downloaded officially from UltraReach.com http://www.ultrasurf.us
    UltraReach grants to you to use and distribute this software, but you are not allowed to disassemble, decompile, or reverse engineer such software. You are not allowed to use the Ultrasurf to intentionally damage, slow or crash UltraReach computer system. If you receive Ultrasurf from other parties, UltraReach is not responsible for any damages or losses, virus free, and function-guaranteed from your use of the software.

  • OWB Real Application Cluster R2 for solaris

    Hi all,
    Can u give me the link from where i can download the software for OWB Real Appication Cluster for 10g R2 for solaris.
    Regards,
    Ram

    If you are going to use windows. I recommend you to use Oracle9i Rel.2 and use OCFS instead of Raw devices.
    Real Application Clusters Administration Contents / Search / Index / PDF
    Real Application Clusters Concepts Contents / Search / Index / PDF
    Real Application Clusters Deployment and Performance Contents / Search / Index / PDF
    Real Application Clusters Documentation Online Roadmap Contents / Search / /
    Real Application Clusters Real Application Clusters Guard I - Concepts and Administration Contents / Search / Index / PDF
    Real Application Clusters Real Applications Clusters Guard I Configuration Guide Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, and Sun Solaris Contents / Search / Index / PDF
    Real Application Clusters Setup and Configuration Contents / Search / Index / PDF
    http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
    Joel Pérez
    http://otn.oracle.com/experts

  • Can I use TNSI Payment gateway in iOS application for making product purchases of Pizza for one of our major client.

    Hello Sir/Madam,
    I am representing my company to ask this quest, your quick response is much appreicated.
    We are making an application for one of our client for Pizza and food product purchased and advertisements. We are trying to implement a payment gateway so users can make purchases using their credit cards. Our client have used TNSI payment gateway on website however we are not sure whether we can use the same TNSI payment service in iOS Application.
    Would you please confirm with us whether apple have an approval for using this Gateway service inside the app. Please let us know ASAP so we can make the integration for completing the app.
    Also it would be real great if we are suggested some approved and valid payment gateways apple have approved for the apps submitted over appstore as this would help us to use the same services firmly wihtout the appstore rejection issue.
    Link for gateway service provider : http://www.tnsi.com/products-services/payments/payment-services/secure-managed-p ayment-solutions/tns-payment-gateways
    Thanks for you kind reply in advance.
    Regards,
    Vicky Dhas
    Solutions Architect | Nano Equipment Pte Ltd.

    What is the appstore rejection issue? It is best not to pay too much attention to what you read on internet media outlets as they are typically full of lies.
    Food is the easy part. You cannot use Apple's payment systems for physical products. You must do that yourself using whatever system you have. Advertising is trickier. You talked about pizza and food and then slipped in that little tidbit. Why?
    The bottom line is that the only people who get their apps rejected are people trying to scam either Apple or Apple's users. Sadly, not enough of them get rejected. You know if you are trying to scam someone or not. If so, then your chances of rejection are higher. When in doubt, consult Apple's In-App Purchase guidelines.

Maybe you are looking for

  • Aspect ratio question

    Hello all, this footage Im using imported into FCP as 720 x 480 regular ntsc footage. In final cut the video displayes with a letterbox. Unfortunately I went ahead and edited everything before asking questions about this letterbox. So now im running

  • Mac OS X Server 10.5 Radius authentication for non airport devices

    We have an Astaro Security Gateway 220 that we are planning to use for VPN and other services, we would like to use our Xserve to do authentication for our VPN like we already do for our other services on the device. To do so requires that we use Rad

  • Sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

    Hi Avi, Refer the earlier message below:: Now I have OC4J version 9.0.2. The JDK version is Java(TM) 2 SDK, Standard Edition Version 1.3.1 OS : Solaris I am trying to deploy the "How-To" example from the otn sample examples for JSP. It's a implementa

  • What's with this error message?

       import java.awt.*;    import java.awt.event.*;    import java.awt.image.*;    import javax.swing.*;    class Gfx extends JPanel       //declarations         public Gfx()          img = new BufferedImage(1020, 730, BufferedImage.TYPE_INT_RGB);     

  • Jsp excel dde

    Hello Everyone, Im trying to set up jsp pages which can directly communicate with excel through DDE. In essence here is what i want to do: My jsp page contains tabular data, this data is refreshed through scripts every 5 secs, i now want a facility w