OCI works but OCCI doesn´t work
Hi,
I am developing a component of a project to execute a pool of inserts to a DB.
I installed the instant client 10g, headers and the occi for linux.
When I execute the example of oci (cdemo81) it runs OK but when I execute the occi example occidml it crash and aborted.
Do you have a suggestion why the OCCI doesn't´ work?
Thanks,
Mikel
I try to execute the example 10g Release 1
and I´ve got this error :(
link.once ? Do you know what is happening?
g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -O0 -g3 -Wall -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
/bin/sh ../libtool silent mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -O0 -g3 -Wall -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o oci main.o
main.o(.gnu.linkonce.t._ZN8occicollC1ESsSsSs+0x44): In function `occicoll::occicoll(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
/usr/include/c++/3.2.3/bits/stl_algo.h:298: undefined reference to `oracle::occi::Environment::createEnvironment(oracle::occi::Environment::Mode, void*, void* (*)(void*, unsigned int), void* (*)(void*, void*, unsigned int), void (*)(void*, void*))'
main.o(.gnu.linkonce.t._ZN8occicollD1Ev+0x2e): In function `occicoll::~occicoll()':
/home/vientoloco/nuevatel/oci/kdevelop/oci/oci/main.cpp:100: undefined reference to `oracle::occi::Environment::terminateEnvironment(oracle::occi::Environment*)'
main.o(.gnu.linkonce.t._ZN8occicoll9insertRowEv+0x24f): In function `occicoll::insertRow()':
/home/vientoloco/nuevatel/oci/kdevelop/oci/oci/main.cpp:180: undefined reference to `oracle::occi::setVector(oracle::occi::Statement*, unsigned int, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
main.o(.gnu.linkonce.t._ZN8occicoll14displayAllRowsEv+0x1b9): In function `__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > std::find<__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(__gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, __gnu_cxx::__normal_iterator<std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::random_access_iterator_tag)':
/usr/include/c++/3.2.3/bits/stl_vector.h:916: undefined reference to `oracle::occi::getVector(oracle::occi::ResultSet*, unsigned int, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)'
main.o(.gnu.linkonce.t._ZN8occicoll9deleteRowEiSs+0x178):/usr/include/c++/3.2.3/bits/stl_vector.h:906: undefined reference to `oracle::occi::getVector(oracle::occi::ResultSet*, unsigned int, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)'
Similar Messages
-
i just downloaded AOL Desktop 1.7 for Mac and I can't get my email to work. It welcomes me but I know I have new email but it doesn't recognize that I have ANY mail at all. HELPPPPPPPP Please
Hey I've been all over and can't get any help. I'm well aware its not an Apple product but its an app for Mac OS so I thought I'd try here. I bought 2 new iMacs yesterday for my parents (5K) and I'm just trying to get them some help as there in their 70's and AOL is all they know.
But hey thanks for your help, -
When I go to plug in my iPhone 5 to my PC it will charge my phone but it doesn't show up that it's connected to my computer or in iTunes. I have tried just about everything that I can find in the support discussions but nothing has worked. Any other suggestions?
If you have carefully follow ALL of the steps in that article, you are using a USB port directly on your computer and not a USB hub (don't use a front port on a tower or desktop either, as they are an internal hub) and you installed iTunes correctly using an Administrator ID and you have tried disabling your antivirus and firewall then there is no hope of it ever working. Look at the tip again, and go through it carefully, not skipping any steps.
Note, BTW, that an iPhone will not show up on a computer, only in iTunes. If there are photos in the Camera Roll then it will appear in Windows as a digital camera only. -
i bought a mini DVI to HDMI convertor and a HDMI to VGA cable to connect my mac book pro to a tv but it doesn't work any one can help.
I would suggest looking into a Thunderbolt to HDMI connector. In this case, you may be able to use the TV as an external monitor. For this option, please confirm through additional research. I have not tested it personally.
You can also use an Apple TV, which connects with HDMI. In this case, you can use Airplay Mirroring. Not all Macs support Airplay Mirroring, so you need to check first. I have a Mid-2011 27" iMac, and it supports Airplay Mirroring. I don't use it often because my TV is in another room, but I just tried it and it worked. It had to change the screen resolution to work well, so I don't know if I would want to use it as my day to day monitor. http://support.apple.com/kb/ht5404 -
I can't seem to get my iMac (late 2009 model) into automatic sleep mode. If I manually put it into sleep I don't have any issues.
I used to solve the issue by running "PleaseSleep" application but that doesn't work anymore since Lion. I now want to fix the underlying problem.
I'm not running any weird background processes and in my energy saver settings I've tagged "put the hard disk to sleep when possible:, "allow power button to put computer to sleep" and "automatically reduce brigthness". All pretty standard.
Is there anyone who can give me some pointers ?Today I solved the same problem for my iMac running Snow Leopard. See https://discussions.apple.com/thread/3008791#15947706. The method may help you, too.
For me it was the DynDNS Updater preventing my iMac from automatically entering sleep mode.
To my knowledge the cause of this sleep problem can only be a peripheral device or a process. So I suggest to first unplug all peripherals and test whether that's the cause. If not, I suggest to terminate one process after another and to test automatic entering of sleep mode after each. Start with user processes; continue with system process if necessary.
At least that's the way I found the offending process. Fortunately, I was able to change the configuration of that process to allow again automatic entering of sleep mode.
Good luck! -
I've got a touch iPod and for about a week now it's almost been permenently zoomed into the screen? I actually cannot get it to zoom back out. I've tried pulling the screen out with my fingers but that doesn't work. It's zoomed in on my home pages, on my music, settings everything! It makes simple things like deleting a number from my password login extreamly differcult. Please can someone help?!?! Thanks.
Double tap the screen with three fingers to un-zoom.
Then go to Settings > General > Accessibility > Zoom and turn this OFF. -
I just want them to stay exactly where I dragged them on my desktop. Can anyone help me on this. It's starting to get really frustrating.
Can't find the "sort by" option. I've tried the view options and clicked "none" in arranged by section as I've seen in forums, but still doesn't work.
-
My phone is stuck on apple screen and i've tried to reboot it and connect it to my computer many times but it doesn't work. Can anybody help me?
This is covered in the basics section of the manual:
iPhone User Guide (For iOS 5.0 Software) -
Hello everybody,
I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
Thanks in advance for your answer.
YanHello Chris,
Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
Thanks for answering so fast.
Bye.
Yan -
In my iTunes on the iPad I've got 95 things that are stuck and I tried swiping them to delete them but it doesn't work dose any one know how to empty the download tab
Thanks, but, using the "free" version of Reader, there is no opportunity to open nor import the xml data - the menu options do not exist - there is no import listed.
If we try to open the xml file directly, then we get an error - something to the effect of "unsupported file type, or the file is corrupted".
I just noticed in my Pro version that there is the command File ->Form Data ->Import Data to Form... command. Is this what you are referring to?
What do you recommend? Perhaps the easiest thing to do would be to purchase a few copies of Acrobat Pro for the reservations people to use? I was hoping that the free version of reader would do it, but perhaps not?
Thanks again,
Rob -
I'm trying to get my old bookmarks installed with Firefox on a drive holding Win xp to Firfox installed on a different drive holding Win 7. I followed the backup and restore process in the Firefox help file but it doesn't work. Help will be appreciated because I have a slew of bookmarks that I would like to use with Win 7.
If you need to merge bookmarks then you need to export the bookmarks to an HTML file and import that file on the other computer.
Bookmarks > Organize Bookmarks > Import & Backup > Export HTML
Bookmarks > Organize Bookmarks > Import & Backup > Import HTML : "From File"
See also http://kb.mozillazine.org/Backing_up_and_restoring_bookmarks_-_Firefox -
The Game Center used to work with my Apple ID before I updated to iOS 7.4, I used to play multiple player with EA Real Racing 3 game but it doesn't work at all and every time I tried to go to the Game Center it's just blank, even to the settings nothing!
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Go to Settings>Game Center and sign out and sign back in
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device. -
How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please. Thanks
Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
iWork > Pages
contenant Templates > My Templates
comme il y a un dossier
iWork > Numbers
contenant Templates > My Templates
Depuis le Finder, tapez cmd + f
puis configurez la recherche comme sur cette recopie d'écran.
puis lancez la recherche.
Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
Désolé mais je ne répondrai plus avant demain.
Pour moi il est temps de dormir.
Yvan KOENIG (VALLAURIS, France) mercredi 23 janvier 2011 22:39:28
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community -
iMac 24" iMac (iMac7,1), Intel Core 2 Duo 2,8 GHz Ram 4 MB running OS 10.6.8: impossible upgrade to Mac OSX Mavericks. Already created second account, according to apple online support, but still doesn't work. Thanks for help.
Your Mac is definitely one of the supported models? http://www.apple.com/uk/osx/specs/
If so, what happens when you try to download? Is it a case of nothing happens? If so, take a look at the suggestions under 'Stalled Download' in this link:
http://www.wired.com/gadgetlab/2013/10/mavericks-issues-and-fixes/#slideid-23477 1
Also, some usrs have found that logging out of the Mac App Store and then back in again and starting over has kick-started the download. It seems that the 5+gb download can take a long time to give any feedback as to what's happening. -
Help! I have had my iMac G5 fitted with new Logic Board but it doesn't work
Help! I have had my iMac G5 fitted with new Logic Board but it doesn't work
I have just had my iMac G5 First Gen 1.8Ghz fitted with a new Logic Board under the Apple Repair Extension Programme for iMacs.
I got the iMac home from the repairers and switched it on and everything was working fine for about 2 hours and then all of a sudden the Error Page came up on the Screen (with a big On/Off Switch Logo) and it said I had to shut down.
So I shut it down waited a few minutes and then tried to re-boot it but nothing happened. All that happended was the Power Light in the Right hand corner came on..but nothing else....
Help! Any ideas what to do please?If you have an external firewire drive (it has to be firewire, USB won't boot on a Rev A), plug it in to the firewire port and turn it on, then boot your iMac and see if it shows on the screen.
Have you tried to hit the eject (up arrow, the last button on the top row of the keyboard) button when you boot, perhaps the repairers left a disc in the drive? Then try and put your install disc in.
Miriam
Maybe you are looking for
-
Multiple query results in HashMap
Hi, Can anybody tell me how I can store multiple results of a select query in a HashMap. I basically know how to do it but here is the problem: I want the table ids to be the keys and ArraySets containing database data to be the values of the HashMap
-
How to install adobe acrobat XI pro in windows?
how to install adobe acrobat XI pro in windows?
-
Persist entity in ApplicationLifecycleListener
hi, i would like to persist some entities at deployment time in a postStart method of a class which extends ApplicationLifecycleListener. the problem is that the entites are not in the db although i dont get any exceptions and the entities even get t
-
Is there a global setting to turn off black border on swfs?
Hi there I started this question in the Framemaker forum as I assumed it was a Framemaker issue.. see: FM12 Imported Captivate 8 files, how do I get rid of the black border? but it seems to be an Acrobat thing, so am trying here as I've not used Acro
-
1602 errors when trying to install the Extended Asian Language font pack for Adobe Reader XI
My company is trying to deploy Adobe Reader XI 11.0.10 with the Extended Asian Language font pack via SCCM 2007, and some computers are failing the install of the Extended Asian Language font pack with 1602 error. Reader is installing successfully,