Oracle10g 10.2.0.1 spnc_command and GCC for Windows

So, had a heck of a time getting this to work... Looks like a bad file. Once I installed MinGW, have fun with that, I needed to tweak the spnc_command file in $ORACLE_HOME/plsql.
Here is what I used, no guarentees now.... :
# This file contains commands to generate a shared object or DLL
# for a natively compiled PL/SQL unit.
# This file can have multiple commands.
# Each command should be specified in a single line by itself terminated by
# a newline.
# Lines starting with a # character are comments which are ignored.
# Each command is executed by creating (forking) a process and
# giving the command to the process to be executed directly.
# That means no other program (such as a shell or make) is used
# to interpret these commands.
# The command(s) use the following symbolic names as placeholders
# which will be replaced by actual names before executing the command(s).
#      %(src) - refers to the name of the generated C source file.
#      %(obj) - refers to the name of the generated object file.
#      %(dll) - refers to the name of the generated dll file.
# The variable $(ORACLE_HOME) will be replaced by its actual value
# before executing the command(s).
# The /Zm option is needed only when compiling a large plsql procedure.
# BSW 27-APR-2006 - Commented out the default compiler in favour of GCC.
#cl.exe %(src) /nologo /Zm200 /Og /Oy /MD /Fo%(obj) /I$(ORACLE_HOME)/rdbms/public /I$(ORACLE_HOME)/plsql/include /link /nologo /dll $(ORACLE_HOME)/lib/orapls10.lib /out:%(dll)
#GCC (MINGW) is now supported for plsql native comp on windows.
#Download MinGW-3.1.0-1.exe from http://www.mingw.org.
#The following two commands assume that GCC is installed at the default
#location which is c:/MinGW. Change the paths to gcc and ld appropriately
#if the installation is done in a different directory.
#Finally, to use GCC for native comp, comment the above command line for cl.exe
#and uncomment the following two comand lines.
c:/MinGW/bin/gcc -c %(src) -O1 -I$(ORACLE_HOME)/rdbms/public -I$(ORACLE_HOME)/plsql/include -I$(ORACLE_HOME)/OCI/include -o %(obj)
c:/MinGW/bin/ld -shared -e 0x0 %(obj) $(ORACLE_HOME)/lib/orapls10.lib -o %(dll)
#c:/MinGW/bin/ld -shared -e 0x0 %(obj) $(ORACLE_HOME)/plsql/lib/libpncrt.a $(ORACLE_HOME)/lib/orapls10.lib -o %(dll)

This is caused by bash and not by sed. Bash 3.1 shipped FC5 is buggy.
So download bash-3.0 from FC4 and install it using "rpm -ivh ... --force" command.

Similar Messages

  • Oracle10G and oracle11gr1 for windows and Linux

    Hi
    Can you help me in getting these Softwares
    Oracle10G and oracle11gr1 for windows and Linux ,I am unable to get them .
    Thanks in advance
    Sanjeev Sen

    Oracle10G NOT SUPPORTED ANYMORE,NO SOFTWARE AVAILABLE TO DOWNLOAD TOO
    oracle11gr1 for windows and Linux > http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

  • Using CUPC7/CUPC8.6 and Jabber for windows...unable to access voicemail.

    Using CUPC7/CUPC8.6 and Jabber for windows...unable to access voicemail.
    Setup includes CUCM9.0, Unity Connection 9.0, Presence 9.0....
    steps taken to configure(and results acheived)
    1-users created locally on CUCM and Enabled for IM and Presence.
    2-able to login to clients (CUPS7/8.6 and Jabber) but getting error Voicemail Error. The server has rejected the provided credentials. [1903]
    in order to verify there is nothing wrong with the credentials...i checked on unity and i am sure it's the PIN(12345) i need to use .
    Can Anyone help me out here...Thanks in advance.

    It's not looking for your PIN - that is only used over DTMF-based interactions - it's looking for your CUC password. If the mailbox is synced from LDAP and you have LDAP Auth enabled on CUC, then this would be your AD password. If it's synced over AXL, not synced at all, or LDAP synced but without Auth, then there will be an alphanumeric password field on the mailbox under Edit > Change Passwords.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • My Ipod touch Is stuck in restoe mode. I have reinstalled Itunes 10.4 .1 10. windows says drivers are not installed. I have followed all trouble shooting advice, fixes and updates for windows 7

    I have reinstalled Itunes 10.4 .1 10. windows says drivers are not installed. I have followed all trouble shooting advice, fixes and updates for windows 7

    I have reinstalled Itunes 10.4 .1 10. windows says drivers are not installed. I have followed all trouble shooting advice, fixes and updates for windows 7

  • How can I find fingerprint reader driver and software for windows 8.1 Pro - HP Dv5 1225et

    I have Hp dv5 1225et Laptop. There are drivers in Hp's web site for win 7 and vista.. I need validity sensors driver and software for windows 8.1 Pro (64Bit)... Thanks a lot all of users. 

    Hi @mfatihbodur
    Welcome to the HP Support Community. I see that you are looking for Windows 8.1 version of your Validity Sensor and SimplePass software. I have included the links below but as your model doesn't have drivers I can't guarantee that they will work but they are the latest versions.
    Validity Fingerprint Sensor Driver (Windows 8.1)
    HP SimplePass Identity Protection Software (Windows 8.1)
    Please click “Accept as Solution ” if you feel my post solved your issue.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Thank you,
    BHK6
    I work on behalf of HP

  • Uninstalling the drivers and programs for Windows 7 SP1 64 bit of the OfficeJet 7410 All-In-One

    Hi
    Which utility should be used to properly and completely uninstall the drivers and programs for Windows 7 SP1 64 bit installed with the OfficeJet 7410 All-In-One printer?
    Thanks
    Bye
    balubeto

    Hi @balubeto 
    I located a software removal utility for you but if you have other HP printers or scanners you may perform the more basica uninstall.
    Software and Driver Removal Utility
    Uninstalling the Printer Software (more basic uninstall)
    I hope this resolves your inquiry.
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Reversing two system pro, mac and one for windows system.

    I divided my pro storage to two one for mac and one for windows system. Can I reverse that now? I only want to have mac system on my pro

    Open the Boot Camp Assistant in the /Applications/Utilities/ folder and return the drive to a single partition setup.
    (101315)

  • I have to use microsoft office 2007 and 2003 for windows and I'm using a macbook pro, How i can get the on mac?

    I have to use microsoft office 2007 and 2003 for windows and I'm using a macbook pro, How i can get the on mac?

    You can either use Office for Mac 2011 or use Boot Camp to run Windows or use a VM, such as Parallels Desktop to run Windows. Running Windows, you'd be able to use MS Office for Windows.
    Clinton

  • Known Issue: Setup warnings for Windows 10 SDK, Emulators for Windows Mobile, and Tools for Windows 10 Universal Apps (Windows 10 Insider Preview SDK and tools, April 2015 release)

    When you install Visual Studio 2015 when not connected to the internet, for example from an ISO, you may receive warnings after setup completes for Tools for Windows 10 Universal Apps, Windows 10 SDK, and Emulators for Windows Mobile. These warnings include:
    This product did not download successfully: The server did not return the file size.
    This product did not download successfully: Signature verification failed on downloaded file.
    This product did not download successfully: HTTP Status 502: The server….

    To fix this issue, your computer must be connected to the internet to download these components.
    Make sure your computer is connected to the internet.
    Open Control Panel, and select Programs and Features. 
    Select Microsoft Visual Studio 2015 RC, click Change, and then click
    Modify.
    Select the feature “Universal Windows App Development Tools”, and click
    Update.

  • I have uninstalled and reinstalled and Firefox for windows 7 will not open. There is no error message--it just doesn't open, even in safe mode. What do I do?

    My computer is set to auto update for Windows 7 Home Premium and for Microsoft Office Professional Plus 2010. I am also running Norton 360. There was a major update for Office on 12/10/14 that seems to be when my problems started. This month, every time my updates have caused a reboot, Mozilla has failed to open. I have uninstalled it and reinstalled it several times, and it has only lasted a day or two before it crashes again. This last time it will still not open. All the instructions to troubleshoot seem to be based on the idea that the program is open and just has issues. I can't even get it to open up in Safe Mode.
    I have tried to reinstall, and it says that it will launch automatically when the install is complete, but it is not working. Since Norton scans every download before it runs, I'm not certain if that is where the problem is since I never get the window that shows the step by step installer for Firefox.
    What do I need to do?

    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. A clean reinstall is not the same as a regular reinstall performed using the built in installer. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from [https://www.mozilla.org mozilla.org] (or choose the download for your operating system and language from [https://www.mozilla.org/firefox/all/ this page]) and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (or open the Firefox menu [[Image:New Fx Menu]] and click the close button [[Image:Close 29]]).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [[Troubleshoot and diagnose Firefox problems#w_5-reinstall-firefox|here]].
    <b>WARNING:</b> Do not use a third party uninstaller as part of this process. Doing so could permanently delete your [[Profiles|Firefox profile]] data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be easily recovered unless they have been backed up to an external device!</u> See [[Back up and restore information in Firefox profiles]]. <!-- Starting in Firefox 31, the Firefox uninstaller no longer lets you remove user profile data.Ref: Bug 432017 and https://support.mozilla.org/kb/uninstall-firefox-from-your-computer/discuss/5279 [Fx31] Windows uninstaller will no longer offer the option to remove personal data -->
    Please report back to say if this helped you!
    Thank you.

  • How share content on whatsApp And Instagram for windows phone 8.1 App Development

    I am developing an App using sharie Contract Ux (using DataTransferManager )
    sample code is given below it is showing facebook ,twitter but not showing whatsApp and Instagram .
    Am I missing something ?
    public sealed partial class MainPage : Page
    private DataTransferManager dataTransferManager;
    public MainPage()
    this.InitializeComponent();
    this.NavigationCacheMode = NavigationCacheMode.Required;
    /// <summary>
    /// Invoked when this page is about to be displayed in a Frame.
    /// </summary>
    /// <param name="e">Event data that describes how this page was reached.
    /// This parameter is typically used to configure the page.</param>
    protected override void OnNavigatedTo(NavigationEventArgs e)
    // TODO: Prepare page for display here.
    // TODO: If your application contains multiple pages, ensure that you are
    // handling the hardware Back button by registering for the
    // Windows.Phone.UI.Input.HardwareButtons.BackPressed event.
    // If you are using the NavigationHelper provided by some templates,
    // this event is handled for you.
    this.dataTransferManager = DataTransferManager.GetForCurrentView();
    this.dataTransferManager.DataRequested += new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(this.OnDataRequested);
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    this.dataTransferManager.DataRequested -= new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(this.OnDataRequested);
    private void OnDataRequested(DataTransferManager sender, DataRequestedEventArgs args)
    var request = args.Request as DataRequest;
    DataPackage requestData = request.Data;
    requestData.Properties.Title = "MY PHOTO";
    requestData.Properties.Description = "Share App";// The description is optional.
    requestData.Properties.ContentSourceApplicationLink = new Uri("ms-appx-web:///" + "www.google.com");
    // It's recommended to use both SetBitmap and SetStorageItems for sharing a single image
    // since the target app may only support one or the other.
    List<IStorageItem> imageItems = new List<IStorageItem>();
    imageItems.Add(this.imageFile);
    requestData.SetStorageItems(imageItems);
    RandomAccessStreamReference imageStreamRef = RandomAccessStreamReference.CreateFromFile(this.imageFile);
    requestData.Properties.Thumbnail = imageStreamRef;
    requestData.SetBitmap(imageStreamRef);
    // succeeded = true;
    private async void SelectImageButton_Click(object sender, RoutedEventArgs e)
    // CoreApplicationView view = CoreApplication.GetCurrentView();
    //FileOpenPicker imagePicker = new FileOpenPicker
    // ViewMode = PickerViewMode.Thumbnail,
    // SuggestedStartLocation = PickerLocationId.PicturesLibrary,
    // FileTypeFilter = { ".jpg", ".png", ".bmp", ".gif", ".tif" }
    StorageFile logoFile =
    await Package.Current.InstalledLocation.GetFileAsync("Assets\\download.jpg");
    // List<IStorageItem> storageItems = new List<IStorageItem>();
    this.imageFile = logoFile;
    // ImageHolder.Source = "/Assets/download.jpg";
    Output.Visibility = Visibility.Visible;
    ShareStep.Visibility = Visibility.Visible;
    // if (pickedImage != null)
    // this.imageFile = pickedImage;
    // // Display the image in the UI.
    // IRandomAccessStream displayStream = await pickedImage.OpenAsync(FileAccessMode.Read);
    // BitmapImage bitmapImage = new BitmapImage();
    // bitmapImage.SetSource(displayStream);
    // ImageHolder.Source = bitmapImage;
    //// this.rootPage.NotifyUser("Selected " + pickedImage.Name + ".", NotifyType.StatusMessage);
    // ShareStep.Visibility = Visibility.Visible;
    private StorageFile imageFile;
    private void Button_Click(object sender, RoutedEventArgs e)
    DataTransferManager.ShowShareUI();

    Whatsapp and Instagram must not be Share Targets for the type of content you are sharing.
    Bret Bentzinger (MSFT) @awehellyeah

  • Family Sharing and iTunes for Windows

    My wife and I have family sharing set up and working fine across iOS devices and my macs.  She uses iTunes for windows and we can't find how to access my purchases on her machine.  We looked in the same place it is in iTunes for Mac and there is no place to drop down and look at the other users stuff.

    @TigerFrank, not sure whether you got your answer but for any reason if you haven't then here are the steps to see the purchases from all the family shared accounts in your iTunes for Windows...
    Once you're in iTunes, you see your account name on the top, on the right side of the Apple logo.  There is a little pointing down arrow, click on it
    on the opened up menu, click on Family Purchases
    on the Family Purchases window, on the top left you see your Name with the little pointing down arrow, click on it again
    on the opened up menu, select the account you want to download the music from.
    That is how you do it, because I just learned about it and thought I would share the information so that others also get benefited from it.  Hope, this helps...

  • Differences between CC for Mac and CC for Windows

    Hello,
    I just read here in the forum that possibilities regarding app-making in InDesign are limited when you are a Windows user. Seems like the "Create App"-possibility is for mac users only. Terry White made a very good video about app-making, but failed to mention that you needed not only CC (or CS6), but also a Mac.
    Be that as it may, I would like to know if there is a list somewhere, describing in detail the differences between possibilities and options on CC for Windows compared to CC on a Mac.
    And - if there is no list, can anyone tell me the differences?
    Regards,
    MikHva

    Thanks for the answer. I can see that I messed up formulating the last entry - what we are about to do is upgrade from CS6 to CC.
    Maybe you could help me with a related question. The last few days I have been searching for alternatives to builing my apps in InDesign, and I turned to Dreamweaver. I copied the CSS  from InDesign to dreamweaver, fixed the content and made my app work through my 1 phonegap build-project (the InDesign version looked better, though) - but getting on fra Dreamweaver to Android and iOS involves Phonegap.
    I can see that Adobe has developed the Adobe Phonegap Build. Is that a program (app) that I can acces after subscribing to the Creative Cloud? A friend of mine has the CC-version and I asked if she had acces to install Adobe Phonegap Build, but it was not on her list of programs to install.
    - As things look right now we might be going for a Pro or Enterprise version - but I haven't figured out the difference between the two yet - I've been busy with Dreamweaver.
    Sincerely and with thanks,
    MikHva

  • Office for Mac and Office for Windows XP compatibility issues?

    Trying to convince a family member to make the Mac switch. She uses Office for Windows XP at work but might use Office for Mac at home. Will there be an compatibiity issues with the programs? She is a heavy Excel user and takes a lot of work home. If she has to rearrange cells and fonts and such each and every, it would drive her (and the rest of us) insane.
    Any advice would be most welcome.
    She is looking into either a Macbook Air or Macbook Pro. Putting Windows on the Mac is not really an option for us.
    Thanks Community!

    Or I could just download the trial version and see how that works.
    http://www.microsoft.com/mac/trial
    Thanks for putting me in the right direction, anyway!

  • How can I sync my bookmarks between my iPad 3, my iPhone 4S and Safari for Windows?

    Hi,
    I have installed iOS 6 on my iPhone 4

    *iPhone 4S and on my iPad 3
    I got the newest version of safari and iCloud for windows

Maybe you are looking for