Regarding Pro-C

Hi,
I have a file called login.pc. I compile it using pro-c compiler and I got a C file. Then I compiled C file and got a executable by the name login.o.
When I try to run the file login.o as ./login.o, it tells me that it cannot execute. I checked for the file permissions also. Its fine. I dont know why its giving me this error/statement.
Help me please.
Thanks in advance

If you are on a nix enviroment, here's a makefile sample to precompile/compile&link a ProC program, just replace the names of the files and directories with yours:
# PROC MAKEFILE SAMPLE
PC = proc
CC = gcc
CFLAGS = -g -W
IDIRS = $(include)
LDIRS = -L ./ -L $(ORACLE_HOME)/lib32 -L $(lib)
PC_FILE = whateverthename.pc
C_FILE = whateverthename.c
O_FILE = whateverthename.o
EXECUTABLE = whateverthename
all: $(EXECUTABLE)
$(C_FILE): $(PC_FILE)
     $(PC) include=$(IDIRS) $(PC_FILE)
$(O_FILE): $(C_FILE)
     $(CC) $(CFLAGS) -o $(O_FILE) -c $(C_FILE) -I $(IDIRS)
$(EXECUTABLE): $(O_FILE)
     $(CC) -o $(EXECUTABLE) $(O_FILE) $(LDIRS) -lm
clean:
     rm -f $(C_FILE)
     rm -f $(O_FILE)
     rm -f $(EXECUTABLE)

Similar Messages

  • Two questions:  pro tools HD compatbility.  iMac vs MBP.

    I'll first start off with the question regarding Pro Tools HD compatibility. When it says "compatible", what is this meaning exactly? I'm transferring to Belmont University for Music Business/Production next semester and have contacted the studio manager and he said they mainly use Pro Tools HD in the campus studios. I already have Pro Tools LE 7 with an Mbox, so I'll be able to take projects from the studio on a firewire drive into Pro Tools LE for editing.
    But I'm curious if "compatible" means that I'll be able to open my projects recorded in a Pro Tools studio in Logic Pro later on or if it means that I could use Logic Pro with the Pro Tools HD interface in the studio and record directly into Logic Pro? The studio manager told me that all the studios are equipped with Powermac G5s and everything I need will be there, but I want the ability to take my stuff away on a FW drive (oh, another question...any recommendations on firewire drives?) and work independently on my own system. Which leads to my next question....
    In my email to him, I also asked about the importance of owning a laptop over a desktop and he said it wasn't imperative to have a laptop since the studios were equipped with Powermacs. I know if money wasn't an issue the Powermac is the best choice for audio production, but I am a student, and I cannot afford to buy a Powermac with sufficient RAM plus a display.......I was highly considering a Macbook Pro, but after realizing that I would be carrying my hard drive around more than my computer, it has me wondering about an iMac. I know the 2 gb RAM limit is a downfall for this system, but I would have that limit in the MBP also, so that doesn't affect anything between comparing the two. I have configured both systems with the education discount and Applecare:
    15" MacBook Pro: $2,898.00
    -2.16GHz Intel Core Duo
    -2GB 667 DDR2 - 2x1GB SO-DIMMs
    -100GB Serial ATA drive @ 7200 rpm
    -MacBook Pro 15-inch Widescreen Display
    -SuperDrive (DVD±RW/CD-RW)
    -AirPort Extreme Card & Bluetooth
    -Backlit Keyboard/Mac OS - U.S. English
    -AppleCare Protection Plan for MacBook Pro/PowerBook (w/or w/o Display) - Auto-enroll
    -15.4-inch TFT Display
    20" 2.0 GHz iMac: $2,056.00
    -2GB 667 DDR2 SDRAM - 2x1GB
    -250GB Serial ATA drive
    -ATI Radeon X1600/256MB VRAM
    -SuperDrive 8x (DVD+R DL/DVD+RW/CD-RW)
    -Keyboard & Mighty Mouse + Mac OS X - U.S. English
    -Accessory kit
    -AppleCare Protection Plan for iMac - Auto-enroll
    -20-inch widescreen LCD
    -2GHz Intel Core Duo
    -AirPort Extreme
    -Bluetooth 2.0 + EDR
    So, with portability no longer being a great concern, for system performance, which would be the best system? I will be using Pro Tools LE 7 for editing/mixing and Logic Pro for MIDI/creating music with virtual instruments. Any advice you have would be greatly appreciated.
    Thanks,
    Scott
    12 Powerbook w/Superdrive; 512mb; 80gb; Airport   Mac OS X (10.4.7)  

    Hey Scott.
    Check out the "Benchmark Song 2" thread on this forum. That will show some performance test on different computers.
    About the choice of computer, well, all I can say is get the best of what you can afford. Logic runs nicely on both those machines by all reports. I would also like to say that the Mac Pros (new Powermacs) should be out before the end of the year and will smoke both of these computers. And the price should be comparable to the MacBook Pro.
    X

  • After Effects and Macbook Pro = no Open GL support?

    I have a newer (last gen) 2.4, 256 MBP and when I go into preferences (After Effects) it says NO OPEN GL card found, please update Apple Pro software (not sure which download that is, and I think I did that) as well as Adobe 8.0.1 and wondering if that fixes the issues. Otherwise the playback is very choppy.
    I ask as there is nothing called Apple Pro Software, these are my options for software update (re: pro support)....ps, am a bit skeptical about these updates as one person said he did this and it hosed his system, how awful this would be, ugg....
    Anyway, options for update regarding pro software....
    • Pro Kitupdate 4.5 (version)
    • Pro Applications Update 2007-1
    • Pro Applications Update 2007-2
    • Plug in Manager
    Will these help?
    Thanks

    I have a new Mac Pro with NVIDIA GeForce 8800 GT 512MB card which according to After Effects/Preferences/Previews is not Open GL compatible - are we waiting for Apple to release the drivers?

  • Compiling of pro*C applications

    when i am compiling pro*c application - I am getting the error
    "internal error failed assertions (PGE Code 90105)"
    what will be the cause> sir
    my os is sun 6500 and oracle is 8.0.5.
    thank u
    suryanarayanan chief accounts officer bsnl chennai telephones chennai india

    Hi,
    I have never done the migration from 7.3 to 9i. But I had done 8.0 to 8i and 8i to 9i.
    Pl/SQL code should work fine as it is. I wonder what will happen if you have any variables declared VARCHAR (not VARCHAR2) ? There can be few places like that, if the application was originally written on Oracle 6.Otherwise, the code should work as it is.
    Regarding Pro*C, you need to use the new make file which has come with 9i.
    Also, I do not remember exactly, but probably, you need to initialize all VARCHAR veriables declared between BEGIN DECLARE SECTION and END DECLARE SECTION. Initialize all of them with \0 (NULL charactor).
    I think that should be enough for 7.x application to run on 9i.
    Regards

  • PRO or not

    Dear Gents, What is the difference between these two models : Xerox Workcentre 5755 , and  Xerox Workcentre Pro 5755,  i.e, what is PRO refers to ? Best regards.

    Pro designates network connectivity. A WC5755 is a copier, where a WC Pro 5755 is a copier/printer/scanner.

  • PL/SQL migration from Oracle 7.3 to Oracle 8.1.6

    Hi,
    I am planning to upgrade from Oracle 7.3 to Oracle 8.1.6. As well from HP-UX 10.20 to HP-UX 11.0.
    I do not want to run my PL/SQL code in compatibility mode.
    Please suggest migration path.
    Also, i want to migrate PL/SQL scripts from 8.0.5 to 8.1.6 on HP-UX 11.0. I know this should be
    straight forward migration.
    Does the recompilation on HP-UX 11.0 with 8.1.6 environment works fine..?!
    I read about the 'utlrp.sql' script to be run to find out the report prior to recompilation on target
    platform. If i do this, it should enough OR is there any other ways of doing things..?!
    Please post your feedback.
    Thanks,
    vinod

    Hi,
    I have never done the migration from 7.3 to 9i. But I had done 8.0 to 8i and 8i to 9i.
    Pl/SQL code should work fine as it is. I wonder what will happen if you have any variables declared VARCHAR (not VARCHAR2) ? There can be few places like that, if the application was originally written on Oracle 6.Otherwise, the code should work as it is.
    Regarding Pro*C, you need to use the new make file which has come with 9i.
    Also, I do not remember exactly, but probably, you need to initialize all VARCHAR veriables declared between BEGIN DECLARE SECTION and END DECLARE SECTION. Initialize all of them with \0 (NULL charactor).
    I think that should be enough for 7.x application to run on 9i.
    Regards

  • I can't play Sorenson 3 video on Quicktime X

    I have a few videos that I need to convert into a viewable format on my Mac.  Currently when I try to play the videos on Quicktime X, all I get is audio but no video.
    Upon opening Movie Inspector I see the following:
    Format: Sorenson Video 3 Pro, 848 x 480
                 AAC, 44100 Hz, Mono
    I already tried enabling legacy codecs on the command line, but I still can't see the video.
    Is there anyone that can help me?

    Interesting topic. See if the following helps.
    Format: Sorenson Video 3 Pro, 848 x 480
                 AAC, 44100 Hz, Mono
    Believe the Sorenson Video 3 Pro codec was a paid multi-pass VRB upgrade to the Apple Standard Sorenson/Sorenson 3 video codec package. Assume the standard package supports Sorenson Video 3 Pro playback but cannot test this hypothesis as I only have the standard codec currently active and no Sorenson Video 3 Pro sample files available for testing. If so, then...
    I already tried enabling legacy codecs on the command line, but I still can't see the video.
    Under Mavericks and Yosemite, legacy codecs are, by default, available for passive (playback) support. I.e., it is only necessary to re-enable legacy video codecs is you plan to use them actively for export in QT 7 based apps or similar third-party apps like MEG Streamclip. Unfortunately, the "Modernizer" routine for QT X will only pass the data to the converter if it is programmed to do so. If you have the QT 7 player installed on your system, suggest you try playing the file in that media player. If the file plays, then you can either use this player for playback. In addition, if you have the QT 7 Player keyed for "Pro" use or have the MPEG Streamclip app installed on your system, then you can also convert such files to H.264/AAC for compatibility with all current QT media players. On the other hand. if the files are not playable, then it would seem to indicate that the standard Sorenson Video 3 package does not support Sorenson Video 3 Pro playback.
    Also of interest to me was the fact that the FFmpeg codec package also supports Sorenson Video/Sorenson Video 3 content. Unfortunately, nothing was stated regarding "Pro" variation playback support in the articles I read. Basically this means that apps, such as VLC, HandBrake, etc, may or may not also support the playback and/or conversion of your Sorenson Video 3 Content. Would, therefore, also recommend you also test your files in these or similar apps. My personal preference for conversion would be the latest version of HandBrake.

  • Vault and Copy Library...

    So, currently I choose to update my vault on one external drive and copy the library once a month to another external drive. My working library is housed in my computer.
    Yes, I have one project as referenced... a large project nonetheless. This project is stored on external #1 and 'copied' on external #2.
    So... at the end of the day I have my working library on my internal computer. One vault on 1 external drive, backed up frequently. And one 'copy' of my library on another external drive.
    By chance... if I loose my main, on a day... I can just drag the copy library on external #2 back to my internal and add any projects that were added since the last copy of the vault on external 2 since the last full copy.
    Since dragging a copy of the complete library is faster than restoring from a Vault... does this seam like an intuitive double back up method? What would you do different.
    Additional factors.... my Aperture library is about 110 gigs and my one referenced project is 20 gigs.
    Any input regarding pros and cons of this set up will be greatly appreciated.
    Thank you,
    mb

    sorry... I am using 10.4.11 if it matters.

  • Migration from 7.3.4 to 9i

    I just want to know if there is any tool/utility that helps in migration from Oracle 7.3.4 7bit characterset to Oracle 9i 8bit characterset and in the same time can make translation in the migration process?
    To clarify more: we have a 7bit characterset 7.3.4 database we want to migrate to Oracle 9i with 8bit characterset and in the same time translate the data in the database in one process, because our 7bit data must be translated to 8bit Arabic data.
    Thank you

    Hi,
    I have never done the migration from 7.3 to 9i. But I had done 8.0 to 8i and 8i to 9i.
    Pl/SQL code should work fine as it is. I wonder what will happen if you have any variables declared VARCHAR (not VARCHAR2) ? There can be few places like that, if the application was originally written on Oracle 6.Otherwise, the code should work as it is.
    Regarding Pro*C, you need to use the new make file which has come with 9i.
    Also, I do not remember exactly, but probably, you need to initialize all VARCHAR veriables declared between BEGIN DECLARE SECTION and END DECLARE SECTION. Initialize all of them with \0 (NULL charactor).
    I think that should be enough for 7.x application to run on 9i.
    Regards

  • I have some questions regarding setting up a software RAID 0 on a Mac Pro

    I have some questions regarding setting up a software RAID 0 on a Mac pro (early 2009).
    These questions might seem stupid to many of you, but, as my last, in fact my one and only, computer before the Mac Pro was a IICX/4/80 running System 7.5, I am a complete novice regarding this particular matter.
    A few days ago I installed a WD3000HLFS VelociRaptor 300GB in bay 1, and moved the original 640GB HD to bay 2. I now have 2 bootable internal drives, and currently I am using the VR300 as my startup disk. Instead of cloning from the original drive, I have reinstalled the Mac OS, and all my applications & software onto the VR300. Everything is backed up onto a WD SE II 2TB external drive, using Time Machine. The original 640GB has an eDrive partition, which was created some time ago using TechTool Pro 5.
    The system will be used primarily for photo editing, digital imaging, and to produce colour prints up to A2 size. Some of the image files, from scanned imports of film negatives & transparencies, will be 40MB or larger. Next year I hope to buy a high resolution full frame digital SLR, which will also generate large files.
    Currently I am using Apple's bundled iPhoto, Aperture 2, Photoshop Elements 8, Silverfast Ai, ColorMunki Photo, EZcolor and other applications/software. I will also be using Photoshop CS5, when it becomes available, and I will probably change over to Lightroom 3, which is currently in Beta, because I have had problems with Aperture, which, until recent upgrades (HD, RAM & graphics card) to my system, would not even load images for print. All I had was a blank preview page, and a constant, frozen "loading" message - the symbol underneath remained static, instead of revolving!
    It is now possible to print images from within Aperture 2, but I am not happy with the colour fidelity, whereas it is possible to produce excellent, natural colour prints using its "minnow" sibling, iPhoto!
    My intention is to buy another 3 VR300s to form a 4 drive Raid 0 array for optimum performance, and to store the original 640GB drive as an emergency bootable back-up. I would have ordered the additional VR300s already, but for the fact that there appears to have been a run on them, and currently they are out of stock at all, but the more expensive, UK resellers.
    I should be most grateful to receive advice regarding the following questions:
    QUESTION 1:
    I have had a look at the RAID setting up facility in Disk Utility and it states: "To create a RAID set, drag disks or partitions into the list below".
    If I install another 3 VR300s, can I drag all 4 of them into the "list below" box, without any risk of losing everything I have already installed on the existing VR300?
    Or would I have to reinstall the OS, applications and software again?
    I mention this, because one of the applications, Personal accountz, has a label on its CD wallet stating that the Licence Key can only be used once, and I have already used it when I installed it on the existing VR300.
    QUESTION 2:
    I understand that the failure of just one drive will result in all the data in a Raid 0 array being lost.
    Does this mean that I would not be able to boot up from the 4 drive array in that scenario?
    Even so, it would be worth the risk to gain the optimum performance provide by Raid 0 over the other RAID setup options, and, in addition to the SE II, I will probably back up all my image files onto a portable drive as an additional precaution.
    QUESTION 3:
    Is it possible to create an eDrive partition, using TechTool Pro 5, on the VR300 in bay !?
    Or would this not be of any use anyway, in the event of a single drive failure?
    QUESTION 4:
    Would there be a significant increase in performance using a 4 x VR300 drive RAID 0 array, compared to only 2 or 3 drives?
    QUESTION 5:
    If I used a 3 x VR300 RAID 0 array, and installed either a cloned VR300 or the original 640GB HD in bay 4, and I left the Startup Disk in System Preferences unlocked, would the system boot up automatically from the 4th. drive in the event of a single drive failure in the 3 drive RAID 0 array which had been selected for startup?
    Apologies if these seem stupid questions, but I am trying to determine the best option without foregoing optimum performance.

    Well said.
    Steps to set up RAID
    Setting up a RAID array in Mac OS X is part of the installation process. This procedure assumes that you have already installed Mac OS 10.1 and the hard drive subsystem (two hard drives and a PCI controller card, for example) that RAID will be implemented on. Follow these steps:
    1. Open Disk Utility (/Applications/Utilities).
    2. When the disks appear in the pane on the left, select the disks you wish to be in the array and drag them to the disk panel.
    3. Choose Stripe or Mirror from the RAID Scheme pop-up menu.
    4. Name the RAID set.
    5. Choose a volume format. The size of the array will be automatically determined based on what you selected.
    6. Click Create.
    Recovering from a hard drive failure on a mirrored array
    1. Open Disk Utility in (/Applications/Utilities).
    2. Click the RAID tab. If an issue has occurred, a dialog box will appear that describes it.
    3. If an issue with the disk is indicated, click Rebuild.
    4. If Rebuild does not work, shut down the computer and replace the damaged hard disk.
    5. Repeat steps 1 and 2.
    6. Drag the icon of the new disk on top of that of the removed disk.
    7. Click Rebuild.
    http://support.apple.com/kb/HT2559
    Drive A + B = VOLUME ONE
    Drive C + D = VOLUME TWO
    What you put on those volumes is of course up to you and easy to do.
    A system really only needs to be backed up "as needed" like before you add or update or install anything.
    /Users can be backed up hourly, daily, weekly schedule
    Media files as needed.
    Things that hurt performance:
    Page outs
    Spotlight - disable this for boot drive and 'scratch'
    SCRATCH: Temporary space; erased between projects and steps.
    http://en.wikipedia.org/wiki/StandardRAIDlevels
    (normally I'd link to Wikipedia but I can't load right now)
    Disk drives are the slowest component, so tackling that has always made sense. Easy way to make a difference. More RAM only if it will be of value and used. Same with more/faster processors, or graphic card.
    To help understand and configure your 2009 Nehalem Mac Pro:
    http://arstechnica.com/apple/reviews/2009/04/266ghz-8-core-mac-pro-review.ars/1
    http://macperformanceguide.com/
    http://www.macgurus.com/guides/storageaccelguide.php
    http://www.macintouch.com/readerreports/harddrives/index.html
    http://macperformanceguide.com/OptimizingPhotoshop-Configuration.html
    http://kb2.adobe.com/cps/404/kb404440.html

  • How can I install Aperture on my new Macbook Pro. I am up to date with my Mac Pro, I have the Aperture 1 and installation disks but cant remember how I got to 3. Can anyone help?  Many thanks regards Alf

    I have an up to date version of Aperture on my Mac Pro, and I would like to install it on my new Mac book Pro. I have the original installation disks for Aperture 1 and 2. I cant remember how I got to Aperture 3, I think it was via a web download but not sure. I have checked my purchases in the App Store but there is no indication of me buying an upgrade to Aperture 3.
    Ive tried to download it from the App Store but it wants me to pay again.
    Can anyone help on how to install Aperture 3 on my new Macbook .
    Many thanks regards  Alf

    Then you can download the Trial version of Aperture 3 and unlock it with your serial numbers - you will need all three for all three versions: A current link to the Trial version is in this support document, also instructions on how to reinstall on different systems:
    Aperture 3.4: May quit unexpectedly on launch after updating
    Regards
    Léonie
    BTW: Your Aperture 3 serial number will be displayed in the "About" panel - the panel you see, when you use the command "About Aperture" from the Aperture menu in the main menu bar.

  • I can not save any data to external hard drive from my mac pro. Is there anyone can help me in this regard?( note, when i first plug my ext. drive to mac i chose option to backup later)

    I can not save any data to external hard drive from my mac pro. Is there anyone can help me in this regard?( note, when i first plug my ext. drive to mac i chose option to backup later)

    The device may be formatted for Windows, as NTFS. The format is readable, but not natively writable on a Mac. To write to the device, you must either reformat it (erasing all the contents) or install third-party software to enable write access to NTFS.

  • This regards Adobe Reader XI 11.0.07 and Adobe Acrobat Pro XI 11.0.07 running on Win 7. Copying text in a text callout (to paste into a text callout in another pdf document (3 instances of Adobe open) sometimes (only sometimes) causes the program to crash

    This regards Adobe Reader XI 11.0.07 and Adobe Acrobat Pro XI 11.0.07 running on Win 7. Copying text in a text callout (to paste into a text callout in another pdf document (3 instances of Adobe open) sometimes (only sometimes) causes the program to crash, losing unsaved work. Windows Task Manager shows only a small percentage of cpu used and plenty of memory available. What is causing this?

    scholtzkie wrote:
    "Please wait...If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document.   You can upgrade ...  For more assistance....    Windows is either a registered trademark...."
    This usually occurs if you use a browser that uses its own PDF viewer, not the Adobe Reader plugin; see http://helpx.adobe.com/acrobat/kb/pdf-browser-plugin-configuration.html

  • A question regarding using Myriad Pro as a web font...

    Okay so this is a pretty straight forward question (I think)...
    I've been using sIFR to replace many of the typical web fonts on the sites I build since much like everyone else I'm sick of being restricted to using only certain fonts.
    Myriad Pro is one of the many fonts I really like for building websites. I discovered recently by accident that Myriad Pro (and a few other variants in the Myriad Pro family) are part of Adobe Reader. This means that ANYONE who downloads Adobe Reader has Myriad Pro installed on their system and probably doesn't even realize it.
    Having discovered this it has come to my attention that there is a decent possibility I could use CSS and have Myriad Pro as a web font without even having to render it using sIFR. The problem is that anyone who doesn't have Adobe Reader installed wouldn't see the nice Myriad font.
    So my question is what do all of you guys think about this? Does anyone have any actual numbers in regards to how many people actually have Adobe Reader? If it was a higher percentage like 90% then I think this would be a safe solution.

    I don't know how many people use Adobe Reader, although I would think it's a fairly high proportion. Perhaps not as high as 90%, though. However, there's nothing stopping you from using Myriad Pro as the first choice in a font-family declaration. Browsers use the first available font. You could use something like this:
    body {
      font-family:"Myriad Pro", "Gill Sans", "Lucida Sans", Verdana, Geneva, sans-serif;

  • Hi everyone,I am new to this so please forgive me any mistakes I may make.Early 2008 Mac Pro desktop installed ML ok but next day nothing, reinstall ok restart same problem ML installer remains on my  snow leopard disk. Any help appreciated.Kind regards

    There I go first mistake straight off. I was wondering how to fit my big long problem in. My fault I am sure but if anyone can help please.
    Early 2008 Mac Pro Desk Top, 2 hard drives 1)snow leopard, 2)lion.
    I have downloaded Mountain Lion usuing disk 1,selected no.2 as my destination, installed ok everything fine, set my startup as no.2 in preferences, switch off. Next day start up - nothing, my only way to get moving was physcally remove disk 2, and let snow leopard restart.
    Reinstalled, everything fine, then same problem on restart next day, remove disk,and so on.
    The mountain Lion installer remains in the snow leopard dock.
    I know the problem is me, so if anyone is kind enough to be able to offer a solution it needs to be in easy speak (press button a, press button b) because I am not that savvy.
    my best regards to all, and thank you.

    Where did you get Mountain Lion? Did you download the 4+ GB file from the App Store? If so, then I would try doing the following:
    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your second drive on which Lion is installed (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    Install Mountain Lion
    Double-click on the Mountain Lion Installer application in your Applications folder. Follow instructions to install Mountain Lion on your old Lion drive - Drive 2. When the installer finally finishes it will restart the computer automatically from Drive 2. At this point there is no need to change the Startup Disk unless you want to boot from your Snow Leopard drive.
    You will startup to the Setup Assistant in which you will configure your own admin account. You can, if you want, omit that part and instead choose to migrate your Home folder and other data from the Snow Leopard drive. I would recommend you do that unless you wish to do it manually at a later time. In this case create your new admin account using the exact same username and password that you now use on your Snow Leopard system.

Maybe you are looking for