Error when building csv example

We built and installed Berkeley DB db-4.5.20.NC under RedHat Linux 7.3 with no issues. When we attempt to build the examples_c/csv example, we get the following:
cc -I. -I/usr/local/BerkeleyDB.4.4/include -g -W -Wall -Wpointer-arith -Wmissing-prototypes -c -o db.o db.c
db.c: In function `csv_env_open':
db.c:91: incompatible type for argument 4 of indirect function call
db.c:91: too many arguments to function
db.c: In function `csv_secondary_open':
db.c:197: incompatible type for argument 4 of indirect function call
db.c:197: too many arguments to function
db.c:202: warning: passing arg 3 of pointer to function from incompatible pointer type
db.c:202: warning: passing arg 4 of pointer to function makes integer from pointer without a cast
db.c:202: too many arguments to function
make: *** [db.o] Error 1
We have searched the forum and online with no luck. Any tips/suggestions would be appreciated.
Thanks,

It appears that the csv example is referencing the DB 4.4 libraries in the Makefile in the 4.5.20 tarball.That is correct, we will update the paths and include the update in the next release.
It is likely that you will need to update these paths anyway, unless they have installed Berkeley DB in the default location.
If you have run "make install", and left the default install root, it should be enough to change the lines in the Makefile to:
DB_INCLUDE=/usr/local/BerkeleyDB.4.5/include
DB_LIBRARY=/usr/local/BerkeleyDB.4.5/lib
If you have not run "make install", but are just building locally to test, the best alternative paths are probably:
DB_INCLUDE=../../build_unix
DB_LIBRARY=../../build_unix/.libs
Thanks for pointing this out to us.
Regards,
Alex

Similar Messages

  • Error when build J2EE example - web

    I use ANT 1.4.1 in C:\ANT directory and set up all environment variables ANT_HOME, JAVA_HOME etc
    When I do a build on the "web example as following:
    ant web
    I got the following error:
    BUILD FAILED
    java.lang.NullPointerException
    at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:
    253)
    at org.apache.tools.ant.taskdefs.Property.execute(Property.java:183)
    at org.apache.tools.ant.Task.perform(Task.java:217)
    at org.apache.tools.ant.Target.execute(Target.java:184)
    at org.apache.tools.ant.Target.performTasks(Target.java:202)
    at org.apache.tools.ant.Project.executeTarget(Project.java:601)
    at org.apache.tools.ant.Project.executeTargets(Project.java:560)
    at org.apache.tools.ant.Main.runBuild(Main.java:454)
    at org.apache.tools.ant.Main.start(Main.java:153)
    at org.apache.tools.ant.Main.main(Main.java:176)
    Any suggestion. Appreciate your help
    Tom

    Are you running ant in the <j2eetutorial_home>\examples directory> ?J2eetutorial_home refers to the directory where the tutorial is installed. I don't think this is the problem, but I thought i might check.

  • Error When building ess/tra/tre and ess/tra/tre/trs DC's

    I had customized the ess/tra/tre and ess/tra/tre/trs DC's and had them working, but I do not know what I did or what happened that am now getting the following errors when building, can anyone help tell what the problem could be?
    Error                                     
    -     The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.xss.tra.model.openccmodel.OVSOpenCostcenterModel. Fix the classpath then try rebuilding this project.               
    -     HDI_HNS15.02_Desstratresap.com                              
    Error                                     
    -     This compilation unit indirectly references the missing type com.sap.xss.tra.model.openccmodel.OVSOpenCostcenterModel (typically some required class file is referencing a type outside the classpath)        
    -      InternalVcTreReview.java          
    -      HDI_HNS15.02_Desstratresap.com/gen_wdp/packages/com/sap/xss/tra/tre/vc/review/wdp      
    -     line 0

    For anyone who might need to know, I managed to fix this by adding tra to the required projects on the build path. On the Navigator View, right click -> Properties -> Java Build Path -> Projects tab -> check dependant project.

  • Icon path restricted error when building release version for ipad3

    Hi,
    i get the following error when building the release build ipa file for ipad 3: "The path icon.png is restricted. If you were trying to package Icon.png you should correct the case."  In debug mode everything works. My icon is under assets folder and added in the app-xml with:
    <icon>
    <image72x72>assets/icon_72.png</image72x72>
    </icon>
    Did I missed something in configuration? Seems to be that the problem is known but cant find a solution for it. If i try to packegae per command line despite the fact building works I could not install the app. When I change the icon tag to use no icon everything works fine. Any ideas?
    Greetz and thanks in advance!

    I solved it. When you export the release build you can choose package contents to be compiled in the ipa. When I tried to add an icon at first I named it icon.png, which seems to be a reserved name. The configuration to include this icon.png was still saved though i deleted it. Wired... After unchecking the ceckbox for icon.png not to be compiled in the ipa, the release build was build.

  • Error when building Azure project

    A few days ago I started to see an error when compiling my Azure Project (cloud service with web and worker roles). I've been working with this Azure project for almost 3 years without seeing this before. When I attempt to build my Azure Project, 9 times
    out of 10 it fails with this error:
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.2\Microsoft.WindowsAzure.targets(1371,5): error : Could not find file '<SourceCode>\SomeProject\bin\Debug\ServiceDefinition.csdef'.
    Here's another when I attempt to build again:
    C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Windows Azure Tools\2.2\Microsoft.WindowsAzure.targets(985,5): error : Could not find a part of the path 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\csx\Debug\ServiceDefinition.csdef'.
    Sometimes the error refers to ServiceDefinition, sometimes to ServiceConfiguration. The problem is that it is looking for the two files in places where it's not supposed to be. I have a single Azure Project in my solution, and a single service definition
    in my solution, but when building the error message says it can't find the service definition/config in some other Project in the solution. For example, it may try to find the service definition in some unit testing C# Project instead of in the Azure Project.
    Some isolation:
    Building same source code works fine for my colleauges.
    I've set up a new computer with Windows 8, VS2013, VS2013 Update 1, Azure SDK 2.2. Still same error.
    I've turned off multi-core builds. Still same error.
    I've seen another post on SO with a similar issue, but then it was related to publish settings files in his solution which were missing.

    Hi,
    Did your colleague build the same solution or create a new solution with the existing code? If they have exactly the same solution as you have, then please check if the environment of your machine (both old and new) is different from theirs. For instance,
    please check Azure version, VS extension, etc. If they created a new solution with the existing code, you can try to do that yourself to see whether it works.
    Best Regards,
    Ming Xu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I get a "vi is not executable" error when building an application.

    I have an ongoing project that has worked fine in the past when building an application. I have recently added some report generation toolkit vis(Excel) and get an error for some of the ni vis and some of my own that call lower level excel vis. The error is that he vi is not executable, however they run fine in the development environment. I do not get this error if I save all vi's into one llb with save with options command and then build. However, when I try to run the app, this error re-appears. Also, do I have to add the dynamically loaded vi's that are part of the toolkit in my build script? Could this be the cause of the problem? If so, what's the best way to find all of them? Any suggestions?

    You have hit in on the nail! You do need to add the dynamically loaded VIs when you are creating an executable from your VI. You need to add _wordsub.lib and _exclsub.lib as dynamically loaded VIs into your executable. Try this and let us know if you have any more problems with it.
    J.R. Allen

  • Why do I get 'ResolveManifestFiles task failed' error when building a WPF app that references WinRT API?

    0
    down vote
    favorite
    I am working on a WPF app that I want to create for Windows 8. I followed steps mentioned in
    Hansleman's blog to make some manual modifications using WinRT functions in a WPF app. Everything worked well, until I tried to publish the app. When I clicked on publishing the app I got error "The 'ResolveManifestFiles' task failed unexpectedly.
    System.ArgumentException: Value does not fall within the expected range."
    Afterwards, it will produce the same error when attempting a simple solution build.
    Even if you create a simple WPF project and add the references mentioned in blog to access WinRT functions and publish, this issue can be reproduced.
    I think it would be common scenario to call WinRT functions from WPF and someone should have done it. Is anyone aware what should be done to fix this issue?

    I am having the same problems and came across this article while researching a workaround. 
    It is surprising more people aren’t talking about this.
    Here are the steps to reproduce the problem; Using Visual Studio Express 2012 (x64) create a new VB Windows Forms Application. 
    Unload the project and edit the [ProjName].vbproj in the solution explorer. 
    Add <TargetPlatformVersion>8.0</TargetPlatformVersion> to the <PropertyGroup>. 
    Save and reload the project.  In Add Resource/Reference Manager add the Windows.minmd found under Windows/Core. 
    This WinRT/Desktop solution will run as expected.  Now try to Publish this solution. 
    It will FAIL with the following ERROR; “The ResolveManifestFiles task failed unexpectedly, Value does not fall within the expected range.” 
    Attempting to build or run the solution again now will fail with the same Error. 
    The only way to build the project now is to remove the “Enable ClickOnce security settings” option under the project properties Security settings. 
    Occasionally using this trick, the solution will build but not run. 
    When that happens jiggle around with Debug/Release Solution Configurations and the Any CPU/x64 Solution Platforms then rebuild and try the run again. 
    This fussing around will get you through development however any attempt to publish with restore the ClickOnce security setting and create the previous Error.
    The first question here is how do you publish a WinRT app for the desktop with VS2012 Express. 
    Then secondly, if that is not possible can we publish this Express solution with a 3rd party deployment tool like InstallShield Limited Edition or the WIX Toolset. 
    Neither however seems functional in a VS Express environment. 
    Then thirdly, are there ways to access hardware sensor devices from a desktop solution without resorting to the WinRT API.
    Any ideas or new research directions would be greatly appreciated.

  • Error when opening Find Examples under the Help menu

    Today when I tried opening the Find Examples under the Help menu in LabVIEW 6.1, it would not open correctly. The Find Examples window appears and then an error window appears on top of it with the following description -
    "Error 1 occurred at open or create file (function 1)."
    Then ther is a list of possible reasons.
    I have had this version of LabVIEW installed for over 6 months and had no problems until today. I tried running the installation program for LabVIEW and repairing LabVIEW but had no success.
    What should I do next? Is there a file/s I can delete and then install manually?
    Thanks,
    Rodney

    I've never actually heard of this error ocurring with the Examples Finder before. If it continues, I would probably just reinstall LabVIEW. That should clear up the problem.
    J.R. Allen

  • Error when  building a report from 2 different subject areas

    Hello Experts,
    I am using obiee 11.1.1.5.
    I have 5 dimension D1,D2,D3,D4,D5 connected to fact1 and 4 dimension connected to fact2 such as D1,D2,D6,D7.
    where D1,D2 is common to both the facts.
    Fact1 Is in subject area 1 and Fact2 is in subject area2.
    I need to create a report by adding columns of  subject area 1 and 2 with columns from all the dimensions D1,D2....D7.
    As of now i am getting error stating "No fact table exists at the requested level of detail " when i try to add columns from 2 different subject areas.
    Can anyone help me in solving the above problem.
    Is there any prerequisite to be taken care when  building a report from 2 different subject areas.
    Regards,
    NN

    Hello Nagireddy,
    So kind of you, for your quick reply
    I was able to solve the error by doing below steps in additional what you have specified
    -->For the fact table LTSs, set the logical level in the Content tab to the dimension's lowest level for each conforming dimension (leave the non-conforming dimensions level blank).
    Now I have another requirement i,e
    I need to have non measure columns such as Date into the newly created fact in BMM layer.
    I tried doing the steps which I followed for measure column, but it is throwing the same error which I get earlier.
    Below is the error
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14025] No fact table exists at the requested level of detail:
    Let me know if have any suggestions

  • Error when building application with Excel included

    Hi All !
    I've read several post on problems with Report Generation Toolkit when building applications that uses Excel or Word interactivity.
    I've included both _Excel Dynamic VIs.vi and _Word Dynamic VIs.vi in my project and added them to the dynamic vis and support files.
    When building I get the error :
    The VI is broken. Open the VI in LabVIEW and fix the errors.
    C:\Programmer\National Instruments\LabVIEW 8.2\vi.lib\addons\_office\_exclsub.llb\_Excel Dynamic VIs.vi
    When opening that VI there is no broken arrow and all the vi's included in this is not broken either.
    I've tried mass compiling and so on but so far luck.
    Regards Morten Kahr
    Regards Kahr
    Certified LabVIEW Architect
    CIM A/S

    If you do a search on this forum you will find this to be a common and vexing problem. I myself had this same exact problem about a year ago, and it took me the better part of a day to track it down. As you will find by reading the various threads on this problem, there seems to be no specific cause for this, and it remains a mystery, and the solutions are no better than chanting voodoo, and probably just as effective.
    One thing you can try is to force a recompile of your VI hierarchy. Open you top-level VI. If it's set up to run when opened, stop it. Hold down the Control key and click the run button. This will force a recompile of the application. Sometimes this works, sometimes it doesn't. Like I said, voodoo.
    Another thing to look for is to check if you are using any diagram disable structures or case structures with a constant wired, as in trying to use the case structure to comment out code.
    Are you using classes and passing by reference? There was a mention of this here.

  • Error when building the Java pricing userexit manual code

    I went throught the manual for the pricing userexit manual... it tells you to ignore the errors when you do an ant build but I want to remove all the errors since they dont let the rest the code compile.... where are the jars for these errors: 
    [javadoc] C:\DEV\PRC_UE_CUSTOMER\lib_src\src\com\sap\spc\document\DocumentConstants.java:16: package com.sap.vmc.logging does not exist
         [javadoc] import com.sap.vmc.logging.Category;
         [javadoc]                            ^
         [javadoc] C:\DEV\PRC_UE_CUSTOMER\lib_src\src\com\sap\spc\document\DocumentConstants.java:26: cannot resolve symbol
         [javadoc] symbol  : class Category
         [javadoc] location: class com.sap.spc.document.DocumentConstants
         [javadoc]     public static final Category CATEGORY = Category.getCategory(Category.APPLICATIONS, "/AP/SPC/Document");
         [javadoc]                         ^

    See the [SAP note 809820 - Userexit concept for pricing|https://service.sap.com/sap/support/notes/809820]
    Use ZIP file the attached to the above note - PRC_UE_CUSTOMER_V105.zip
    ZIP file contains an Eclipse .project file that has the required build path. If you read the documents carefully, it does refer this project file.
    <?xml version="1.0" encoding="UTF-8"?>
    <classpath>
         <classpathentry kind="src" path="src"/>
         <classpathentry sourcepath="lib_src/src" kind="lib" path="lib_api"/>
         <classpathentry kind="lib" path="lib_vmc_api/base_services_stripped_api.jar"/>
         <classpathentry kind="output" path="bin"/>
    </classpath>
    Again read the documents thoroughly. They are neither fictions nor non-fictions, but technical documents written with care. So, we must also read them with care. If we don't follow them, then it is time to engage someone who does. )
    BTW, coming back to the Java basics - One must have a class and source files to debug. You won't get a class file unless it is compiled. The Java file won't compile correctly if it has syntax / reference errors. Unfortunately or fortunately, all these apply to the IPC java userexit development as well.
    Easwar Ram

  • Error when building cube

    Hi,
    I get this error when I am building the cube:
    XOQ-00703: error executing OLAP DML command "(SYS.AWXML!R11_COMPILE_TIME_DIM('TIME.DIMENSION') : ORA-00600: internal error code, arguments: [xspg: RSALOC02], [], [], [], [], [], [], [], [], [], [], []
    Has anyone ever seen this?
    Regards /Magnus

    Got an answer on this from Oracle support. The issue is solved by applying patch 9789172.
    /Magnus

  • Error when building my VI to DLL in LV6.1

    pls see the attachment! It's the error display when building my VI to DLL in LV6.1. My lv is PDS Version and i tried reinstall Application Builder , but the same error occurs. How can i resolve it? Thanks a lot!
    Attachments:
    error_when_builging_DLL.zip ‏44 KB

    Goto
    ..\National Instruments\LabVIEW 6.1\applibs\lvdllbuilder
    and double click lvdb.exe. It will run (you will not see anything), registering itself. After running, you might want to goto Task Manager and kill lvdb.exe process manually. Try it now.
    A Rafiq

  • Error from building medrec example for weblogic 10

    Hi,
    I tried to re-build medrec example for weblogic 10 and got error below. What was wrong?
    Any information would be appreciated. Thanks in advance.
    D:\bea\wlserver_10.0\samples\server\medrec\src>ant
    Buildfile: build.xml
    init:
    [echo] #### S T A R T M E D R E C ####
    [echo] Started on December 10 2007 at 0856
    build:
    banner:
    [echo] --------------------------------------------
    [echo] + Building StartBrowser Ear +
    [echo] --------------------------------------------
    build:
    BUILD FAILED
    D:\bea\wlserver_10.0\samples\server\medrec\src\build.xml:26: The following error occurred while exec
    uting this line:
    D:\bea\wlserver_10.0\samples\server\medrec\src\startBrowserEar\build.xml:50: Problem: failed to crea
    te task or type wlcompile
    Cause: The name is undefined.
    Action: Check the spelling.
    Action: Check that any custom tasks/types have been declared.
    Action: Check that any <presetdef>/<macrodef> declarations have taken place.

    open a new command window , run setDomainEnv.cmd and in the same window run ant task.

  • I get errors When running the example programs SampleMetadataDiscoverer10g

    I installed database is 10g release 2 on Windows XP,and AWM version is 102010A.
    When running the example programs SampleMetadataDiscoverer10g.java to get the OLAP metadata,I get the following errors:
    oracle.express.idl.util.OlapiException: java.sql.SQLException: ORA-37158: CLOB &#25110;&#21487;&#21464;&#25968;&#32452;&#36755;&#20837;&#21442;&#25968;&#38169;&#35823;: (&#24773;&#24418; 6)
    ORA-06512: &#22312; "SYS.GENSERVERINTERFACE", line 46
    ORA-06512: &#22312; line 1
    at oracle.express.idl.ExpressConnectionModule.ServerInterfaceStub.connect(ServerInterfaceStub.java:694)
    at oracle.express.olapi.data.full.ExpressDataProvider.connect(ExpressDataProvider.java:436)
    at oracle.express.olapi.data.full.ExpressDataProvider.initialize(ExpressDataProvider.java:282)
    at oracle.olapi.examples.chapter4.MyConnection10g.connectToDB(MyConnection10g.java:126)
    at oracle.olapi.examples.chapter4.SampleMetadataDiscoverer10g.initialize(SampleMetadataDiscoverer10g.java:57)
    at oracle.olapi.examples.BaseExample.execute(BaseExample.java:32)
    at oracle.olapi.examples.BaseExample.execute(BaseExample.java:46)
    at oracle.olapi.examples.chapter4.SampleMetadataDiscoverer10g.main(SampleMetadataDiscoverer10g.java:44)
    Closing JDBC connection.
    Closed the connection.
    please..can someone give me some advice? thanks!

    I got the same error while doing "dp.initialize()"
    I fixed this error by chang the the "olap_api.jar class12.jar" to "o4j.jar".
    But i can't explain that.
    Can anyone tell me why?
    By the way , the "olap_api.jar class12.jar" are copy from the %ORACLE_HOME%\10.2.0\db_1\olap\api\lib .

Maybe you are looking for

  • Lycom PCIe SATAII Host Card, 4 eSATA External Ports Question

    http://www.macgurus.com/productpages/sata/LYCeSATA-4e.php We have this set up as a Raid 1 but it's pretty unstable with external drives. We would like to switch to Raid 5 formatting but it notes: *Do not under any circumstances install the SIliconIma

  • To use my class files in my applications

    Hi all! public class Count private int serialNumber; private static int counter=0; public static int getTotalCount() return counter; public Count() counter++; serialNumber=counter; public class TestCounter public static void main(String args[]) Syste

  • Callmanager Conferencing with remote locations Issue

    I am new to using callmanager, and I need a little help. I have created a meet me number on my callmanager. Once a session is begun, all local network users are able to join the conference call with no problems.. If a remote location hosts a meet me

  • What exactly means Linked Subreport?

    <p>What exactly means Linked Subreport?</p><p>When i create a primary report with fields customer id & Country and subreport with Customer id & Lastyear'sSales and try to link the subreport by selecting Customer id the subreport shows only the data f

  • Q100 audio drivers for Windows 7?

    I recently purchased a Q100 (3014-1CU), and after an initial bootup to the factory installed Win XP, I installed Windows 7 (32-bit), via USB cdrom. That process went smooth and everything works except for the audio. Windows 7 detected audio as "High