Make error when compiling gspca
Hi, ive downloaded gspca source and modify it in order to get my webcam working, but when i type 'make all' i get:
[jk@arch4linux gspca-7876678e39df]$ sudo make all
make -C /home/jk/gspca-7876678e39df/v4l all
make[1]: se ingresa al directorio `/home/jk/gspca-7876678e39df/v4l'
creating symbolic links...
make -C firmware prep
make[2]: Entering directory `/home/jk/gspca-7876678e39df/v4l/firmware'
make[2]: Leaving directory `/home/jk/gspca-7876678e39df/v4l/firmware'
make -C firmware
make[2]: Entering directory `/home/jk/gspca-7876678e39df/v4l/firmware'
make[2]: Nothing to be done for `default'.
make[2]: Leaving directory `/home/jk/gspca-7876678e39df/v4l/firmware'
Kernel build directory is /lib/modules/2.6.30-ARCH/build
make -C /lib/modules/2.6.30-ARCH/build SUBDIRS=/home/jk/gspca-7876678e39df/v4l modules
make[2]: Entering directory `/usr/src/linux-2.6.30-ARCH'
CC [M] /home/jk/gspca-7876678e39df/v4l/firedtv-1394.o
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:21:17: error: dma.h: No such file or directory
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:22:21: error: csr1212.h: No such file or directory
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:23:23: error: highlevel.h: No such file or directory
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:24:19: error: hosts.h: No such file or directory
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:25:22: error: ieee1394.h: No such file or directory
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:26:17: error: iso.h: No such file or directory
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:27:21: error: nodemgr.h: No such file or directory
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:37: warning: 'struct hpsb_iso' declared inside parameter list
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:37: warning: its scope is only this definition or declaration, which is probably not what you want
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'rawiso_activity_cb':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:53: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:54: error: implicit declaration of function 'hpsb_iso_n_ready'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:61: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:62: error: implicit declaration of function 'dma_region_i'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:62: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:62: error: expected expression before 'unsigned'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:63: warning: assignment makes pointer from integer without a cast
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:64: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:68: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:82: error: implicit declaration of function 'hpsb_iso_recv_release_packets'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_of':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:87: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:87: warning: type defaults to 'int' in declaration of '__mptr'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:87: warning: initialization from incompatible pointer type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:87: error: invalid use of undefined type 'struct unit_directory'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_lock':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:92: error: implicit declaration of function 'hpsb_node_lock'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:92: error: 'EXTCODE_COMPARE_SWAP' undeclared (first use in this function)
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:92: error: (Each undeclared identifier is reported only once
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:92: error: for each function it appears in.)
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:93: error: 'quadlet_t' undeclared (first use in this function)
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:93: error: expected ')' before 'arg'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_read':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:98: error: implicit declaration of function 'hpsb_node_read'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_write':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:103: error: implicit declaration of function 'hpsb_node_write'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'start_iso':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:114: error: implicit declaration of function 'hpsb_iso_recv_init'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:114: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:116: error: 'HPSB_ISO_DMA_DEFAULT' undeclared (first use in this function)
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:118: warning: assignment makes pointer from integer without a cast
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:125: error: implicit declaration of function 'hpsb_iso_recv_start'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:128: error: implicit declaration of function 'hpsb_iso_shutdown'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'stop_iso':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:139: error: implicit declaration of function 'hpsb_iso_stop'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: At top level:
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:154: warning: 'struct hpsb_host' declared inside parameter list
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'fcp_request':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:167: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:168: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_probe':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:182: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:182: warning: type defaults to 'int' in declaration of '__mptr'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:182: warning: initialization from incompatible pointer type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:182: error: invalid use of undefined type 'struct unit_directory'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:187: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:187: error: 'quadlet_t' undeclared (first use in this function)
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:188: error: implicit declaration of function 'CSR1212_TEXTUAL_DESCRIPTOR_LEAF_DATA'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:188: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:188: warning: assignment makes pointer from integer without a cast
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: At top level:
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:243: warning: 'struct unit_directory' declared inside parameter list
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'node_update':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:245: error: dereferencing pointer to incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: At top level:
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:253: error: variable 'fdtv_driver' has initializer but incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:254: error: unknown field 'name' specified in initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:254: warning: excess elements in struct initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:254: warning: (near initialization for 'fdtv_driver')
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:255: error: unknown field 'update' specified in initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:255: warning: excess elements in struct initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:255: warning: (near initialization for 'fdtv_driver')
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:256: error: unknown field 'driver' specified in initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:256: error: extra brace group at end of initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:256: error: (near initialization for 'fdtv_driver')
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:259: warning: excess elements in struct initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:259: warning: (near initialization for 'fdtv_driver')
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:262: error: variable 'fdtv_highlevel' has initializer but incomplete type
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:263: error: unknown field 'name' specified in initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:263: warning: excess elements in struct initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:263: warning: (near initialization for 'fdtv_highlevel')
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:264: error: unknown field 'fcp_request' specified in initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:264: warning: excess elements in struct initializer
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:264: warning: (near initialization for 'fdtv_highlevel')
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'fdtv_1394_init':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:271: error: implicit declaration of function 'hpsb_register_highlevel'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:272: error: invalid use of undefined type 'struct hpsb_protocol_driver'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:273: error: implicit declaration of function 'hpsb_register_protocol'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:276: error: implicit declaration of function 'hpsb_unregister_highlevel'
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c: In function 'fdtv_1394_exit':
/home/jk/gspca-7876678e39df/v4l/firedtv-1394.c:283: error: implicit declaration of function 'hpsb_unregister_protocol'
make[3]: *** [/home/jk/gspca-7876678e39df/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/home/jk/gspca-7876678e39df/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
make[1]: *** [default] Error 2
make[1]: se sale del directorio `/home/jk/gspca-7876678e39df/v4l'
make: *** [all] Error 2
[jk@arch4linux gspca-7876678e39df]$
Mr.Elendig wrote:1. you don't need to be root to run make
I used root because the compiler gave me an error of permission denied.
Mr.Elendig wrote:2. LANG=C make 3. /usr/src/linux-2.6.30-ARCH does not contain the whole source, grab it from kernel.org
can you explain this a little more detailed?
Similar Messages
-
Method not found in class errors when compiling project
Hi,
I am getting the following errors when compiling my project:
Error(3,8): ReqLinesNotificationsVORowImpl not found
Error(25,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(31,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(37,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(43,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(49,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(55,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(61,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(79,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(85,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(91,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(97,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(103,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(109,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(115,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(121,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(127,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(133,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(139,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(145,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(151,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(157,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(163,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(169,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(175,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(181,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(187,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(193,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(199,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImplError(205,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
I have ReqLinesNotificationsVORowImpl and ReqLinesNotificationsVOImpl files in myprojects directory. Can anyone help please?
ThanksHi,
From the error it seems that the code is refering ReqLinesNotificationsVOExRowImpl file.
Please make sure that its class file is present in myclasses folder.
Since u have mentioned that ReqLinesNotificationsVORowImpl is already placed in myclasses folder. Hope this should resolve your issue.
Regards,
Raj Papdeja -
I'm trying to use the HDL interface node in LV8 FPGA with a PCI-5640R and had the "timing constraint" error when compiling my VI, however, the same VI was successfully compiled on a CRIO-9104, it seems the FPGA on PCI-5640R is not good as the one on CRIO-9104, or I'm not using it right. could you please kindly help me out?
I tested it with the sample code downloaded from NI website
( http://zone.ni.com/devzone/conceptd.nsf/webmain/456722DDDE17986A86256E7B0065EE6F ) which demonstrates using an IP core for a filter. To simplify it, I only keep the HDL Interface Node and the While Loop (see "UsingFilterCore.vi" in attached zip file), and then I created 2 projects including this VI (1 for CRIO-9104, in sub folder "CRIO-9104", the other for PCI-5640R, in sub folder "IFRIO 5640"). When opening the 2 projects separately in LV8.0 and selecting the VI for compile, the one for 9104 passed and the other failed. Here I attach the source code, error message screenshot and the NIReport from MAX, hope you can reduplicate the problem.
Can you help me out? Thanks very much !
Message Edited by Jerry_L on 03-26-2006 09:28 PM
Message Edited by Jerry_L on 03-26-2006 09:29 PMHi Jerry,
I'm just tried to make all these steps by myself (http://zone.ni.com/devzone/cda/tut/p/id/3516). I have generated FIR filter using Xilinx ISE and got *.VHD file which was going to use in HDL Node.
In the Parameters tab of the HDL Interface Node configuration dialog, double-click in the Names column to add parameters. Create parameters as shown below.
Next, switch to the Code tab. Notice that your parameters now appear in the entity section. To complete the next two sections of code, you will need to refer to the filt.vhd file that you generated earlier and interface the filter core to the LabVIEW FPGA execution system.
1. The first problem I met was integrating VHDL code from earlier generated *.VHD file to CODE tab in properties of HDL Node. Content of entity section in *.VHD is not the same that in your attached file. Please check it in attached files. I'm sure this is the main reasen of problem.
Next, switch to the External Files tab. Click the Add File button and select the filt.edn file that you created earlier. This is the EDIF netlist file that you generated earlier.
2. I have no idea where can I get it and when during filter generation using Xilinx ISE it was generated too. How can I get it? I had to use your attached file filt.edn.
3. After that I have made the same schematics like you have in your VI FPGA and try to run. But I've got two error messages:
HDL Interfave node: enable chain not handled. Details: Refer to the documentation for the correct assignments for the enable_out output from your HDL code.
HDL Interfave node: output not handled. Details: Right-click the node, select Configure to open the Configure HDL Interface Node dialog box, and use the Code tab to handle all output parameters.
Actually I need to model FIR filter:
Bandwidth 200-600 Hz
Sampling 8 KHz
Attenuation 80 dB
That's why I tried to follow all these steps by myself to understand how does it work.
Thanks a lot.
Nikita
Attachments:
Filter1.vi 16 KB -
Pragma error when compiling with SDK X
Hi,
I am trying to compile my plugin application (which compiled fine with the previous sdk) using the SDK X, but receive errors in CAVAlert.h on the exception handler construct DURING, HANDLER, END_HANDLER.
The errors are listed here:
Headers/API/CAVAlert.h:156:3: error: 'suppress' was not declared in this scope
Headers/API/CAVAlert.h:156:3: error: 'warning' was not declared in this scope
Headers/API/CAVAlert.h:156:3: error: '__pragma' was not declared in this scope
Headers/API/CAVAlert.h:156:3: error: expected ';' before 'jmp_buf'
Headers/API/CAVAlert.h:156:3: error: 'ASException' was not declared in this scope
Headers/API/CAVAlert.h:156:3: error: expected ')' before ':' token
Headers/API/CAVAlert.h:156:3: error: expected ';' before 'struct'
Headers/API/CAVAlert.h:162:3: error: request for member 'E_RETURNOutsideDURINGBlock' in 'gBadReturnCatcher', which is of non-class type 'int'
Headers/API/CAVAlert.h:162:3: error: expected ')' before ':' token
Headers/API/CAVAlert.h:162:3: error: expected ';' before 'int'
Headers/API/CAVAlert.h:165:3: error: 'ENDHANDLEROutsideHANDLER' was not declared in this scope
To compile against to SDK X all I did was:
1) Used PIMain.c from the SDK X API directory.
2) Changed ACRO_SDK_LEVEL=0x00090000 => ACRO_SDK_LEVEL=0x000A0000
3) Changed the include directories to point to the new SDK X directories
Is there another directive I must add to get the plugin to compile with SDK X?
My preprocessor list is as follows:
ACRO_SDK_LEVEL=0x000A0000
HAVE_W32API_H
PDMETADATA_HFT=1
PLUGIN=1
WIN32
WIN_ENV
WIN_PLATFORM
WXUSINGDLL
_CRT_SECURE_NO_DEPRECATE
_DEBUG
_WINDOWS
__GNUWIN32__
__WIN32__
__WXMSW__
Thank you,
MagdaWithout seeing your code, I can't really help.
If you want help with your code, open a formal support ticket.
From: Adobe Forums <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Date: Tue, 6 Dec 2011 04:09:25 -0800
To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
Subject: Pragma error when compiling with SDK X
Pragma error when compiling with SDK X
created by magdakuit<http://forums.adobe.com/people/magdakuit> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4066378#4066378 -
Errors when compiling the web service (SAP Web Service Design Tool)
After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
There are errors when compiling the web service.
Is does not say whatu2019s wrong or how I can solve this problem.
Who can help me?
Some notes:
1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
Thanks for any help,
Ron
ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
Edited by: RonKoudijs on Aug 26, 2010 6:28 PMHello Taylan,
I think the error that you received was due to packaging issues.I placed the
UtilClass.java file under a directory called data which was present under
the project directory.
When you want to access a java class, you can either place the compiled
class file in the WEB-INF/classes folder or you can place the java file
under the project directory.
I have attached the sample project that I created with your files.
Let me know if you have any other questions.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"taylan" <[email protected]> wrote in message
news:3d6351b0$[email protected]..
>
I am trying to write a simpe web service in WebLogic Workshop, but havingan error
which I could not understand. Could you please help me? Thanks in advance.
Regards,
Taylan
My web service code is like belows:
import weblogic.jws.control.JwsContext;
import data.*;
public class WebService1
/** @jws:context */
JwsContext context;
* @jws:operation
public UtilClass testType(UtilClass tTest){
UtilClass returnObj=new UtilClass();
if(tTest.getName()!= null){
returnObj.setName(tTest.getName());
return returnObj;
and my UtilClass is placed in the data directory under the same directorywith
my web service code. It is a simpe class as belows:
package data;
public class UtilClass
private String name;
public void setName(String name){
this.name=name;
public String getName(){
return name;
However I got an error when I try to compile the webservice class. Theerror is
like belows:
File Line Message
WebService1.jws 0 Resource found on system classpath: data.UtilClass
Build complete - 1 error(s), 0 warning(s)
[ngroup.zip] -
Error when compiling invalid object XLA_00555_AAD_C_011117_PKG
Hello folks,
i am getting error when compiling the following object.
XLA_00555_AAD_C_011117_PKG
here i have mentioned below is what i have done for that invalid object.
SQL> select owner,object_name,object_type
2 from dba_objects
3 where status='INVALID';
OWNER
OBJECT_NAME
OBJECT_TYPE
APPS
XLA_00555_AAD_C_011117_PKG
PACKAGE BODY
SQL> connect apps/apps
Connected.
SQL> alter package XLA_00555_AAD_C_011117_PKG compile body;
Warning: Package Body altered with compilation errors.
SQL> show errors;
Errors for PACKAGE BODY XLA_00555_AAD_C_011117_PKG:
LINE/COL ERROR
32209/1 PLS-00103: Encountered the symbol "NVL" when expecting one of the
following:
* & - + / at mod remainder rem then <an exponent (**)> and or
|| multiset
The symbol "*" was substituted for "NVL" to continue.
32209/23 PLS-00103: Encountered the symbol "=" when expecting one of the
following:
. ( * % & - + / at mod remainder rem then <an exponent (**)>
and or ||
The symbol "* was inserted before "=" to continue.
LINE/COL ERROR
Please Provide me solution as soon as possible
Regards,
FarookNot exactly a custom object.
XLA%AAD%PKG packages will be built dynamically by the XLA's AAD compiler. This will be used while generating the accounting entries.
This error may occur due to two reasons:
a) missing source, which is used in the setup
SELECT *
FROM xla_conditions xc
WHERE application_id = &appl_id
AND xc.source_code IS NOT NULL
AND NOT EXISTS (SELECT 1
FROM xla_sources_b xsb
WHERE xc.source_application_id = xsb.application_id
AND xc.source_type_code = xsb.source_type_code
AND xc.source_code = xsb.source_code);
b) wrong conditions in setup
SELECT application_id,amb_context_code,entity_code,event_class_code
,accounting_line_type_code,accounting_line_code
,segment_rule_detail_id,description_prio_id
FROM xla_conditions xc
WHERE application_id = &appl_id
GROUP BY application_id,amb_context_code,entity_code,event_class_code
,accounting_line_type_code,accounting_line_code
,segment_rule_detail_id,description_prio_id
HAVING COUNT(*) > 1
AND SUM(NVL2(source_code,1,0)) <> SUM(NVL2(logical_operator_code,1,0)) + 1;
For (a) check any patch available for the missing source. Otherwise contact Oracle Support.
For (b) check the condition of the JLT / JED / ADR, whether anything is wrongly entered.
By
Vamsi -
.class expected error when compiling
Ive been getting this frustrating error when compiling. My program is essentially supposed to add the values in two matrixes and return a new matrix using the added values
Heres my code:
public Matrix add(Matrix comp)
int[][] temp = new int[this.numRows()][this.numCols()];
for (int a = 0; a < comp.numRows(); a++) {
for (int b = 0; b < comp.numCols(); b++) {
temp[a] = this.myCells[a][b] + comp.getVal(a, b);
Matrix addedMatrix = new Matrix(temp[][]);
return addedMatrix;
heres the constructor for Matrix object:
public Matrix(int[][] mat)
int[][] myCells = new int[mat.length][mat[0].length];
for (int i = 0; i < mat.length; i++) {
for (int j = 0; j < mat[0].length; j++) {
myCells[i][j] = mat[i][j];
}getVal, numRows, and numCols are all helper methods that just return values.
The error is '.class' expected in the line which says Matrix addedMatrix = new Matrix(temp[][]); I checked for extra brackets but there dont seem to be any.
Any help would be appreciated. Thanks.I think you just needMatrix addedMatrix = new Matrix(temp);
-
Assertion error when compiling ANSI C code - Forte 6.2
I have a compilation error when compiling on my Ultra 10
using Forte 6.2 C compiler (5.3). Here's the line:
teds@enigma[195]% cc -xtarget=ultra3 -xarch=v8plusb -dalign -fns -fsimple=2 -ftrap=%none -xlibmil !!
cc -xtarget=ultra3 -xarch=v8plusb -dalign -fns -fsimple=2 -ftrap=%none -xlibmil -xO4 -DCMO_DEBUG_DETAIL -DUSE_DATACONN -c cmoisubs.c -o cmoisubs.o
cg: assertion failed in file ../src/ms_pipe/sp_interface.cc at line 689
cg: Internal error: constval annotation set on reg with multiple defs
cg: 1 errors
cc: cg failed for cmoisubs.c
teds@enigma[196]%
Does anyone have any ideas?
Thanks,
TedAre both files in the same directory? Is the directory in your classpath?
-
ERROR:HDLParsers:3370 Compile Error when compiling for NI-5640R
I'm trying to get a FFT Core working inside the NI-5640R FPGA. In my latest debugging step, I have received the following error when compiling:
Compiling vhdl file "C:/NIFPGA82/srvrTmp/LOCALH~1/IFBC3E~1/bushold.vhd" in Library work.
Entity <bushold> compiled.
ERROR:HDLParsers:3370 - "C:/NIFPGA82/srvrTmp/LOCALH~1/IFBC3E~1/bushold.vhd" Line 142. Value 0 is not included in the range, 1 to 2147483647, of kConfiguration_ClkMaxWidth.
ERROR:HDLParsers:3370 - "C:/NIFPGA82/srvrTmp/LOCALH~1/IFBC3E~1/bushold.vhd" Line 143. Value 0 is not included in the range, 1 to 2147483647, of kConfiguration_ClkCounterWidth.
Has anybody seen this before? I am including my FPGA VI that is causing this error (FFT (FPGA).vi). I am also including my previous step in debugging the FFT that worked (FFTworking (FPGA).vi).
Attachments:
FFT (FPGA).vi 125 KB
FFTworking (FPGA).vi 119 KBHi,
The main cause of this error message is the large array size. You configured a 16-bit fixed-size array with 4096 element for a total array size of 65536 (16 * 4096). Array uses a lot of FPGA resource and the general recommendation to limit the use and size of array as much as possible on the FPGA VI. This VI will certainly overmap the FPGA resource because of the large array size.
Although this error message is not directly related to the array size, it has however been reported to R&D (#4G3COBJ0) for further investigation. A possible workaround would be to reduce the size of the array or use DMA FIFO to pass the data to the host.
Thanks for the feedback!
Tunde A.
LabVIEW FPGA -
Revision: 10641
Author: [email protected]
Date: 2009-09-28 08:44:38 -0700 (Mon, 28 Sep 2009)
Log Message:
Fix ambiguous reference error when compiling a performance test.
Fully qualify mx.events.Requests in generated code for FlexInit.
QE notes: None.
Doc notes: None.
Bugs:
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no.
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.javaStart by validating your HTML code. You have numerous code validation errors on line 230 caused by UPPER case tags. XHTML doc types, need lower case tags. After you fix your code errors, republish your page.
HTML Validator - http://validator.w3.org
CSS Validator - http://jigsaw.w3.org/css-validator/
HTML & CSS Tutorials - http://w3schools.com/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Bug report: ube_ipa: internal error when compiling with -xO5
When compiling imlib2-1.1.2, one source file causes compilation to fail with the following error message:
ube_ipa: internal error
cc: ube_ipa failed for loader_tiff.c
The command which fails is (probably wrapped):
cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I../loaders -I../libltdl -I/usr/X11R6/include -I/usr/openwin/include -I/opt/csw/include -I/opt/csw/include -I/opt/csw/include -g -fast -xarch=386 -xstrconst -v -xildoff -xO5 -c loader_tiff.c -KPIC -DPIC -o .libs/loader_tiff.o
Changing -xO5 to -xO4 works around the problem. The source file in question is imlib2-1.1.2/loaders/loader_tiff.c
Patch 112756-10 has been applied, and doesn't correct the problem. GCC doesn't have any problem compiling the file.
A quick note to any Sun employees reading this: it took me 45 minutes to find somewhere to submit this bug report. Searching sun.com for "submit bug report" turned up many forum postings where people asked "Where do I submit bug reports?", a bug report form for Sun One Java Studio, and not much else. It might be in your interest to make submitting bugs easier.Internal errors, such as the one you encountered, are generally considered compiler bugs. They indicate that the compiler reached an unexpected state and therefore bailed out. I opened bug 20703141: internal error: pic_relocs(): hh reltype? to investigate. I see the same error message emitted by the current Studio development release; I will update this thread if I find a work-around.
Thanks,
Mark -
Error when compiling Systinet WSDL using JWSDP
We are getting the following error when using Sun JWSDP tools
(wscompile) to compile a WSDL document generated by Systinet:
error: in message "PatientSearch_findPatient_bar.foo.mccs.WebServiceException_Fault",
part "idoox-java-mapping.bar.foo.mccs.WebServiceException" must specify a "element" attribute
The section of the target WSDL that is causing this error is:
<wsdl:message name="PatientSearch_findPatient_1_Request">
<wsdl:part name="audit" element="ns0:audit"/>
<wsdl:part name="patientSearchData" element="ns0:patientSearchData"/>
</wsdl:message>
<wsdl:message name="PatientSearch_findPatient_Response">
<wsdl:part name="response" element="ns0:PatientSearchResponse_Response"/>
</wsdl:message>
<wsdl:message name="PatientSearch_findPatient_bar.foo.mccs.LegacyDataSourceException_Fault">
<wsdl:part name="idoox-java-mapping.bar.foo.mccs.LegacyDataSourceException" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="PatientSearch_findPatient_bar.foo.mccs.WebServiceException_Fault">
<wsdl:part name="idoox-java-mapping.bar.foo.mccs.WebServiceException" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="PatientSearch_reset_1_Request"/>
<wsdl:message name="PatientSearch_reset_Response">
<wsdl:part name="response" element="ns0:ArrayOfArrayOfstring_Response"/>
</wsdl:message>
<wsdl:message name="runtimeHeaders_0">
<wsdl:part name="header_0" element="ns1:instance"/>
</wsdl:message>
This error has been seen by us several times in the past, however in each case the WSDL provider was willing and able to provide us with a modified document that satisfied the 'wscompile' program.
One possible explanation that we've found for this error:
A <wsdl:part> definition must contain an "element" attribute
when using "document" style, or a "type" attribute when using
"rpc" style; it must not include both attributes.
The questions that I would like to ask are:
1. Is this a "legal" WSDL document?
2. Can the WSDL be "modified" in any methodical (consistent) way to replace the type="xsd:string" attributes with element="..." attributes whenever we are faced with this error but cannot ask for or obtain a modified WSDL document?
TIA for any light that anyone might shed on this issue.Hi scg,
I took a look at your file and researched a little bit about your issue, I have not been so lucky with the research since most of the doceuments are related to previous versions of the software, nevertheless it is also what makes me think that the file might be corrupted or some issue related to it so and I have found some tests that you could try:
1. Create a new FPGA file with your code on it and compile it again.
2. Turn off the firewall and compile again
3. Restart the compiler Services
Hope you might find this information helpful!
Regards,
S.Jimenez -
Fbe internal error when compiling OpenSSL 1.0.2 64 bit
./Configure solaris64-sparcv9-cc no-shared -m64 -xcode=pic32 -xldscope=hidden
./make
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -xcode=pic32 -xldscope=hidden -xtarget=ultra -xarch=v9 -xO5 -xstrconst -xdepend -Xa -DB_ENDIAN -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DGHASH_ASM -c -c -o md5-sparcv9.o md5-sparcv9.S
cc: Warning: -xarch=v9 is deprecated, use -m64 to create 64-bit programs
/opt/solarisstudio12.4/bin/fbe: "/tmp/cpp.1426232079.27660.01.s": , approx line 1041: internal error: pic_relocs(): hh reltype?
Reading around, it seems to be caused by setting -xcode=pic32 but I need to set that because I am building a static library that will be linked into a shared library and that requires relocation.
Changing the makefile so that the -xcode=pic32 flag is not passed when compiling .s files solves the problem but I am unsure if I will have an invalid build.
Previous OpenSSL versions have compiled cleanly with this flag set.
Does the message 'internal error' indicate that it is a bug in the compiler? If so is there a fix?
Can anyone advise please?Internal errors, such as the one you encountered, are generally considered compiler bugs. They indicate that the compiler reached an unexpected state and therefore bailed out. I opened bug 20703141: internal error: pic_relocs(): hh reltype? to investigate. I see the same error message emitted by the current Studio development release; I will update this thread if I find a work-around.
Thanks,
Mark -
Typedef Error when compiling niScope for DLL using CVI
I am getting the following error when trying to compile a DLL for the NI 5122 digitizer using CVI:
Error creating type library:
All structs, unions, and enums required by exported functions must be typedefs in order to create a type library. The struct/union/enum "niScope_wfmInfo" does not use such a typedef.
I have created a variable and "typedefed" it as niScope_wfmInfo to try and get rid of this error. This did not work. I have tried making several other changes. Some have eliminated the error but created problems with the DLL.
Has anyone had a similar error to this? If so, how did you get around it?
Thanks,
HeatherHi Heather,
The reason that you are receiving this error is because the niscope.h file (called by niScope.fp) uses a struct which cannot be compiled into a DLL. This means that the niScope.fp file cannot be included in the target settings. Here's a knowledgebase that describes the error.
http://digital.ni.com/public.nsf/websearch/AC028D9586E947F08625661E006A182F?OpenDocument
If you do want the niScope.fp file to be included then you will need to make some modifications to the niscope.h file and create a typedef for the niScope_wfmInfo struct. Here's info from the help file that describes the type library section and the use of the .fp file.
"Type Library—This button lets you choose whether to add a type library resource to your DLL. Also, you can choose to include links in the type library resource to a Windows help file. LabWindows/CVI generates the type library resource from a function panel (.fp) file. You must specify the name of the .fp file. You can generate a Windows help file from the .fp file by using the Generate Windows Help command in the Options menu of the Function Tree Editor window.
This feature is useful if you intend for your DLL to be used from Visual Basic."
If you do not include the niScope.fp file then you will be able to compile the DLL.
Hope this helps! Let me know if you have any questions.
Erick -
im trying to sort this code out. Im now getting one error now when compiling it.
cannot resolve symbol }Link link = >new< Link (texts[i][j]);
it doesnt like the new for some reason
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.net.*;
import java.io.*;
public class Test4 extends JFrame
JFrame tickerFrame;
JPanel tickerpanel,stockpanel;
public Test4 ()
tickerFrame = new JFrame("Notification Ticker");
tickerFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
tickerFrame.setSize(new Dimension(120, 40));
tickerFrame.getContentPane().add(new Marquee( getTexts() ), BorderLayout.CENTER);
//tickerFrame.getContentPane().add(new Marquee( getTexts() ), BorderLayout.CENTER);
tickerFrame.pack();
tickerFrame.setVisible(true);
private String[][] getTexts ()
return new String[][]
{"Yahoo", "http://news.bbc.co.uk/1/hi/world/middle_east/3665775.stm"},
{"Google", "http://news.bbc.co.uk/1/hi/business/3665193.stm"},
{"BBC", "http://news.bbc.co.uk/1/hi/uk_politics/3665909.stm"},
{"Newsitem1", "http://news.bbc.co.uk/1/hi/entertainment/music/3665545.stm"}
private class Marquee extends JPanel
{ //private JPanel panel;
private boolean paused;
public Marquee (String[][] texts)
MouseListener listener = new MouseAdapter ()
public void mouseEntered (MouseEvent event)
paused = true;
public void mouseExited (MouseEvent event)
paused = false;
addMouseListener (listener);
tickerpanel = new JPanel ();
tickerpanel.addMouseListener (listener);
//tickerpanel.setLayout(new BoxLayout (tickerpanel, BoxLayout.X_AXIS));
for( int i = 0; i < texts.length; i ++ )
for( int j = 0; j < texts.length; j ++ )
if( i > 0 )
tickerpanel.add (Box.createHorizontalStrut (20));
}Link link = new Link (texts[i][j]);
link.addMouseListener (listener);
tickerpanel.add (link);
tickerpanel.setLocation (0, 0);
tickerpanel.setSize (tickerpanel.getPreferredSize ());
//setLayout (null);
add (tickerpanel);
paused = false;
new Thread (new Runnable ()
public void run ()
while( true )
if( ! paused )
int x = tickerpanel.getX () - 1;
if( x < -tickerpanel.getWidth () )
x = getWidth ();
tickerpanel.setLocation (x, 0);
}try
Thread.sleep (25);
catch( InterruptedException exception )
}).start ();
stockpanel = new JPanel ();
stockpanel.setSize (stockpanel.getPreferredSize ());
add (stockpanel);
public Dimension getPreferredSize ()
Dimension preferredSizeOfPanel = tickerpanel.getPreferredSize ();
return new Dimension (preferredSizeOfPanel.width / 2, preferredSizeOfPanel.height);
private class Link extends JLabel
URL url;
public Link (String text, final String surl)
setText ("<html><u>"+ "NewsItem : " + text + "</u></html>");
setForeground (Color.BLUE);
addMouseListener (new MouseAdapter ()
public void mouseClicked (MouseEvent event)
{ //System.out.println (text);
try
url = new URL( surl );
catch( MalformedURLException e )
//System.out.println (url);
//BrowserControl.displayURL(text);
BrowserControl.displayURL(surl);
private static void createAndShowGUI()
{ //Make sure we have nice window decorations.
JFrame.setDefaultLookAndFeelDecorated(true);
Test4 ticker = new Test4();
public static void main(String[] args)
//Schedule a job for the event-dispatching thread: //creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable()
public void run()
createAndShowGUI();
}You are calling new Link (texts[i][j]); with one arguement but you have defined Link as having two arguements public Link (String text, final String surl)
Maybe you are looking for
-
Can I run my iPad to a projector wirelessly with no internet?
Before I start, you need to know that I don't know what things like "WAN" and "LAN" mean, this seems to be the cause of my misunderstanding so far. If you could help me out in common English words, that would be fantastic! I'm a music teacher, I tea
-
I have a new laptop with Windows 8 and have tried to download Acrobat Pro Ver 7, which doesn't work on Win 8 as I've found out. What do I need to update to for a compatible program? Do I have to buy an entirely new product or can I just upgrade?
-
Yahoo finance portfolio does not update in firefox but is fine in Chrome and IE9
This problem did not exist under the previous version of Firefox. One can access Yahoo finance my portfolio ok but even with streaming quotes on the portfolio does not update. Problem now solved. It was an issue of the Kaspersky root kit certificate
-
Close document without exiting program
In Dreamweaver 6, before I got a new computer, I could close a document window and the program would go back to a blank New Document screen. Now the entire program closes, and I can't find how to close a document without exiting the program. Does any
-
Firefox opens in a tiny window and I want it to open full page..How?
Firefox opens at my home page as desired, but it is on a window in the upper right corner, about 4"wide and 3" tall. It readily drags out into a full-sized display, but I want it to open that way, as it did before I updated to yesterday's version of