Impossible to compile the Python bindings for dbxml - 2.5.13 with python 2.4

Hello world
I am trying to build the Python bindings for dbxml - 2.5.13 with python 2.4.
Everything else has compiled just fine, but I get the following error for this:

construction running
running build_py
running build_ext
"_dbxml" extension of construction
GCC - pthread - fno-strict-aliasing - DNDEBUG - g-O3-wall - Wstrict-prototypes - fpic - i/usr/local/xmldb/include--i/usr/local/xmldb/include-I/usr/local/py2.4.4/include/python2.4 - c dbxml_python_wrap.cpp-o build/temp.linux-i686-2.4/dbxml_python_wrap.o
cc1plus: WARNING: command line option ' - Wstrict - prototypes "are valid for Ada/C/ObjC but not for C++
dbxml_python_wrap.cpp: "Sub makeXmlException(const DbXml::XmlException&)" function:
dbxml_python_wrap.cpp:3393: warning: deprecated the conversion of the string constant in "tank."
dbxml_python_wrap.cpp:3403: error: invalid conversion from ' const char * ' to ' tank. "
dbxml_python_wrap.cpp:3403: error: initialization argument 2 of ' pyobjet * PyObject_GetAttrString(PyObject*, char*)»
dbxml_python_wrap.cpp:3412: warning: deprecated the conversion of the string constant in "tank."
dbxml_python_wrap.cpp:3415: warning: deprecated the conversion of the string constant in "tank."
dbxml_python_wrap.cpp:3417: warning: deprecated the conversion of the string constant in "tank."
error: command 'gcc' failed with exit status 1

I saw a similar post for an older version, but the solution does not seem to adapt to this particular case. Any suggestions on getting it to compile?

Thank you
Good looking

Published by: beauSD on September 28, 2009 15:43

Good looking

You should just be able to cast ename to (char *) ename in the offending call. I would like to know if it works. Some conditional code could probably be added to manage older Python releases if really necessary.

Kind regards
George

Tags: Database

Similar Questions

  • Internal error OR-farm - impossible to compile the FPGA VI

    Hello!

    When I try to compile any FPGA VI with LabVIEW2013 or 2012 SP1, I get the following error:

    "Year error occurred trying to connect to this server compilation."

    Details:

    Internal error OR the farm: Client Server received unexpected or bad data. »

    Intermediate files are not generated, the error message appears immediately after I have select build of build specification or I click the run arrow.

    I use the local server for compilation.

    The equipment I use: CompactRIO Evaluation Board - SbRIO9636, DELL laptop, Intel core2 Duo T5800, 2 GHz, 3 GB RAM, Windows 7 Ultimate 64-bit, SP1.

    The intermediate files CAN be generated without any problems if I select in the menu. If I run the FPGA application compile worker, a ToolTip message specifying that "FPGA compile runs", but after a few seconds, another message appears: newspaper several attempts were unsuccessful - please see attached images.

    At first, I thought that my firewall (Comodo 6.3) is the reason for this, so I disabled it but nothing changed. Then I tried to fix LabVIEW FPGA and XILINX tools with the firewall disabled but din do not solve the problem. I tried with LabVIEW SP1 of 2012 and 2013.

    If you have any suggestions, please let me know! Thank you!

    We would like that you try to reset the NIAuth database by following these steps:

    1. go to Windows Services (Bring up Windows with Ctrl + Alt + Delete Task Manager, click the Services tab, click the Services button at the bottom right of the window.

    2 stop the NI Application Web Server and NI System Web Server services in this order (right click, stopping service and select).

    2 backup, and then delete all the files under %PROGRAMDATA%\National Instruments\NIAuth: registry.bin and commitmark.

    3. run NI System Web Server and NI Application Web Server services in this order.

    4. navigate to http://localhost:3580 / connection of an IE on the local computer and try to log in with username "admin" and password empty. Succeeds, the server will return one signed in as: message from the admin.

    After you follow these steps, try and connect to the FPGA compiler, and then let me know what are the results.

  • Impossible to compile the XQuery modify

    Hi gurus. Oracle 11.2 EA running on Linux. SQL Dev 3.2.30.09.

    I'm pretty decent with XPath and XSLT, but I'm new to XQuery. I've set up a few simple FLOWRs, but I'm getting a little more complex. I have an XQuery query where I am trying to replace some of the inline data. I've clipped the real XML and code down to a very simple example that will always return the same error.

    The error:

    ORA-19112: error raised during the evaluation: XQuery Update cannot be compiled

    19112 00000 - "triggered when evaluating error: %s.

    * Cause: The error function was called during the evaluation of the XQuery expression.

    * Action: Check the error message for possible causes.

    Error on line: column 7:14

    My Xquery:

    SELECT XMLQuery( 
      'copy $tmp := $xmldata 
           modify (replace value of node $tmp/MSG_CNTNT_XML/Message/msgHdr/Source/Format/text() with "abc") 
         return $tmp' 
         PASSING msg_cntnt_xml as "xmldata"
         RETURNING CONTENT ) xmlmct
    FROM (SELECT xmltype('<Message>
       <msgHdr>
          <Source>
             <Format>CTS</Format>
          </Source>
       </msgHdr>
    </Message>') msg_cntnt_xml
           FROM DUAL) 
    ;
    
    

    Any general advice for XQuery and change is cool, but what I am really looking for, that's why I get the "update cannot be compiled. (BTW, note the misspelling, cannot, I don't judge).

    Tips for debugging or be able to view the intermediate outcomes would be great also.

    Thank you.

    LewisC

    Hi Lewis,

    What is your version of the database accurate?

    You try to use XQuery Update Facility (a small extension to XQuery 1.0) which is available only from 11.2.0.3 .

    On previous versions, you can use the updateXML() function:

    SQL > SELECT updateXML)

    2 msg_cntnt_xml

    3, ' / message/msgHdr/Source/Format / text () '

    4, 'abc '.

    (5) xmlmct

    6 (SELECT xmltype ('))

    7

    8

    9           CTS

    10

    11

    12 ') msg_cntnt_xml

    13 DOUBLE)

    14;

    XMLMCT

    --------------------------------------------------------------------------------

    ABC

  • Impossible to include the Spark components for my extension for CS 5

    Hi all

    I'm develpoing an extension for Illustrator CS5 and I want to be able to use the Spark DataGrid. I'm developing on Flash Builder 4.6. To do this, the compiler defines the sdk to builder extension 3.4. I'm not able to use the spark even after including the namespace xmlns:s = "library://ns.adobe.com/flex/spark".

    But, if I remove the socket support for CS5 and have an extension for CS6 and above and change the compiler settings to support the extension builder 4.5 sdk, then the spark components are recognized.

    Why can't include spark to my CS5 extension components?

    Sparx components were introduced with Flex SDK 4.0; This is the reason why you can not include in an extension of CS5. Extension Builder SDK 3.4 is based on the kit Flex SDK 3.x series

    I hope this might help.

    Best,

    Luca

  • Impossible to compile the Java Code using the Oracle API

    Hi all

    I use the following code for use in Oracle 11 g. What pots of IOM should I include to get this to compile? I seem to have all the necessary jars, except the one that contains Thor.API.Operations... If someone could point me in the right direction for this, I would be very grateful.

    package AdTest;

    Thor.API import. *;
    Import Java.util;

    public class {AdTest

    public void AddProcessChildData (long pKey) {}
    try {}
    tcFormInstanceOperationsIntf f = getUtility ("Thor.API.Operations.tcFormInstanceOperationsIntf") (tcFormInstanceOperationsIntf);
    tcResultSet childFormDef = (f.getProcessFormDefinitionKey (pKey), f.getProcessFormVersion (pKey)) f.getChildFormDefinition;

    childKey long = childFormDef.getLongValue ("Structure Utility.Child Tables.Child Key"); If there is only 1 child for the form table parent on the other you have to iterate over the result set

    Map attrChildData = new HashMap();
    String NUGroupe = "someValue";

    attrChildData.put ("UD_ADUSRC_GROUPNAME", NUGroupe);

    f.addProcessFormChildData (childKey, pKey, attrChildData);
    } catch (Exception e) {}
    e.printStackTrace ();
    }
    }
    }

    xlAPI.jar

  • Impossible to install the latest driver for Intel 82852/82855 GM/GME (SP A40)

    I know that this topic is explained before by NickyNoogle and Juan28, however I need more help.
    I can't install the latest driver for the graphics controller Intel 82852/82855 GM/GME (Toshiba A40 Satellite Pro). I downloaded the driver from the Intel Web site, but it has not installed and there is an error message "unable to install on this computer, please contact with the producer. I need to update the driver of 6.13.10.3514 version of lates version (6.14.10.4421). I know that I have to use the Toshiba drivers only. Could you be so kind and stick it to the post any link of this driver to download? I can't seem to find it on the Toshiba site anywhere.

    Hello

    You can not install it because of the material. AFAIK designed Toshiba drivers are slightly modified to be limited and protect the graphics card. Driver Intel can get the map on the maximum limit and destroy it. This is the reason why you can not install it.

    Sorry but there is nothing to do. Try to check if a new Toshiba unit has the same graphics card and latest driver on Toshiba download page. Date of arrival:
    Sat Pro L10
    Satellite L10
    Satellite A50 and A80 (6.14.10.3943)

    Good bye

  • Impossible to install the audio driver for Vista for Satellite M100-152

    Hi people,

    I have a problem with installing the audio driver for my M100 - 152 (PSMA1E). I downloaded the driver and tried to install it. At one point during the installation progress, sometimes an error message that says: "Setup does not match infFile Realtek HD Audio.
    Sound works when headphones are connected but no sound to the speakers.

    Someone at - it an idea?

    Best regards
    Hannes

    Post edited by: hannesgpunkt

    Post edited by: hannesgpunkt

    Hello

    where did you downloaded the driver? On the toshiba Web site? Maybe you should try the driver from realtek home page because they are native and absolutely clear things from other manufacturers. I think you should try "www.realtek.com" and install the driver downloaded from there, once you have uninstalled the driver for your machine.

    Welcome them

  • Impossible to update the display drivers for Satellite L650

    I have L650 and AMD ATI Mobility Radeon HD 5470.
    First of all, I wanted to update my drivers Toshiba program showing that this driver is old. OK, I downloaded, install and then, months later, window pop-up, this driver is always old. I did it again and I noticed that the driver is not updated at all.

    So I went to the ATI site, and there I discovered that the latest drivers for my card there but they will not work with Toshiba. Weird is, I tried anyway, they don't work.
    So I went to Toshiba site and start downloading AMD, each of them display drivers. None of them worked: errors or 'installation complete', but nothing works. I tried other sites with drivers for my model. Resut: Nope, once again.

    Finally, I found the most up-to-date drivers for my Radeon, from Toshiba Web site... from 2011. Is this some kind of joke? Why can't I have the drivers updated just because it is Toshiba? Why Toshiba is not updated their drivers, when the software they gave me with the laptop gives me alerts that my drivers are outdated.

    Hello

    > Why Toshiba is not updated their drivers, when the software they gave me with the laptop gives me alerts that my drivers are outdated.

    Many different laptop models were equipped with the same GPU. That's why you should also search for drivers of graphics cards that have been released for the new laptop models equipped with the same graphic card.

    > Yes, so I went to the ATI site, and there I discovered that the latest drivers for my card there but they will not work with Toshiba. Weird is, I tried anyway, they don't work.

    I read in various forums on graphics cards drivers and update issues.
    It seems that Toshiba provides special and changed graphics cards drivers that have been specially designed for mobile use. These drivers support a kind of protection which is important since s graphic portable units are equipped with large modules of cooling the overheating.

    However, there is a solution to install the page ATI original drivers, but the use of these drivers is at your own risk. You need to download the driver package that contains the dll and ini files.

    Then you should be able to update the driver through Device Manager by using the Advanced installation procedure which allows to point to the folder that contains the mentioned dll and ini files.

  • Impossible to install the updated driver for printer canon

    Hello

    At every reboot (or what it seems) I am presented with an optional update titled:

    Canon - printer - Canon MX350 series FAX

    Download size: 18.3 MB

    You may have to restart your computer for this update is taken into account.

    Update type: Optional

    Canon printers software update released in April, 2012"

    This made their appearance in these last weeks, and I've had the printer for more than 12 months (reference at the time of update).

    He has downloaded and moved on the agreement (or as it seems), yet a further reboot shows he has not, as it appears again in update option.

    Canon has already recommended to uninstall all the printer drivers for the printer, then relocation including that similar issues... a very long process.

    Is there a direct link (?) I don't have access to update? Assuming that it can fix the problem.

    Looking forward to any advice or request for clarification.

    concerning

    Lethal42

    There are a number of knowledge associated with, such as KB123456, as well as a link in the right pane for "Additional information" or "information". By clicking on one of them may lead you to a download available.

    If not, go here http://support.microsoft.com/search/?adv=1> and look for the number + 'download '.

    If this STILL does not work, try one of these (probably one of the two for 10/04/2012, even if neither one is 18.3 MB): http://catalog.update.microsoft.com/v7/site/Search.aspx?q=Canon%20MX350%20series%20FAX>

    Or (and this is what I would do), if everything works fine with the printer, the next time that he shows up, uncheck the box, right-click on it and select "Hide this update." The general rule is if the drivers are available at hardware manufacturers, then never install an update to Microsoft hardware (unless, of course, it's a MS product such as a mouse or a keyboard).

    SC Tom

  • Sticker is worn off laptop so impossible to get the product key for Windows 7

    Original title: what is this windows - x 15-54456

    I bought a laptop and dispelled sticker a lot so that it remains a key and windows code

    It's just the number that defines the product chain just, either OEM, retail, Volume Licensing.

    If the COA sticker is damaged, your options include the use of the recovery partition to reinstall Windows 7, which exonerates the need to use the product key on the COA sticker:

    New computers coming often pre-installed with Windows 7 have what is called a recovery partition. This is used to reinstall an operating system in the case of a system failure. To access it, you need to start when you start your computer by pressing a function key. This can be either F1, F2, F9, F10, F11, F12 key DEL or tab. See the manual that came with your PC for instructions on how to reinstall Windows.

    If your recovery partition is not available or damaged, you must contact the manufacturer of your computer, and request that a defined recovery disk you can use to reinstall Windows 7. They could practice a small shipping and handling.

    ------------------------------------

    This is how the recovery partition is available for the most popular brands

    For Dell, press CTRL + F11 directly after switching on the device

    For HP, press F11 directly after switching on the device

    For Toshiba, press and hold "0" BEFORE and during the power upward

    For Acer, press and hold ALT + F10, as soon as you see the logo

    For Asus, press F9, as soon as you see the Asus logo.

    Advent, restart your computer. Then, press F10 repeatedly until the message "Starting system recovery"

  • Impossible to install the graphics driver for Probook s 4530 without blue screen or the repair mode

    Recently due to the failure of the hard drive, I replace my drive with an SSD Intel 520 180 GB. I tried to install from a DVD MSDN windows 7 Enterprise 64-bit. Everything was going fine until I had to install the drivers. All of them have been installed OK, but not for the graphics. A useful user Paul_Tikkanen guided my via different drivers and tricks, but with the same sad result. Not his fault, of course. On recommendationen of Paul, I ordered support restore disks for HP businesses. I got them today and of course happy as a kid receives his candy Saturday I put disks in the dvd player for the installation. Same thing happened again. Graphics driver has not worked here either. He me gives either a blue screen on reboot or I am se repair to restart mode.

    I tried to find auto driver from Intel, but IE crashes when you try. I also tried the generic Intel driver. If someone has an idea or can extract drivers work this would be much appreciated.  The generic Microsoft driver works well but I get a maximum of 1024 * 768 resolution.

    I also read that you need to install the chipset driver and intel

    You can see my entries a little frustrated in the following thread: http://h30434.www3.hp.com/t5/Notebook-Display-and-Video-e-g-Windows-8/4530S-graphics-driver-and-fing...

    The thread above also contain useful material IDS etc.

    I have also contacted the provider here in Sweden, to check if the warranty has expired yet. The laptop is 1.5 years old.

    This problem has been resolved by manually installing the HP Intel HD graphics driver.

  • First ERROR H264 Pro EXPORT. Impossible to compile the movie

    I did a 30 min program and want to incorporate captions on this subject. The only export file that is quictime. Export with the h264 codec, first pro freezes and crashes and gives me an error stating can not compile the film. Is there something wrong with adobe media encoder or what? I have adobe cloud, so it should be updated... any ideas. Pre

    You should try to disable hyperthreading in the BIOS.

  • Impossible to change the credit card for subscription of cloud

    I'm coming to the change billing ok then get a message that there is a problem on the end of Adobe and try later.  For the last 4 days.

    Hi susnb59,

    I hope that you have had to also tried different browsers such as Archcentury, which is the first step toward the resolution, then you can try to delete cookies & history of navigation.

    If the problem persists, please inbox me the order number for which you want to change the billing details with your details, I can always go for you with the team concerned.

    Kind regards

    Baudier

  • Impossible to compile the form

    Hello
    I need compile the form JAIREGIM.fmb

    I followed the procedure to compile the form below, but after compiling it is showing the same old date of compilation.


    CD /apps/visappl/ja/11.5.0/forms/US

    Export FORMS60_PATH = $FORMS60_PATH: $AU_TOP/forms/US

    f60gen Module = JAIREGIM.fmb Userid = apps/systime_cms
    Module_Type = batch FORM = yes Output_File = JAIREGIM.fmx


    Thanks and greetings
    Amith

    but the form JAIREGIM.fmx display of the current time.

    Does this mean that fmx file has been generated successfully? If so, copy the file "/ apps/visappl/ja/11.5.0/forms/US" and try to access the application.

  • generate the TTL signal for synchronization from another device with Labview

    Hi all

    I use NEITHER-6071E and try to generate and send a TTL signal so I can synchronize another device with my Labview code. My code (code attached) generates a sine wave, and I want to send a singal TTL out at an angle of phase on the sine wave. Currently, the code sends a sinusoidal signal and a square using similar wave output on BNC Plug. I thought I could just use a square wave, and send it out as analog output for the other device, but apprantly that he works with a TTL signal.

    Could you please take a look at my code and advice me how to generate a TTL signal while being able to send it to some phase shift?

    Thank you davance

    Pooya

    There is almost everything using examples > find examples... menu

    but here is one which simply sends a single impulse:

    Note that I expect the line have been pre-defined in MAX (it's always a good idea to check that your DIO line behaves as expected by trying it in MAX).

Maybe you are looking for