Help about linking Pro*C/C++

I'm not expert at C don't understand what is failing with a program I'm trying to compile (Linux platform):
First I create a library by this Makefile (directory /home/oracle/fer_pro_c/API_3/libcsrirdb):
all: libcsrirdb.a
libcsrirdb.a: csrirdb.o
ar -q libcsrirdb.a csrirdb.o
csrirdb.o: csrirdb.c
cc -I. -I/u02/app/oracle/product/8.1.7/precomp/public -g -c csrirdb.c
csrirdb.c: csrirdb.pc
proc ireclen=255 lines=yes CODE=ANSI_C DBMS=V8 SQLCHECK=SEMANTICS USERID=CSR_ADMIN/CSR include=/u02/app/oracle/product/8.1.7/proc/lib iname=csrirdb
And I try create and executable program called main by this Makefile (directory /home/oracle/fer_pro_c/API_3/libcsrirdb):
all: main
main: main.o
cc -o main -L/u02/app/oracle/product/8.1.7/precomp/lib -L/u02/app/oracle/product/8.1.7/lib -L/u02/app/oracle/product/8.1.7/lib/stubs -t -o main main.o -L/u02/app/oracle/product/8.1.7/lib -lclntsh `cat /u02/app/oracle/product/8.1.7/lib/sysliblist` -ldl -lm -L/../libcsrirdb/llibcsrir.a
main.o: main.c
cc -I. -I../libcsrirdb/hdrs -I/u02/app/oracle/product/8.1.7/precomp/public -g -c main.c
And I get:
cc -o main -L/u02/app/oracle/product/8.1.7/precomp/lib -L/u02/app/oracle/product/8.1.7/lib -L/u02/app/oracle/product/8.1.7/lib/stubs -t -o main main.o -L/u02/app/oracle/product/8.1.7/lib -lclntsh `cat /u02/app/oracle/product/8.1.7/lib/sysliblist` -ldl -lm -L/../libcsrirdb/llibcsrir.a
main.o(.text+0x4c): In function `main':
/home/oracle/fer_pro_c/API_3/test/main.c:13: undefined reference to `CSRIRDB_init'
main.o(.text+0x64):/home/oracle/fer_pro_c/API_3/test/main.c:15: undefined reference to `CSRIRDB_final'
/usr/bin/ld: link errors found, deleting executable `main'

1) You can trim the space.
OR
2) convert to number. --> function atol()
OR
3) strncpy(to_string, from_string,8); -- copy 8 characters only
strncpy(pa_outfile_fdetl.po_no(pl_detail_cnt), pa_outfile_fhead.po_no(ll_cur_index), 8 )SS

Similar Messages

  • Amateur need help about mac pro buttons

    I have the macbook pro late 2011 run with mac os X 10.7.5 . now i have a problem with the keyboard button . the problem is the volume button doesnt work but it work when i connect the headphone in or connect with the hdmi cable for using with TV . Anyone can help please ????

    Is the problem that the button does not work or that the speakers internal in the MBP are not working?
    Ciao.

  • Please Help - about linking different pages

    I want to create a registration page which asks for registration the already taken user name and passwords that are already used for logging in the school account on the school webpage, and when the user fills the username and password boxes, registration button secretly controls if such a username and password is correct in the school webpage, and then continues the registration process. The aim of doing this is that i want only the school users could log into my website. There should be and is a way of doing this i know, but couldn't find in spite of a deep search on google.
    Thanks for any help

    You need a server-side database with the user names and passwords stored in it.  Also server-side scripts to collect and compare entered data with that in the database.  Which programming languages & databases are you planning to use for this?
    Nancy O.

  • About Mac Pro RAM and one "Nehalem" Processor 2.8 vs 3.2

    Hi,
    Unfortunately I don't have so much money to spend but I find Apple products very high quality and in same time very expensive, specially for my country (Russia), according to statistic, it’s less then 1% of people that using Mac Pro in here, my country really poor :/
    I never use Mac before, but I think that time is come and I would like to buy one on my birthday soon (22 November). I really tired of my crazy PC with Vista, it’s always bugs lags, and so on, it’s poor machine. I can buy new PC with i7, nice performances or buy Mac, but I think, Mac will be more quality and stable.
    I'm web designer and programmer and using my PC with Adobe programs, normally Photoshop, Illustrator, Dreamweaver, very rare with After Effect (1 day per month). Sometimes I’m playing games like Dragon Age or CS:Source, Starcraft2. But I got PS3, but unfortunately it’s connected to our main home TV, and I can’t play PS3 because all day this TV watching my family :/ lol
    I’m not sure if there are any way to connect PS3 to TV and computer screen at the same time… but it’s another question.
    Now about Mac I'm wondering of buying cheapest Mac Pro 2010:
    # One 2.8GHz Quad-Core Intel Xeon “Nehalem”
    # 3GB (3x1GB)
    # 1TB 7200-rpm Serial ATA 3Gb/s hard drive
    # ATI Radeon HD 5770 1GB
    # One 18x SuperDrive
    But at the same time, I wondering about how long time I will be able to use this Mac, and enjoy it before it will come too old. Because I just can’t spend and buy Mac every 2-3 years.
    I’m looking forward to use it for 4-5 years I think or so. I know it’s very hard question and I’m not really sure if it’s right to discuss it, but I’m saying just what I think.
    And maybe because of this, it’s better to order processor with 3.2Ghz, and a bit more RAM (8GB (4x2GB))? What you think?
    And what will be the different between this 2 processors and more RAM? Because it will be +800 USD or so, and it’s very expensive for me (pay addition 800 Dollars), I just want to ask you if it will costs this money. Unfortunately I can’t spend more money on Mac to buy 6-core Westmare and more RAM But I think cheapest Mac, for my tasks already very powerful and awesome, what you think?
    And if you’ll advice me, not to pay addition 400 USD for +0.4Ghz, and the different is very little, then what you think about addition Ram for stock MAC?

    Thank you hatter.
    I'm appreciate for your help and answer, and this amazing links! They are very helpful.
    I find some interesting information. And most interesting is SSD thing. But unfortunately it's very expensive for me
    I got 2 ways to go, and I really confused now. I take a look what you said, about making a PC with i7. And here is what I find on our Russian market - only 1 company which offers high quality custom PC's with up to 3 years guarantee.
    What they can offer:
    Price: $2060
    (Basic Config: DEPO Ego Z71i)
    OS:
    Microsoft® Windows 7 Home Premium RUS 32-bit
    or
    Microsoft® Windows 7 Home Premium RUS 64-bit
    MotherBoard:
    *ASUS P6T, Intel®X58 chipset , DDR3, ATX*
    CPU:
    *Intel® Core™ i7 Processor 930 (4-Cores, 2.80GHz, 4.8 GT/s, 8Mb)*
    Intel® Core™ i7 Processor 950 (4-Cores, 3.06GHz, 4.8 GT/s, 8Mb) +$365
    Intel® Core™ i7 Processor Extreme Edition 980X (6-Cores, 3.33GHz, 6.4 GT/s, 12Mb) +$1150
    RAM:
    *3Gb DDR3-1600 Corsair Dominator, Triple Channel*
    6Gb DDR3-1600 Corsair , Triple Channel +$40
    12Gb DDR3-1600 Corsair , Triple Channel +$260
    HDD1:
    *1TB SATA hard drive (7200rpm)*
    2 x 1TB SATA hard drive (7200rpm) +$80
    4 x 1TB SATA hard drive (7200rpm) +$230
    2 x 2TB SATA hard drive (7200rpm) +$355
    4 x 2TB SATA hard drive (7200rpm) +$790
    HDD2:
    WD VelociRaptor 150GB, 10000rpm, 16Mb cache, SATA-II +$175
    2.5" 64GB SSD SATA II +$205
    WD VelociRaptor 300GB, 10000rpm, 16Mb cache, SATA-II +$285
    2.5" 128GB SSD SATA II +$405
    RAID:
    RAID0 (required minimum 2 HDD) +$10
    RAID1 (required minimum 2 HDD) +$10
    Optical Drive 5.25":
    *DVD±RW/CD-RW/DVD 16x4x/5xDL/16x4x/16x/48x/24x/48x*
    BD-ROM&DVD RAM&DVD±R/RW, 5x/5x/12(R9 6)x/6x/12(R9 4)x/6x/12x/24x/24x/32x +$130
    SuperMulti Blu-Ray ReWriter +$235
    Card Reader 3.5":
    *Card Reader/Writer 50 in 1 (CF/MD/SM/MS/SD/MMC)*
    Video:
    *ATI Radeon™ HD 5870 (1024МБ, PCI-E TV-out DVI+HDMI)*
    1536MB NVIDIA GeForce 480GTX PCI-E DVI +$110
    2x ATI Radeon™ HD 5850 (1024МБ, PCI-E TV-out DVI+HDMI) +$230
    2x ATI Radeon™ HD 5870 (1024МБ, PCI-E TV-out DVI+HDMI) +$490
    Sound:
    *Realtek 7.1 (integrated)*
    Creative Sound Blaster X-Fi™ Titanium Fatal1ty Champion Series +$400
    Power:
    *800W (12sm)*
    1000W (14sm) +$50
    1200W (14sm) +$55
    WiFi:
    *WLAN 802.11bg*
    Mouse + KeyBoard: (lol)
    Without mouse and keyboard -$75
    Cordless Desktop® Wave Pro™ +$75
    Maitance:
    *1 Year*
    2 Years +$10
    3 Years +$20
    Ok, that’s it.
    DEPO - It’s our Russian company so I can’t give you link on English web page, but if you are interesting to view it, maybe with Google translate:
    http://www.depo.ru/H/MDL658/1000004953/zconfigurator.aspx
    And I’m not really sure, if they offer high quality components, and I can’t check it.
    I just don’t want to repeat same experience like with my previous computer – I bought top computer for very high price with top components, but everything was bugging, it’s terrible, I’m working with this computer 3 years now (it’s cored 2 duo with radeon x1900 and vista :S video card - without supporting DX10-11, 2 Hdd 500Gb RAID 0, - maximum lags – I cant’ even make a diagnostics… crazy). And I’m so sad about this computer, and I don’t want to repeat same experience. That’s why I wonder about Mac Pro or any other quolity PC, but price is too high, or if I buy just normal Mac Pro:
    • One 2.8GHz Quad-Core Intel Xeon “Nehalem”
    • 3GB (3x1GB)
    • 1TB 7200-rpm Serial ATA 3Gb/s hard drive
    • ATI Radeon HD 5770 1GB
    • One 18x SuperDrive
    • Apple Magic Mouse
    • Apple Keyboard with Numeric Keypad (English) & User's Guide
    For 2499 USD, I still need to add more RAM, and It will costs 2874 USD with 8 Gb, but without changing Processor and/or HDD for SSD to speed up computer like **** and enjoy it every minute. I maximum can spend 3000-3200 USD for new computer. And all I want, to enjoy it’s stability and speed. To load photoshop in less then 5 seconds, working with AE a bit, 3dmax a bit, play a bit. Maybe I want to much :/

  • My facetime doesnt work. If I call somone they see I call but when they accept it doesnt work and when they call me the green camera light turns on but no sound or pop up of the video chat screen appears, please help! Macbook pro user. MacBook Pro, OS X M

    My facetime doesnt work. If I call somone they see I call but when they accept it doesnt work and when they call me the green camera light turns on but no sound or pop up of the video chat screen appears, please help! Macbook pro user.
    MacBook Pro, OS X Mountain Lion

    I just wanted to follow this up by saying that you were entirely correct in your diagnosis of the situation.  My computer did have the faulty part you linked to.  I brought my laptop in and specifically told them to run that test, had it fail and then argued with the person at the genius bar and the manager.  Eventually they offered to have it sent out and have everything replaced for free of charge.  They did so mainly because I had complained about graphical issues almost every other time I had come in with problems and no one ran the test.  They should have caught this problem during my warranty, but they didn't, even though I mentioned the problem.
    Anyhow, after having the part replaced, I haven't had my computer crash a single time since, or had many of the issues mentioned above.  I've never had this experience before.  Even brand new, I got occasional crashes.  Hopefully this new trend continues.
    I do find that web browsing is still incredibly slow.  Web browsers just chug along at a slow pace, even though I have great internet speed.  Maybe I'll try just deleting my web browsers and reinstalling them...
    Anyhow, thank you for your help and knowledge Clinton.

  • Change info displayed on splash screen Help-- About

    When I open NI Multisim and click on Help-->About, the splash screen displays the following information in the upper left hand corner of the splash screen:
    test
    Benjamin Franklin Institute
    Serial#
    How/where do I change the word "test" so that it doesn't appear on all the classroom PCs?  Where is the source of the identifying information that appers on the splash screen?
    Thanks.

    Hello,
    In this case “test” is making reference to the Register Owner. This information is requested during the installation process. You will be able to modify this information by modifying a key in the Windows Registry.  Please refer to the link below for more information.
    http://digital.ni.com/public.nsf/allkb/0385A6FBAADE844286256DDB0066FCE8?OpenDocument
    Regards,
    MCOTO

  • I've purchased an in-app purchase recently, which was a magazine issue, the problem is that I can't find it in the app! Any help about that?

    I've purchased an in-app purchase recently on my iPad, which was a magazine issue, the problem is that I can't find it in the app! Any help about that? The app is called Forbes Middle East

    Change your iTS password!!!!
    Are these charges from Adobe or Apple?
    Are these purchases from the App Store or iTunes Store?
    Contact your credit card company and dispute the charges. Apple and Adobe will do nothing for you - it is your CC issuer that can help.
    As noted these are user to user discussions. None of us here work for Apple or Adobe.
    Contact iTS Customer Service via these links - http://www.apple.com/support/itunes/
    MJ

  • I bought ilife 11 but cant update it. Is there any e-mail address which can i get help about ilife 11

    i bought ilife 11 but cant update it. Is there any e-mail address which can i get help about ilife 11?
    i bought it from Turkey website. apple.com.tr and i paid the price bu i cant update it and there are nothing i can do? i called the turkey's apple but they said i should mail this to apple.com. So, i didnt find any e-mail support address for ilife 11.
    what should i do? apple support center is really bad for unplanned situations.

    Apple doesn't have an e-mail address. Unfortunately you'll have to resort to snail mail, for anything that can't be answered by phone or the website. 
    iLife '11 has had no updates issued so far:
    http://support.apple.com/downloads/#ilife
    If it should ever get an update, it would likely be at that link.

  • Need Help about 3D and revolving in illustrator

    I really need help about 3D, Please tell me that How i create 3D in illustrator
    i want to revolve text or shape around any object like this, any plugin? or other software required for this?
    if somebody know this it will be really help full
       http://rcgrafix.fizwig.com/1452732-large.jpg    
       http://rcgrafix.fizwig.com/1384370-large.jpg
       http://rcgrafix.fizwig.com/1062180-large.jpg
    Thanks
    Arsi

    if links are not working try Copy and paste it in to your browser address bar
    thank you

  • Need help about 1015

    need help about 1015 it says connect iphone to itunes on screen i did it but it doesnt work and says unexpected 1015

    Try restoring it: Make sure you are following the instructions in this procedure to the letter.  Here they are, with emphasis on some easily overlooked requirements:
    Disconnect the USB cable from the iPhone, but leave the other end of the cable connected to your computer's USB port.
    Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.If you cannot turn off the device using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the device turns off, release only the Sleep/Wake button.
    Continue pressing and holding the Home button while you reconnect the USB cable to the device. The device should turn on.
    Note: If you see the "low battery" screen, let the device charge for at least ten minutes to ensure that the battery has some charge, and then start with step 2 again.
    Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears (iTunes icon and USB connector) release the Home button.
    If necessary, open iTunes. You should see the "recovery mode" alert ("iTunes has detected a phone in recovery mode").
    Use iTunes to restore the device.
    If you do not see the "Connect to iTunes" screen, try these steps again.
    If you see the "Connect to iTunes" screen but the device does not appear in iTunes, see this article and its related links.
    If you have backed up the iPhone in the past, select the device in iTunes and choose "restore from backup".

  • Need help installing Adobe Pro 9 Product code [removed by moderator] to my new PC tower.

    Need help installing Adobe Pro 9 to my new PC.

    Hi albertc40027908,
    You might need to deactivate Acrobat 9 from your old machine.
    Then, install the software from a CD (if you have) and activate with the same serial number.
    If you don't have a CD, then you might install Acrobat 9 pro from the below mentioned link:
    Download Acrobat products | 9, 8
    Hope this helps.
    Regards,
    Anubha

  • Please help, my macbook pro won't boot

    Hey there, i need help
    My macbook pro wont start, so after i press the power button, the apple logo will pop out with a rotating circle below the logo, and there's also a bar below, but in my case that bar will only run til almost complete (there's only about 0.1cm left) and it'll suddenly go off
    I've tried to use Safe Mode boot and fsck -fy, they didn't work.
    I've also tried to enter the Disk Utility and repair the hd, but it keeps on experiencing error, it says "Error: Disk Utility can't repair this disk ...." for both the TOSHIBA and Macintosh HD
    From what i remember i haven't ever used the Time Machine backup before
    How do i fix this without losing my files? I have bunch of important projects there and i need to finish them soon
    Please help, thank you

    Hi srhnizomi,
    If your Mac will not boot past the grey Apple screen, you may find the following article helpful:
    Mac OS X: Gray screen appears during startup
    http://support.apple.com/kb/ts2570
    Regards,
    - Brenden

  • Compiling and linking Pro*c

    Hi All.
    i want to know the complete process os compiling and linking Pro*c programs.
    Q:1. Do i need to install visual studio?
    Q:2. If yes, please tell me complete procedure for setting environment variables and usage.
    Q:3. If visual studio is not required, how can i compile and link Pro*c programs.
    i heard that we can compile and link using COMPLINK.BAT
    if yes, how to set the complink.bat into execution(ie any paths need to be modified in .bat file)
    need help urgent.
    thanx in advance

    Q:1. Do i need to install visual studio? -
    Yes you need this
    Q:2. If yes, please tell me complete procedure for setting environment variables and usage.:
    Refer V.Studio installation manual and PROC++ Programmers Guide.
    Q:3. If visual studio is not required, how can i compile and link Pro*c programs.
    Yes you need this

  • HELP about analog output video

    Hello, I´m need help about analog output video in Premiere CS5 using Matrox RTX2. I need to crop a video with resolution in 1440x1080 to 4:3 in output analog. But what happens is wrong (I think). My video is in format anamorphic and the other option is 16:9 letterbox. Is there any way to crop the video without using effects. Thanks a Lot and sorry my bad english (my native language is Portuguese).

    There are no 4:3 HD specifications.  You'll have to put the video into a normal SD sequence, and scale it down till the top and bottom of the video meet the frame.  That way the sides will be cut off.

  • Help about Warning Security IE 8.0

    Hello Guys,
    I need help about warning security IE 8.0.
    When I try install a software from my webserver is display the following message:
    I can't check the publisher.Are you sure install the software?
    This file does not have a valide digital signature that verifies its publisher.
    You should only install software from publishers you trust.
    Well, I already enable:
    Download signed ActiveX controls
    Download unsigned ActiveX controls
    Allow active content from CDs to run on user machines Enabled 
    Allow software to run or install even if the signature is invalid Enabled 
    Check for server certificate revocation Disabled 
    Check for signatures on downloaded programs Disabled 
    Is there somewhere I disable all settings warning's about IE or one specific GPO I need disable for this warning don't display for me?
    In the same installation a lot of about file .cab are installed, only one specifc I don't have sucess.
    I try some troubleshootings too:
    https://social.technet.microsoft.com/Forums/windows/en-US/8f8293c4-0920-462f-9c69-0a8e3f92aa02/unknown-publishers-warning
    https://www.youtube.com/watch?v=UknQn6tZZis
    http://windows-3322.blogspot.com.br/2011/02/how-to-repair-activex-error.html
    Thanks a lot who answer me or about any idea about my issue.

    This file does not have a valide digital signature that verifies its publisher.
    Did you see your result
    https://social.technet.microsoft.com/Forums/windows/en-US/8f8293c4-0920-462f-9c69-0a8e3f92aa02/unknown-publishers-warning
    <quote>
    Changing the time zone actually worked.
    </quote>
    Robert Aldwinckle

Maybe you are looking for

  • Can I see my to do`s list from ical on the iphone?

    I use iwork 08 and I allready have a to do list on my ical, but in my iphone after sync I only see my calendar, contacts, etc. but not my to do list. How can i see it?

  • Bug in iPads Photo Stream?

    Hi, I have a problem with my iPad 2's Photo Stream (the problem does not occur on my iPhone 4S):  when I open Photos and switch to Photo Stream most of the times it is empty.  If I open a foto app which can access pictures in Fotostream (e.g., Photog

  • Need to display the first 5 values of a Multi value parameter in SSRS report

    Hi All, I have SSRS report with multi value parameter. I need to display the parameter selection values in a text box. I've more than 50 records in the multi value parameter list. I've included the code to display "All" if I choose "select all" optio

  • Skype crashes since Leopard Update 1.5.1

    I am aware of the fact that my problem has more to do with a third party than with Apple I really would appreciate some input on my Skype problem. I already have been researching solutions within the Skype fora and posted an official bug report, howe

  • Mathscript error in an out clusters

    It appears that Mathscript Nodes do not execute if there is an error at their error in cluster. This seams to be what I would expect to happen. The error in then feeds to the error out cluster. Again this seems to be what one would expect to happen.