Htmlb link error

Hi all,
I have a jsp with only one htmlb link, pressing the link triggers a server event. The link works fine, but when i put this iview in the home page, i get a JavaScript error: 'all(...)' is null or not an object.
working with EP6 SP14.
Any suggestions ?
Best regards,
Keren

Hi,
Can you give more details about the application and the error.
Thanks
Senthil

Similar Messages

  • Regarding onClick event of htmlb:Link element.

    Hi All,
    We have a table in which we are displaying error messages.
    The requirment is that each message should be a link which , when clicked should set the focus on respective element in the form.
    I am displaying each message as link as follows:
    <%
      loop at itab_message into wa_message.
                  %>
    count = count + 1.
                  %>
                  </td>
                  <td bgcolor="#F0F0F0">
                  <htmlb:link id            = "link<%= count %>"
                              text          = "<%= wa_message-msg %>"
                              >
                  </htmlb:link>
                  </td>
                  </tr>
                  <%
      endloop.
                  %>
                  </table>
                  <%
      refresh itab_message.
                  %>
                  <%
      endif.
                  %>
    Displayng messages as links is fine , but how can i acchieve the functionality , that on clicking a particular link , the focus should be set on the respective field.
    For Ex:
    There are two error messages:
    1)Enter your name
    2)Select material group from drop down list box.
    If the user clicks 1st message the focus should be set on NAME element.
    Thanks,
    Anubhav.

    Hi,
    this is not gonna be easy but first, you´re not using
    <div class="jive-quote"> </div>
    so you should erase it.
    Second, you have to extend the use of label <htmlb:link> in this way:
    <htmlb:link id        = "link<%= count %>"
                      text          = "<%= wa_message-msg %>"
                      onClientClick = "set_focus('your_field')" >
    And then, some Javascript code:
        function setfocus(myfld) {
                if (document.forms.elements[myfld] != null) {
                    document.forms.elements[myfld].focus();
    Hope it helps.

  • Htmlb link setOnClientClick giving NullPointerException

    I have a htmlb link tag in a JspDynPage that I'm trying to execute some javacript with when the link is clicked.  The problem I'm having is that when I run the component I get a NullPointerException.  Here is the code that is failing...
    <hbj:link id="link1" text="test link" reference="" tooltip = "This is a test link" target="_blank" >
         <%
         link1.setOnClientClick("alert('Click')");
         %>
    </hbj:link>
    The error is
    Caused by: java.lang.NullPointerException
    at com.sapportals.htmlb.event.EventManager.renderJavaScriptFragment(EventManager.java:436)
    at com.sapportals.htmlb.event.LinkClickEvent.renderJSFunction(LinkClickEvent.java:95)
    at com.sapportals.htmlb.unifiedrendering.ie5.LinkRenderer.render(LinkRenderer.java:42)
    at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:982)
    at com.sapportals.htmlb.taglib.LinkTag.doEndTag(LinkTag.java:95)
    I've also try the .setClientEvent(EventTrigger.ON_CLICK,"....") method with simular results.

    Hey Scott
    As it is a link the keyword should be
    onClientClick  and not setOnClientClick
    I guess  now u wont be getting this error
    Chk this
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/ep/sap%20htmlb%20guidelines">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/ep/sap%20htmlb%20guidelines</a>
    Swathi

  • Linker Error during compiling ODBC WinCE C++_Sample Project

    I am devloping a ODBC application for PocketPC2003 using OLite 10g Release 10.3.0.2. before that i am understanding the sample application provided with Olite.
    I followed all the instructions provided in ReadMe.txt file available before using VC++ sample. After making all the settings and compiling i am getting following linker errors as mentioned below.
    Any solution for this problem at the earliest will be appreciated, i have tried link all the libraries provided with WinCE armv4.
    Linker Error Messages:
    Error     1     error LNK2019: unresolved external symbol SQLExecDirect referenced in function "public: virtual __cdecl CSQLResult::~CSQLResult(void)" (??1CSQLResult@@UAA@XZ)     dbaccess.obj     
    Error     2     error LNK2019: unresolved external symbol SQLFreeStmt referenced in function "public: virtual __cdecl CSQLResult::~CSQLResult(void)" (??1CSQLResult@@UAA@XZ)     dbaccess.obj     
    Error     3     error LNK2019: unresolved external symbol SQLGetData referenced in function "public: class CRowObj const * __cdecl CSQLResult::Fetch(int)" (?Fetch@CSQLResult@@QAAPBVCRowObj@@H@Z)     dbaccess.obj     
    Error     4     error LNK2019: unresolved external symbol SQLFetch referenced in function "public: class CRowObj const * __cdecl CSQLResult::Fetch(int)" (?Fetch@CSQLResult@@QAAPBVCRowObj@@H@Z)     dbaccess.obj     
    Error     5     error LNK2019: unresolved external symbol SQLFreeEnv referenced in function "public: void __cdecl COLiteDB::Disconnect(void)" (?Disconnect@COLiteDB@@QAAXXZ)     dbaccess.obj     
    Error     6     error LNK2019: unresolved external symbol SQLFreeConnect referenced in function "public: void __cdecl COLiteDB::Disconnect(void)" (?Disconnect@COLiteDB@@QAAXXZ)     dbaccess.obj     
    Error     7     error LNK2019: unresolved external symbol SQLDisconnect referenced in function "public: void __cdecl COLiteDB::Disconnect(void)" (?Disconnect@COLiteDB@@QAAXXZ)     dbaccess.obj     
    Error     8     error LNK2019: unresolved external symbol SQLConnect referenced in function "public: int __cdecl COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAAHXZ)     dbaccess.obj     
    Error     9     error LNK2019: unresolved external symbol SQLAllocConnect referenced in function "public: int __cdecl COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAAHXZ)     dbaccess.obj     
    Error     10     error LNK2019: unresolved external symbol SQLAllocEnv referenced in function "public: int __cdecl COLiteDB::Connect(void)" (?Connect@COLiteDB@@QAAHXZ)     dbaccess.obj     
    Error     11     error LNK2019: unresolved external symbol SQLError referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj     
    Error     12     error LNK2019: unresolved external symbol SQLDescribeCol referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj     
    Error     13     error LNK2019: unresolved external symbol SQLNumResultCols referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj     
    Error     14     error LNK2019: unresolved external symbol SQLAllocStmt referenced in function "public: class CSQLResult * __cdecl COLiteDB::Execute(wchar_t const *)" (?Execute@COLiteDB@@QAAPAVCSQLResult@@PB_W@Z)     dbaccess.obj

    Hi,
    The OLITE forum (Database Mobile Server (inc. legacy Database Lite) would be a better place to post your issue. This forum deals with the ODBC driver that connects to a "normal" Oracle database.
    Hope it helps,
    Greg
    Edited by: gdarling on Nov 12, 2008 8:31 AM

  • The broken link error

    Hi,
    Please help me with this broken link error in Office Excel 2010. Thank you.
    The problem is: a broken link cannot be removed from the file. The link was used in data validation, which refers to a list of values. After the path was corrected, it still shows there’s a broken link. Here are the details:
    I have 4 files named “000TVA_Test – 3”, “000TVA_Test – 4”, “000TVA_Test – 5”, and “000TVA_Test – 6”. The posterior files were developed based on the previous files.
    In Test-3, sheet “Template “, cell “L4”, “O4”, “R4”… were built as dropdown list using data validation. The list source is in the “Library” worksheet. There’s no problem so far.
    Test-4 was firstly copied from Test-3. In this file I renamed the worksheet from “Library” to “Setting” and the link was broken from here. I can also fix the broken link in this file. (While I didn’t realize there was a broken link.)
    In Test-5 I fixed the path, but every time when opening the file, the broken link still shows.
    In Test-6 I’ve removed the data validations. The broken link is still there.
    I tried to find solutions online. I tried common methods, cannot find anything in the files is still using links. I also tried the “findlink.xla” add-in, but it only worked for Test-4, and couldn’t find the link in other files.
    Please help. Thank you!
    I uploaded files here: https://onedrive.live.com/redir?resid=1A97736E0ABBAA41!113&authkey=!AF5wAd9rwUPnYyE&ithint=folder%2cxlsm
    Thanks again!

    Hi,
    Based on my tested the files downloaded, I found that Test-5 & Test-6 included the "A defined name that refers to an external workbook", Test-4 had not. (Please click Formula Tab>Name Manage, you'll see them.)
    However, the Break Links command cannot break the following types of links:   
    A defined name that refers to an external workbook
    A ListBox control with an input range that refers to an external workbook.
    A DropDown control with an input range that refers to an external workbook.
    http://support2.microsoft.com/kb/291984/en-us (It also applies to Excel 2010)
    Thus, we'd better try the workaround: re-build the Test-5 & Test 6.
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • I am getting an linker error LNK2001 : unresolved symbol _main while compiling Microsoft c code

    I am writng a simple application in C language for communicating with GPIB. when I compile the c file I am getting a linker error
    LIBC.lib(ctr0.obj): LNK2001 error: unresolved sysmbol _main
    I compile the application in the dos window using the command
    cl gpibApplication.c gpib-32.obj.
    Could anyone tell me how to remove this error

    Hello-
    It sounds like the main function is missing from the gpibApplication.c file. Be sure that the following function is somewhere in the code:
    int main (int argc, char *argv[])
    Also, note that this function is case sensitive, so be sure main is not capitalized.
    Randy Solomonson
    Application Engineer
    National Instruments

  • Link errors on HP Itanium and Oracle 9.0.1.0.1 Developers Release

    We have pulled down the Oracle Developers release for HP-UX 11.22 and were not able to compile the Oracle code
    because of a link error. We are getting the following errors in the make.log file:
    (Bundled) cc: error 1913: `16M' does not exist or cannot be read
    (Bundled) cc: error 1913: `L' does not exist or cannot be read
    (Bundled) cc: error 1913: `1M' does not exist or cannot be read
    (Bundled) cc: error 1913: `1M' does not exist or cannot be read
    *** Error exit code 1
    Stop.
    Has anyone run into this issue and how was it resolved?
    Thanks,
    Walter

    Alex,
    does a
    select xmlelement("SQLX", 'Hello ,World!') from dual; work?
    SQL> select xmlelement("SQLX", 'Hello World!') from dual;
    XMLELEMENT("SQLX",'HELLOWORLD!')
    <SQLX>Hello World!</SQLX>
    It works for me in 9.2
    SQL> select xmlelement("orderid", order_num) from orders;
    XMLELEMENT("ORDERID",ORDER_NUM)
    <orderid>1</orderid>
    <orderid>2</orderid>
    <orderid>3</orderid>
    <orderid>1</orderid>
    <orderid>2</orderid>
    <orderid>3</orderid>
    6 rows selected.
    SQL>

  • My external hard drive won't mount and shows a 'sibling link error'. I've seached the forums but need a very dumbed down set of tips for the computer illiterate- help?

    The forums have suggestions on this topic but I don't understand the lingo used.

    Remember card catalogs in libraries?   The computer has its own card catalog that tells it where all the files are.  That's known as the directory.
    Sibling link error indicates something is wrong with one of the cards, making the computer lost.  Now the computer will put forth a bunch of gobbledy gook to fix this error, but you can do it. 
    Since the issue is with the external hard disk, you must select it with Disk Utility's First Aid selected.   There you will repair the disk.   If it can't repair the disk, you will need to use a more powerful tool.  The question is, is your data backed up elsewhere, or is it not?  If it is not, the same symptoms of a bad directory can also implicate a dying hard drive.  You'll want a data recovery tool if you aren't backed up.  If you are backed up, and there is nothing that can't be replaced on that external hard drive, get Alsoft Disk Warrior.  This should fix most bad sibling link errors repair disk can't.  When it can't, you can give up on the external hard disk.
    P.S. Permissions has NOTHING to do with the directory.  Do not worry about issues with permissions or attempting to repair it at this stage.

  • "Not an executable or is a link" errors when starting Messaging Server

    "Not an executable or is a link" errors when starting Messaging Server
    <P>
    If Calendar Server 3.x has been installed to the same server root
    as Messaging server, it is possible that the command 'NscpMail start'
    to restart the server will return a string of errors:
    # /etc/NscpMail start
    19971207145610:Dispatch:Notification:Local Module
    (Account-Handler) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Account-Manager) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (AutoReply-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Configuration-Manager) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Error-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Mailbox-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Program-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Router) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (UNIX-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (Finger-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (IMAP4-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (POP3-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (SMTP-Accept) is not an executable or is a link.
    Module not loaded.
    Startup Problem:
    Module Error-Handler is required for proper operation.
    Netscape Messaging Server Exiting!
    The Calendar server 3.x installation may have changed the permissions
    on [server-root]/bin directory from 755 to 750. Simply issue the
    command (as root) 'chmod 755 [server-root]/bin' and then start
    the server with the 'NscpMail start' command, and it should start
    without a problem.

    "Not an executable or is a link" errors when starting Messaging Server
    <P>
    If Calendar Server 3.x has been installed to the same server root
    as Messaging server, it is possible that the command 'NscpMail start'
    to restart the server will return a string of errors:
    # /etc/NscpMail start
    19971207145610:Dispatch:Notification:Local Module
    (Account-Handler) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Account-Manager) is not a n executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (AutoReply-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Configuration-Manager) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Error-Handler) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Mailbox-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (Program-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (SMTP-Router) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Local Module
    (UNIX-Deliver) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (Finger-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (IMAP4-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (POP3-Server) is not an executable or is a link.
    Module not loaded.
    19971207145610:Dispatch:Notification:Network Module
    (SMTP-Accept) is not an executable or is a link.
    Module not loaded.
    Startup Problem:
    Module Error-Handler is required for proper operation.
    Netscape Messaging Server Exiting!
    The Calendar server 3.x installation may have changed the permissions
    on [server-root]/bin directory from 755 to 750. Simply issue the
    command (as root) 'chmod 755 [server-root]/bin' and then start
    the server with the 'NscpMail start' command, and it should start
    without a problem.

  • Invalid sibling link error

    I have a 15" PB which gave an "invalid sibling link error" one month ago and I was not able to even repair it using DiskWarrior. I have Apple Care Protection plan, so I sent it for repairs and the repair guys replaced the motherboard as they suspected it was the reason. On return, I reformatted the HD and installed everything from stratch. Everything was working fine till last Saturday morning, when computer would not boot up. So I checked using Disk Utility from PB DVD, and the dreaded "invalid sibling error" came up again. Since I have a bootable backup of the HD, I formatted the HD and tried to load the system on the HD from the backup copy. But the writing of backup using CCC hung up and I had to quit it. After that I was not able to find the HD using Disk Utility from DVD.
    I have sent it for repairs again, but can anyone help me understand the core problem here. Since last time they replaced the motherboard, I think they will replace the HD this time around. Is the logic board, motherboard or the HD that is the root cause of the problem?
    Powerbook G4   Mac OS X (10.4.7)   100GB HDD, 1.5GB RAM

    I had never heard of "invalid sibling link error" until you post, and when I ran a search on it the best explanation I could find is that it is a directory-related problem. See the following (assuming it is correct): http://www.computing.net/mac/wwwboard/forum/2584.html The suggestion there, though, is that DIsk Warrior should be able to fix the problem, and you've already told us that you tried using Disk Warrior on it and it did not work.
    Very puzzling. Please post back what happens when you get your PB back from being repaired.
    Good luck.
    -- JDee

  • Linking errors when using ibsta

    Hello,
    I have been trying to write C code to automate a Keithley 2410 through GPIB.  I am using Windows XP 32-bit, and VC++.
    I believe I was successful in getting a handle to the gpib-32.dll. However, I am getting a linking error when I try to use ibsta:  1>helloworld.obj : error LNK2001: unresolved external symbol _ibsta
    1>C:\Documents and Settings\Prober\My Documents\C Programs\helloworld\Debug\helloworld.exe : fatal error LNK1120: 1 unresolved externals
    However, when I look through the ni488.h, I see that ibsta is a global variable.  Therefore I am confused as to why I am getting a linking error
    I am following this guide: http://na.tm.agilent.com/pna/help/latest/Programming/GPIB_Example_Programs/GPIB_using_Visual_C++.htm
    My code is attached
    Attachments:
    code.c ‏3 KB

    Check out the 4882query.c example located on your computer at National Instruments > NI-488.2 > Examples > Standard C > 4882query.  The National Instruments folder might be in a sub-folder of Public or Public Documents.  Look at the ReadMe.txt file first.  It contains a C++ section.  Then try compiling the example and see what happens.
    Jeff Munn
    Applications Engineer
    National Instruments

  • Re: Link error during fcompile

    Hi Jeanne:
    I have already gone trough the procedure you have described but the
    result is same.
    When I invoke link command on all the *.obj files with some libraries
    from forte and
    MSVC/Lib I get the same Error. The command I am invoking is
    C:\> link *.obj *.lib
    Assuming that I am in the dir where all .obj files are and I have copied
    all required .lib files in this dir. Other thing that I have also tried
    this with different link flags and/or with exact flags from Forte log
    file.
    Thanks for your respons.
    Any othe suggestions please?
    --Shahzad
    Jeanne Hesler wrote:
    Shahzad,
    Have you tried manually invoking the link command itself from the
    command
    line? I was able to do this successfully when having problems with
    the
    Borland compiler under 16-bit windows. It is not a long-term
    solution,
    because you obviously want fcompile to handle the entire task, but it
    might
    help you determine if it is a problem with the fcompile or the linker
    itself.
    I executed the fcompile from a DOS window in the ...codegen\myapp
    directory. When the error occurred, I found the log file that is
    created
    from the fcompile, and determined the last command that was executed.
    I
    can't tell you the exact specifics here, because I have not had
    problems
    with fcompile using the MSVC compiler. But I am assuming that Forte
    is
    consistent about writing the compiler output to a log file. I could
    then
    copy the command line from the log file to the command line in the dos
    window and execute it manually.
    You have to be careful copying the command line, because there are a
    lot of
    flags, and they ARE case-sensitive. If you get the same error when
    invoking the command manually, then you can assume that the problem is
    with
    the compiler itself, or as it was in my case, with the compiler
    setup. If
    the command is successful when you execute it manually, then you can
    pursue
    it as a problem with the fcompile.
    One other thought -- you might make sure that you have plenty of extra
    disk
    space. Compilers like to write temporary files during the compile
    process.
    On a very large compile, you might need a lot of working space for
    these
    temporary files. I believe the MSVC compiler writes these files to
    the
    directory indicated by the environment variable TMP (not TEMP).
    Hope this helps,
    At 11:22 AM 10/17/97 -0400, you wrote:
    Hi,
    I am getting this error during fcompile of a large (12MB) pgffile
    link: fatal error LNK1141: failure during build of exportes file
    error during compilation, aborting
    This is under Windows NT and MSVC compiler. MSVC Documetation saysthat
    this could be due
    to insufficient memory. But we have 0.5Geg ram and I don't even seeall
    memory being utilized during compile.
    Any clues?
    --Shahzad
    --Jeanne
    ============================================================
    Jeanne Hesler [email protected]
    ============================================================

    The way to handle this is to break down the fcompile. Here is the
    process:
    1. fcompile -nocompile -fm "(x:40000)"
    this will produce the CPP and H files
    2. fcompile -nogen -fm "(x:40000)"
    this will link the files and produce the exe.
    If there is an error then you will know exactly where its happening.
    Hope this helps.
    Kamran Amin
    Technical Leader, Software Engineering
    Oxford Health Plan
    http://www.oxhp.com/
    From: Chaudary M. Shahzad[SMTP:[email protected]]
    Sent: Friday, October 17, 1997 7:05 PM
    To: [email protected]
    Subject: Re: Link error during fcompile
    Bruce:
    I have tried that I have even tried
    fcompile -fm '(x:400000)'
    It seems like its the Microsoft Compiler and/or Linker problem. There
    have to be some flags for compiler or linker I can
    set with fcomile so it allocate more memory for the MSVC linker.
    Any more clues or help ????
    --Shahzad
    Bruce Lipson wrote:
    Chaudary,
    There are flags for setting the usage of memory by the fcompile
    command.
    fcompile -fm '(x:250000)'
    where x:250000 sets the maximum amount of memory fcompile will use to
    250k.
    the default is 64k.
    Get it a try.
    Bruce Lipson
    [email protected]
    -----Original Message-----
    From: Chaudary Shahzad [SMTP:[email protected]]
    Sent: Friday, October 17, 1997 11:22 AM
    To: [email protected]
    Subject: Link error during fcompile
    Hi,
    I am getting this error during fcompile of a large (12MB) pgf
    file
    link: fatal error LNK1141: failure during build of exportes file
    error during compilation, aborting
    This is under Windows NT and MSVC compiler. MSVC Documetation says
    that
    this could be due
    to insufficient memory. But we have 0.5Geg ram and I don't even see
    all
    memory being utilized during compile.
    Any clues?
    --Shahzad

  • Linker Error while building files refering to NI-DAQ API

    Software: MATLAB 5.3
    O/S : Windows 98
    C Compiler : Microsoft VC++ 6.0
    We are trying to make an executable of an Application involving both of MatLab and C Files
    The file SCANsingleBufSync2.c is C program calling National Instruments NI-DAQ API's. This C program is called by displayCnt3.m,a MatLab Program. Both of the files are individually compiled using
    mcc -x SCANsingleBufSync2.c, ...
    That works fine.
    When trying to make a build , using
    mcc -B sgl displayCnt3 SCANsingleBufSync2.c
    it is throwing the following error.(pl. refer section at end)
    Basically it is not able to do Link. The MatLab path has been set to look into the NI-DAQ .dlls
    C:\Program Files\National Instruments\Ni-daq\Includes and
    C:\Program Files\National Instruments\Ni-daq\Lib
    Also the Windows path has been set to the above two directories through the autoexec.bat.
    Suggestions Please,
    Thanks in advace,
    MOHANDAS
    � mcc -B sgl displayCnt3 SCANsingleBufSync2.c
    SCANsingleBufSync2.obj : error LNK2001: unresolved external symbol _DAQ_VScale@40
    SCANsingleBufSync2.obj : error LNK2001: unresolved external symbol _SCAN_Demux@16
    SCANsingleBufSync2.obj : error LNK2001: unresolved external symbol _SCAN_Op@40
    SCANsingleBufSync2.obj : error LNK2001: unresolved external symbol _NIDAQErrorHandler@12
    SCANsingleBufSync2.obj : error LNK2001: unresolved external symbol _Timeout_Config@8
    displayCnt3.obj : error LNK2001: unresolved external symbol _MdisplayCnt3_SCANsingleBufSync2
    displayCnt3.exe : fatal error LNK1120: 6 unresolved externals
    MBUILD.BAT: Link of 'displayCnt3.exe' failed.
    mcc -B sgl displayCnt counter.c
    counter.obj : error LNK2001: unresolved external symbol _Select_Signal@16
    counter.obj : error LNK2001: unresolved external symbol _GPCTR_Change_Parameter@16
    counter.obj : error LNK2001: unresolved external symbol _GPCTR_Set_Application@12
    counter.obj : error LNK2001: unresolved external symbol _NIDAQErrorHandler@12
    counter.obj : error LNK2001: unresolved external symbol _GPCTR_Control@12
    counter.obj : error LNK2001: unresolved external symbol _GPCTR_Config_Buffer@20
    counter.obj : error LNK2001: unresolved external symbol _Set_DAQ_Device_Info@12
    counter.obj : error LNK2001: unresolved external symbol _NIDAQYield@4
    counter.obj : error LNK2001: unresolved external symbol _GPCTR_Read_Buffer@36
    displayCnt.exe : fatal error LNK1120: 9 unresolved externals
    MBUILD.BAT: Link of 'displayCnt.exe' failed.

    I'm not very familiar with MATLAB, but you are getting link errors most likely because you aren't linking in the .LIB files for NI-DAQ properly. They are nidaq32.lib and nidex32.lib in the NI-DAQ\lib directory. They need to be linked in with the code to resolve these symbols.
    Best Regards,
    Chris Matthews
    National Instruments

  • Another java newbie question:  "Link errors"

    In the environments I've attempted compiling in, it seems that there is a just-in-time default, which means that any missing classes are not found until run time.
    Is there any way to to run javac so that what we used to call "link errors" will be displayed at compile time?

    Java has no .h files, so it shouldn't compile at all if a class is missing, unless:
    Someone compiles class Library, they have class Extension available
    They give you Library
    You compile, javac sees theat "Library" exists and checks no further
    At run time, you get errors about Library needs missing class "Extension"
    What class is missing anyhow?

  • Works in 2009, Link errors in 2013 SP1

       I have a system that runs rack mount test instruments.  I have a system DLL that performs different generic  functions for me and also included custom driver functions for the instrumentation.  This DLL is built and the different driver .h/.fp files and the system DLL library file are distributed.  The distributed files are included in various test projects.   
       This approach has worked for the last 2 years using CVI2009.  I recently started trying to use CVI2013 SP1.  The system DLL still builds with no errors.  However, my various test DLL that use the distributed files, now compile fine, but have Undefined symbol link errors.  The link errors point to functions and structures that are global to the system DLL, but weren't meant for exported use by the test DLLs.  The files the link errors call out are .obj files for a couple of different system drivers that are located in the build folder that CVI created.  Anyone experienced anything like this while upgrading to CVI2013?

    Hello HeadTrauma, 
    I think it might be worth checking that you have your library set to a dynamically linked library.  The behavior you are receiving seems akin to changing a dynamically linked library to a statically linked library.  This could happen automatically in an upgrade.  For information on how to set this, please view the following link: 
    http://digital.ni.com/public.nsf/allkb/BF8084DB74021EE986257AB200001737
    Best wishes!
    Amanda B.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Multiple Item Information - problem

    I updated to iTunes 8. Now, whenever I try to "Get Info" on more than one music file, the content in the "Multiple Item Information" window gets displaced. Please refer to this jpeg to understand what I mean: http://img.photobucket.com/albums/v294/mk

  • Everytime I try to open safari on MacBook Pro it crashes

    Since yesterday, every time I have tried to open safari on my macbook, it crashes and comes up with an error report. The only way I can access safari is when I start up my mac using the safe boot. Please help I have an assignment to finish as I am in

  • Open customer item does not show up in F-32

    Hi Guru's It is urgent for me. 1.I posted the FBS1 with document type  AC , customer debit and sales credit 2.to reverse it. It was not allowed with FB08 3.I manual entry passed with document type SA. But to clear the customer F-32. We need AC entry

  • Cancelling disc burn taking more than half-an-hour

    I had just burned a cd before trying to burn another one but that wouldn't finish. The one before it took less than two minutes while this next one was taking more than ten. I decided to cancel it but now it is still on the cancelling sequence and I

  • Issue in processing the Credit Memo Request

    Hi Experts, I have a price difference credit memo request created (Order Type PR10). While processing it through VF01, it is getting updated rate (for updated materials) hence total value is exceeding the value of credit memo request. How can I proce