UnixODBC - cannot compile 64-bit library

I'm not sure of the architecture of the BONE. I guess it's 64-bit and 32-bit running in 32-emulation mode.

ISAInfo

64 - bit sparcv9 applications

asi_blk_init vis2 live popc

32 - bit sparc applications

asi_blk_init vis2 live popc v8plus div32 mul32

But why then the main OS modules are 32-bit?

/ bin/ls:Executable MSB ELF 32 - bit SPARC Version 1 linked dynamically, stripped

uname - a

SunOS ccbodbtst 5.10 Generic_142909-17 sun4v sparc SUNW, T5440

I can't compile library UnixODBC 64-bit in this OS. Only 32 bits is compiled.

Normally the last version of driver manager recognizes the operating system and compile libraries with the correct word size. If this does not work, make sure that you explicitly set 2 flags CFLAGS and CXXFLAGS both with the option DBUILD_REAL_64_BIT_MODE (which you have developed or has been used in your compilation) and m64 to force a 64-bit compilation:

If an environment that compiles the 64-bit libs can be initialized as follows:

PATH = / usr/ccs/bin: $PATH

export PATH

CFLAGS = "- m64 - DBUILD_REAL_64_BIT_MODE.

export CFLAGS

CXXFLAGS = "- m64 - DBUILD_REAL_64_BIT_MODE.

export CXXFLAGS

Now call unixODBC set up with prefixes desired - I usually specify my own odbc.ini/odbcinst.ini site:

. / configure - prefix = / u01/odbc64/product/unixODBC - sysconfdir = / u01/odbc64/product/unixODBC-enable-gui = no - enable-drivers = no

then run

do

and

make install

If this does not work, please contact unixODBC.

-Klaus

Tags: Database

Similar Questions

  • Compile 32-bit programs on the cDAQ RT Linux

    I have a (OR-9134) running Linux RT NI cDAQ

    I am unable to get it compile 32-bit programs. The steps I've done were:

    1 used "opkg" to install all the 'gcc', 'CPP', "gcc-symlinks", etc. - that I could see associated compilers.

    2 export CFLAGS = "-m32' export CXXFLAGS ="m32", export LDFLAGS = 'm32'"

    3 CFLAGS = "-m32". / configure

    However only 64-bit binary are generated.

    I'm unable to find through "opkg" all packages associated with 32-bit builds or anything related to 'multilib '. Could you get it someone please let me know how do NI Linux RT generate binary 32 bits?

    Looks like you are saying that you need a 32-bit library to work with 32-bit LabVIEW. However, LabVIEW on your target cDAQ is 64-bit, as all software on our basic objectives of Linux RT Atom (the ARM-based targets are 32-bit). So, if you want your HDF5 library to run on the target of the cDAQ to 64-bit, you must use a 64-bit version of HDF5. This is true even if you connect/deployment to the target of a 32-bit version of LabVIEW.

    Of course, if you want to run HDF5 on a 32-bit system, as a target of LabVIEW RT with ARM 32-bit processor, or LabVIEW RT older targets that use VxWorks or Phar Lap instead of Linux, or a 32-bit desktop machine running Windows or any other OS, you will need a 32-bit version of HDF5. But I would not recommend trying to build HDF5 for these environments of your cDAQ. I recommend compiling natively on the cDAQ, if you at all (*), for the code, you intend to run on the cDAQ.

    (*) You should be aware of this already, but you can cross - compile your HDF5 library using Eclipse, i.e. http://www.ni.com/download/labview-real-time-module-2014/4846/en/ - some people prefer this to the compilation on the target, which is a little limited resources.

  • Facebook cannot access the photo library

    When I try (on a Macbook Pro) 'create album' or 'add photos' on the women's FB page, I can see, but cannot access its photo library.  Why?  I can, however, access the photos directory - unfortunately, uses Photo pictures are not stored there.   Apple told me that they no longer support iPhoto, but were instead switching to 'Photos '.  So that's where all the images are imported from the camera.  WTH?  It shouldn't be this difficult.

    When you use a web browser or any other application that uses the media browser, you can access your own library of Photos of system, but not of other libraries of Photos.  Only libraries can be designated as the library of the system at the same time.

    The photo library of the system will be available from the sidebar of the selector Panel of file like this:

  • LabWindows/CVI cannot compile a simple code

    Hi all!

    It's looks funny but LabWindows/CVI-9.1.0(427) cannot compile a simple C code

    XML.h

    void f();

    XML.c

    #include 'xml.h.

    typedef struct
    {
    int bar;

    } foo;

    void f()
    {
    int Baz = 0;
    If (!) Baz) baz = 1;
    foop foo;
    return;
    }

    It's not a bug, you make a statement block to a variable foop which is not allowed in the standard ANSI C89.

    You can activate the C99 extensions with a pragma if you want this to work in CVI 9.1

    Menchar

  • Gettitng error message "service error: Windows cannot start the BITS service on Local computer" when you start BITS service

    When I try to start the Windows Services BITS service, I get the popup error message "service error: Windows cannot start the BITS service on Local computer.»  Error 2 ther system cannot find the file specified. »

    Where can I find the required file?  It is available from Microsoft to download?

    Thank you

    It could be a missing/incorrect servicesdll value. See if a request would help the BFE (#11) service registry fix in this page:

    Register various fixes for Windows 7/XP/Vista:
    http://www.Winhelponline.com/blog/Misc-registry-fixes-for-Windows-7-XP-Vista/

  • PLS-00304: cannot compile < package > body without its specification

    Hi all
    When compiling the below pasted together, I got the following error msg.
    PL/SQL: Compilation unit analysis terminated
    PLS-00304: cannot compile body of 'EDR_RPT_CLASS_BY_TAWT_PACKAGE'
    without its specification
    
    PLS-00905: object HDOT.EDR_RPT_CLASS_BY_TAWT_PACKAGE is invalid
    But me, which forfeit and ppackage specification of the body properly. Please could someone help me find the error

    CREATE OR REPLACE PACKAGE edr_rpt_class_by_tawt_package AS
    
    
    PROCEDURE edr_rpt_gen_class_by_tawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    );
    
    PROCEDURE edr_rpt_gen_class_by_fawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    );
    
    PROCEDURE edr_rpt_gen_class_by_sawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    );
    
    
    PROCEDURE edr_rpt_gen_class_by_triawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    );
    
    PROCEDURE edr_rpt_gen_class_by_qawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    );
    
    FUNCTION  class_count
    (
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      iin_axle_wt_max             edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    )
    RETURN VARCHAR2;
    
    
    END edr_rpt_class_by_tawt_package;
    /
    
    CREATE OR REPLACE PACKAGE BODY edr_rpt_class_by_tawt_package AS
    
       c_front_axle_only         CONSTANT axle_class.group_type%TYPE := -1;
       c_axle_single_group_type  CONSTANT axle_class.group_type%TYPE := 1;
       c_axle_tandem_group_type  CONSTANT axle_class.group_type%TYPE := 2;
       c_axle_tridem_group_type  CONSTANT axle_class.group_type%TYPE := 3;
       c_axle_quadrem_group_type CONSTANT axle_class.group_type%TYPE := 4;
       c_kips_conversion_unit_id CONSTANT units.unit_id%TYPE         := 8;
    
       v_report_axle_group_type  axle_class.group_type%TYPE := 0;
    
    
    FUNCTION  class_count
    (
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_axle_wt_max              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    )
    RETURN NUMBER
    IS
      my_count_result NUMBER(18);
    BEGIN
    
       SELECT NVL(SUM(vehicle_count), 0 )
       INTO my_count_result
       FROM
           (
            SELECT site_lane_id
            FROM   edr_rpt_tmp_report_lanes
            WHERE  edr_rpt_tmp_report_lanes.output_lane_id        = in_lane_id
              AND  edr_rpt_tmp_report_lanes.output_direction_id   = in_direction_id
           ) report_lanes
       JOIN edr_cls_by_tawt_report_data
         ON edr_cls_by_tawt_report_data.site_lane_id          = report_lanes.site_lane_id
       WHERE edr_cls_by_tawt_report_data.bin_start_date_time >= in_interval_start_date_time
         AND edr_cls_by_tawt_report_data.bin_start_date_time <  in_interval_end_date_time
         AND edr_cls_by_tawt_report_data.group_weight >= in_axle_wt_min
         AND edr_cls_by_tawt_report_data.group_weight  < in_axle_wt_max  
         AND edr_cls_by_tawt_report_data.vehicle_class >= in_class_min
         AND edr_cls_by_tawt_report_data.vehicle_class <= in_class_max
         ;
    
       RETURN my_count_result;
    END;
    
    
    FUNCTION get_row_class_counts_text
    RETURN VARCHAR2
    IS
       my_row_counts_text  VARCHAR2(10000);
       my_row_counts_entry  VARCHAR2(10000);
    
       CURSOR row_counts_text IS
         SELECT 'edr_rpt_class_by_tawt_package.class_count('
                           ||'lane_id, '
                           ||'direction_id, '
                           ||'interval_start_date_time, '
                           ||'interval_end_date_time, '
                           ||'range_low, '
                           ||'range_high, '
                           || class_id || ', '
                           || class_id || ') "'|| class_id || '"'
         FROM edr_rpt_tmp_report_classes
         ORDER BY class_id;
    
    BEGIN
    
      my_row_counts_text   := '';
      my_row_counts_entry  := '';
    
      -- generate the speed ranges function calls
      OPEN row_counts_text;
      LOOP
    
        FETCH row_counts_text INTO my_row_counts_entry;
    
        EXIT WHEN row_counts_text%NOTFOUND;
    
        my_row_counts_text := my_row_counts_text || ', ' || my_row_counts_entry;
    
      END LOOP;
      CLOSE row_counts_text;
    
      RETURN my_row_counts_text;
    
    END;
    
    
    
    FUNCTION get_row_totals_text
    RETURN VARCHAR2
    IS
       my_row_count_total_text  VARCHAR2(10000);
    BEGIN
    
      my_row_count_total_text := '';
    
      -- generate the 'total' column function call
      SELECT 'edr_rpt_class_by_tawt_package.class_count('
                           ||'lane_id, '
                           ||'direction_id, '
                           ||'interval_start_date_time, '
                           ||'interval_end_date_time, '
                           ||'range_low, '
                           ||'range_high, '
                           || MIN(class_id) || ', '
                           || MAX(class_id) || ') " "'
      INTO my_row_count_total_text
      FROM edr_rpt_tmp_report_classes;
    
      RETURN ', ' || my_row_count_total_text;
    
    END;
    
    
    
    PROCEDURE apply_default_awt_ranges(in_report_parameter_id   IN   NUMBER)
    IS
    
      my_awt_ranges_count NUMBER(4);
    
    BEGIN
    
     SELECT nvl(count(1),0)
     INTO my_awt_ranges_count
     FROM report_range_parameters
     WHERE REPORT_PARAMETER_ID = in_report_parameter_id
       AND REPORT_PARAMETER_GROUP = 'AXLE_GROUP'
       AND REPORT_PARAMETER_NAME = 'AXLE_NAME';
    
     IF  ( my_awt_ranges_count = 0 )
     THEN
      INSERT INTO report_range_parameters (REPORT_PARAMETER_ID, REPORT_PARAMETER_GROUP, REPORT_PARAMETER_NAME, REPORT_PARAMETER_MIN_VALUE, REPORT_PARAMETER_MAX_VALUE)
        VALUES (in_report_parameter_id, 'AXLE_GROUP', 'AXLE_NAME', '0', '2'); 
        VALUES (in_report_parameter_id, 'AXLE_GROUP', 'AXLE_NAME', '30', '32');
     END IF;
    
    END;
    
    
    PROCEDURE edr_class_by_tawt_use_per_veh
    (
       in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
       in_good_status_mask      IN      NUMBER
    )
    IS
    
     max_axle_group_value NUMBER(12);
    
    BEGIN
    
      DELETE FROM edr_cls_by_tawt_report_data;
     
      COMMIT;
    
      INSERT INTO edr_cls_by_tawt_report_data
                    (
                      site_id,
                      site_lane_id,
                      site_direction_id,
                      site_direction_name,
                      bin_start_date_time,
                      group_weight,
                      bin_id,
                      bin_value
                     )
      SELECT site_id,
             site_lane_id,
             site_direction_id,
             site_direction_name,
             date_time,
             group_weight,
             vehicle_class,
             COUNT(vehicle_class)
      FROM
             (
               SELECT edr_cls_by_tawt_per_veh_data.*
                 FROM edr_cls_by_tawt_per_veh_data           
         GROUP BY date_time,
               site_lane_id,
               group_weight,
               vehicle_class,
               site_id,
               site_direction_id,
               site_direction_name;
    
    END edr_class_by_tawt_use_per_veh;
    
    
    PROCEDURE edr_class_by_tawt_data_type
    (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      in_good_status_mask      IN      NUMBER,
      in_data_type             IN      VARCHAR2,
      out_data_type_used          OUT  VARCHAR2
    )
    IS
      my_bin_entry_count   NUMBER(12,0);
      my_veh_entry_count   NUMBER(12,0);
    BEGIN
    
      IF(UPPER(in_data_type) = 'BINNED') THEN
    
        --  Axle information can only be read from Per Vehicle data records
        --   - using bins-only is not a supported option
        RAISE_APPLICATION_ERROR(-20101,'Binned data cannot be used for this report.');
    
    
      ELSIF    (UPPER(in_data_type) = 'PERVEHICLE')
            OR (UPPER(in_data_type) = 'COMBINED')
      THEN
    
        out_data_type_used := 'Per Vehicle (All Vehicles)';
    
        edr_class_by_tawt_use_per_veh( in_report_parameter_id, in_good_status_mask );
    
      ELSE
         RAISE_APPLICATION_ERROR(-20101,'The data type specified is not recognized.');
      END IF;
    
    END edr_class_by_tawt_data_type;
    
    
    PROCEDURE edr_class_by_tawt_get_veh_data
    (
      in_report_parameter_id   IN   NUMBER,
      in_site_id               IN   NUMBER,
      in_start_date_time       IN   TIMESTAMP,
      in_end_date_time         IN   TIMESTAMP,
      in_report_level_min      IN   NUMBER,
      in_report_level_max      IN   NUMBER
    )
    IS
    
    BEGIN
     
      DELETE FROM edr_cls_by_tawt_per_veh_data;
    
      INSERT INTO edr_cls_by_tawt_per_veh_data
            (
              site_id,
              site_lane_id,
              site_direction_id,
              site_direction_name,
              record_id,
              date_time,
              group_weight,
              vehicle_class,
              group_number,
              vehicle_status,
              vehicle_error_count,
              axle_violations_count,
              group_type          
            )
      SELECT axle_info.site_id,
             axle_info.site_lane_id,
             axle_info.site_direction_id,
             axle_info.site_direction_name,
             axle_info.record_id,
             axle_info.datetime,
             axle_info.group_weight,
             axle_info.v_class,
             axle_info.group_number,
             NVL((SELECT SUM(status_code)
                    FROM traffic_status
                   WHERE traffic_status.record_id = axle_info.record_id), 0) vehicle_status,
             NVL((SELECT COUNT(error_code)
                    FROM traffic_error
                   WHERE traffic_error.record_id = axle_info.record_id), 0) vehicle_error_count,
             NVL((SELECT COUNT(1)
                    FROM axle_weight_violation
                   WHERE axle_weight_violation.record_id = axle_info.record_id), 0) axle_violations_count,
             axle_info.group_type            
        FROM (SELECT site_to_data_source_lane_v.site_id,
                     site_to_data_source_lane_v.site_lane_id,
                     site_to_data_source_lane_v.site_direction_id,
                     site_to_data_source_lane_v.site_direction_name,
                     traffic_record.record_id,
                     traffic_record.datetime,
                     NVL(traffic_class.v_class, 0)   v_class,
                     NVL(axle_class.group_type, 0)   group_type,
                     NVL(axle_class.group_number, 0) group_number,                
                     NVL(TRUNC(sum(convert_units(axle.weight_unit_id,
                                             c_kips_conversion_unit_id,
                                             axle.axle_weight
                                            )
                               )
                           ),
                           0
                         ) group_weight
               FROM  traffic_record
               JOIN  site_to_data_source_lane_v
                 ON  traffic_record.data_source_id = site_to_data_source_lane_v.data_source_id
                AND  traffic_record.lane = site_to_data_source_lane_v.data_source_lane_id                    
           GROUP BY site_to_data_source_lane_v.site_id,
                     site_to_data_source_lane_v.site_lane_id,
                     site_to_data_source_lane_v.site_direction_id,
                     site_to_data_source_lane_v.site_direction_name,
                     traffic_record.record_id,
                     traffic_record.datetime,
                     traffic_class.v_class,                 
                     axle_class.group_type,
                     axle_class.group_number
            ) axle_info
       
    
    END edr_class_by_tawt_get_veh_data;
    
    
    PROCEDURE gen_class_by_axle_type
    (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    )
    AS
    
     
    BEGIN
     
      apply_default_awt_ranges(in_report_parameter_id);
    
      my_date_format_mask   := edr_rpt_generic_package.edr_rpt_get_date_format_mask(in_report_parameter_id);
      my_start_date_time    := edr_rpt_generic_package.edr_rpt_get_start_date_time(in_report_parameter_id, my_date_format_mask);
      my_end_date_time      := edr_rpt_generic_package.edr_rpt_get_end_date_time(in_report_parameter_id, my_date_format_mask);
      my_lane_grouping      := edr_rpt_generic_package.edr_rpt_get_lane_grouping(in_report_parameter_id);
      my_site_id            := edr_rpt_generic_package.edr_rpt_get_site_id(in_report_parameter_id);
      my_selected_data_type := edr_rpt_generic_package.edr_rpt_get_data_type(in_report_parameter_id);
    
      -- ensure selected classes and lanes temp tables have been populated
      edr_rpt_generic_package.edr_rpt_gen_tmp_lanes(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_tmp_classes(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_tmp_speed_ranges(in_report_parameter_id);
    
      my_good_weight_statuses_mask   := edr_rpt_generic_package.get_good_weight_status_mask(in_report_parameter_id);
    
    
      edr_rpt_generic_package.edr_rpt_gen_inclusion_table
      (
        in_report_parameter_id,
        my_date_format_mask,
        my_start_date_time,
        my_end_date_time
      );
    
      edr_rpt_generic_package.edr_rpt_gen_grouping_table
      (
        in_report_parameter_id,
        my_date_format_mask,
        my_start_date_time,
        my_end_date_time
      );
    
      edr_class_by_tawt_get_veh_data
      (
        in_report_parameter_id,
        my_site_id,
        my_start_date_time,
        my_end_date_time,
        0,                          --Hardcoded until reclassification is supported.
        0                           --Hardcoded until reclassification is supported.
      );
    
      edr_class_by_tawt_data_type
      (
        in_report_parameter_id,
        my_good_weight_statuses_mask,
        my_selected_data_type,
        my_used_data_type
      );
    
    
      edr_rpt_generic_package.gen_rpt_by_ranges_output_table
      (
        in_report_parameter_id,
        'AXLE_GROUP',
        'AXLE_NAME'
      );
    
      COMMIT;
      my_report_data_statement :=
          ' SELECT rank "Rank", '
        ||       ' row_type "Row Type", '
        ||       ' interval_start_date_time "Date", '
        ||       ' interval_start_date_time, '
        ||       ' range_label "Chart X-Axis", '
        ||       ' lane_id "Group Id" , '
        ||       ' ''None'' "Group Name", '
        ||       ' range_label "Speed (mph)" '
        ||         get_row_class_counts_text
        ||         get_row_totals_text
        ||       ' FROM edr_rpt_by_ranges_output '
        ||       ' ORDER BY lane_id, '
        ||                ' direction_id, '
        ||                ' interval_start_date_time, '
        ||                ' range_high, '
        ||                ' rank, '
        ||                ' range_low'
        ;
    
      dbms_output.put_line('SQL start------------------------');
      dbms_output.put_line(my_report_data_statement);
      dbms_output.put_line('SQL end--------------------------');
    
    
      my_chart_data_statement :=
           ' SELECT range_low "X Axis", '
        ||        ' lane_id "Group" '
        ||         get_row_class_counts_text
        || ' FROM '
        || ' ( '
        || ' SELECT lane_id, '
        ||        ' direction_id, '
        ||        ' range_low, '
        ||        ' range_high, '
        ||        ' min(interval_start_date_time) interval_start_date_time, '
        ||        ' max(interval_end_date_time) interval_end_date_time '
        || ' FROM edr_rpt_by_ranges_output '
        || ' WHERE rank = 1 '
        || ' GROUP BY lane_id, direction_id, range_low,  range_high '
        || ' ) '
        || ' order by "Group", range_low '
        ;
    
      dbms_output.put_line('SQL start------------------------');
      dbms_output.put_line(my_chart_data_statement);
      dbms_output.put_line('SQL end--------------------------');
    
    
    
      SELECT my_used_data_type
        INTO my_data_type_used
        FROM SYS.DUAL;
    
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_per_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data;
    
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_status_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_status > 0
         AND vehicle_error_count = 0;
    
    
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_error_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_error_count > 0;
    
    
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_status_clear_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_status = 0
         AND vehicle_error_count = 0;
    
    
      SELECT NVL(COUNT(1), 0)
        INTO my_binned_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data;
    
      SELECT NVL(COUNT(1), 0)
        INTO my_good_weight_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_error_count = 0
         AND BITAND(vehicle_status, my_good_weight_statuses_mask) = 0;
    
      -- insert vehicle totals into the temporary table
      DELETE FROM edr_rpt_tmp_veh_totals_table;
    
      INSERT INTO edr_rpt_tmp_veh_totals_table
      SELECT my_data_type_used,
             my_per_vehicle_total,
             my_binned_vehicle_total,
             my_error_vehicle_total,
             my_status_vehicle_total,
             my_good_weight_total,
             my_status_clear_total
        FROM SYS.DUAL;
    
      -- execute the query into the output refcursor
      OPEN report_data FOR
        my_report_data_statement;
    
      OPEN chart_data FOR
        my_chart_data_statement;
    
      OPEN footer_data FOR
        SELECT data_type_used,
               per_vehicle_total,
               binned_vehicle_total,
               error_vehicle_total,
               status_vehicle_total,
               good_weight_total,
               status_clear_total
          FROM edr_rpt_tmp_veh_totals_table;
    
    END gen_class_by_axle_type;
    
    PROCEDURE edr_rpt_gen_class_by_sawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    )
    AS
    BEGIN
      v_report_axle_group_type := c_axle_single_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    
    PROCEDURE edr_rpt_gen_class_by_fawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    )
    AS
    BEGIN
      v_report_axle_group_type := c_front_axle_only ;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    
    PROCEDURE edr_rpt_gen_class_by_tawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    )
    AS
    BEGIN
      v_report_axle_group_type := c_axle_tandem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    
    PROCEDURE edr_rpt_gen_class_by_triawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    )
    AS
    BEGIN
      v_report_axle_group_type := c_axle_tridem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    
    PROCEDURE edr_rpt_gen_class_by_qawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    )
    AS
    BEGIN
      v_report_axle_group_type :=  c_axle_quadrem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    
    END edr_rpt_class_by_tawt_package;
    /
    
    
    LIST
    
    SHOW ERROR

    FUNCTION RETURN VARCHAR2 class_count in package specifications and
    FUNCTION RETURN NUMBER class_count in the package body.
    change the type of data SERVICE class_count

  • Cannot compile OK after adding an external library lot

    Hi all

    I added flurry as external library in the cascades. So I find, I added wrong libarary.

    So I deleted it in bar - descriptor.xml.

    But when I compiled my always reported project.it I added incorrect library.

    The config.pri file contains bad library path.

    How can I delete an external library?

    Thank you.

    brad_qqq

    Fortunately, I've added the cproject file in my git repository. So I can go back to an earlier version.

    I have zero my branch git, back to the last commit. Then replace the src directory and assets to the new directory.

    The problem is resolved.   It's complicated on the addition of libraries in Momnetics IDE.

  • Compilation of a library

    This might be a noob question, but I have a bit of Java code I want to compile in the non-free library. Someone in one of my Java classes mentioned that some security measures may have to be taken to ensure that the library cannot be decompiled. I don't know if it is actually a concern or if it was just a little to make things up (it is little known for making stuff from). In any case, I want to assure you that the library can be distributed without the risk that someone can alter.

    I use Eclipse as an IDE, so if there are tools that Eclipse has to compile a library locked help me, that would be great.

    Thank you.

    shadowayex wrote:
    I see your points. In the field of flight of my code, I am more concerned by someone using my own code to create a competing product.

    What I said still applies.

    Regarding the manipulation with the code, some of the programs that might be using this code can be used to process sensitive data. There are encryption methods implemented for the data themselves, but if someone could alter the code to disable the encryption of data, which could lead to some problems of huge security and possibly prosecution.

    You can sign your pots. So if a man-in-the-middle changes their and the end user has the proper security in place (SecurityManager check and/or jar or bytcode - not sure of the details), the end-user will find falsification. If the end user does not use security measures that are appropriate, or bourreurs with your code itself, then that's his problem and his own fault, similar to the deactivation of the airbag in your car and driving without a seatbelt.

    The probability of that happening, the above scenarios seems low, but if programs built on this library becomes a huge success, these are questions that seem like they have deals. I'm not an expert in this area, and if what you're saying remains valid even after my response, so I just don't worry about this.

    If your program shows signs of becoming a pretty big success where it could be a real problem, you will probably be able to afford a lawyer and a security expert to advise you properly. For now, familiarize yourself with the notions of signature and SecurityManagers and research the advantages and disadvantages of obfuscation, noting in advance is not the panacea that some people seem to think it is.

    But if these things could become problems in the future, I would just go ahead and take care of it since the beginning.

    A little foresight is a good thing. I think at this point (where I assume 'the point', it is that you are just starting to develop the software, or just start to market), is to learn about the General principles and technical issues and legal protection of intellectual property - a much greater area that can be covered in a few messages Forum - and more with the implementation preparation courses implementation of specific technical solutions ' "potential problems right now worry. In particular, if you are worried about the competition flying, familiarize yourself to a high standard with copyright and patents that apply to the software.

  • CS6 flash cannot compile a project work a few days a week old

    When I tried Monday to reopen one of my projects FLA (publish Succesfully on iTunes 2 weeks ago) to add content for a future update, I was unable to generate/compile my project on the laptop I have the code and build it originally. I have the code in FlashDevelop, put all my assets in Flash CS6 and build from the Flash IDE. I put the emphasis on "laptop I have the code originally" because if I take my project on my home office or a colleague's office, no problem, everything is perfectly compilation. A new FLA project created will work smoothly.

    In detail, when I try to test my film 'Export SWF Movie' window briefly appear then disappear. No error is given in the output or any other alert window Panel. But if I try to compile the SWF by going trough mode I get "You cannot debug this SWF, because it does contain any ActionScript" debugging. That error doesn't bring me any solution for me when watching online. I try to build for Flash Player 11.4 up to 9 without change, but sometimes to get the simulator so window build for AIR iOS, but get the same result.

    The only change I noticed on my system is Java Monday made me move to 7. I think I can run Java 6.0.36 before this update. But I'm not sure that Java is at fault because another project run on my computer and my project has been tested on a computer running Java 7 and 6. Also, in my attempt to make this work I uninstall all java on my computer, and note that the new project working, always worked without java. If java is necessary so that the compiler? I also try to add memory to the jvm. ini file since I have a problem with that under CS5.5. No change. Reinstallation of Flash CS6 also has not changed anything.

    Adobe support told me it was a known issue with many other clients, but couldn't give me more information or point me to a discussion forum related to my problem. They told me to contact java or look online for more information. (I'm a bit disappointed by the lack of responsiveness of the support but that's another topic)

    My guess is so... I don't have any guess.

    Technical details of my laptop

    Dell Vostro 3700

    Intel Core i5 to 2.40 GHz

    3 GB RAM

    Windows 7 Home Premium 32 bit

    Windows and all of my adobe products are up-to-date

    My substantive question is what someone found a solution for this. You have the link to share that covers this topic. If its well known as adobe support pretend, is this bug refer to something special other then "Swf can not compile.

    Any advice or tip are welcome. Thank you.

    Just a shot in the water - try to check your paths of construction to the SWC and source code directories. Also, what happens if you move to another directory on this computer and compile it?

  • Cannot repair the photo library. The best way to restore from iCloud library?

    The photo library of the system is damaged and cannot be repaired.

    It is said "Photos has attempted to repair the library"Pictures Library 2015 ", but can not open it." .


    I first met problems with this library a week before and at the time where I could repair and open the library successfully, but lacked a month value of photos.

    Given that it was successfully in the iCloud library, I left it to re - sync - but this process suspended several times before the end, and the photo library of the system now seems to be permanently damaged.

    I have no project of marked or impression of faces in the photo library of the system, then I would be happy just to restore from iCloud.

    My plan is to put in place a new - empty - library and then that designate the library of the system.

    If I understand this right, the new (empty) system Photo library will now resynchronize with iCloud and will copy all the contents of this library of back to my Mac.

    Is this correct? It is the most effective way to restore my library?

    And while I'm here - what is the best way to manage a very large library? I had my photo library become corrupted ten three or four times over the past years and have found it necessary to divide into single years to prevent this. I overlooked this piece of household by the end of 2015, and now it's happened again... Surely, there must be an easier way to manage libraries of images of several years?

    Is this correct? It is the most effective way to restore my library?

    Yes, if you don't have a useful upward on your Mac.

    And while I'm here - what is the best way to manage a very large library? I had my photo library become corrupted ten three or four times over the past years and have found it necessary to divide into single years to prevent this. I overlooked this piece of household by the end of 2015, and now it's happened again... Surely, there must be an easier way to manage libraries of images of several years?

    How do you call a large library, I've never had a corrupt Library, I think that your problems are not the result of the size of the library, but rather something else. From my experience it is recommended to maintain a local upward, I use Time machine, but also have a second to the top using a third-party backup solution.

  • Cannot reactive iCloud photo library - think all my images are new

    For some reason any my iCloud library got turned off on my mac.

    Now I can't get back on even if I only shot more than 4 photos on my iPhone.

    Reason: My Mac thinks that all the images stored in the cloud do not correspond to those in the photos app.

    That of why the two guests would be to upgrade my iCloud to 1 TB storage and also told my that I don't have enough space on my mac.

    What can I do about it?

    All download upwards is no choice I have 120 GB of images in the cloud.

    Thanks for you help guys!

    All download upwards is no choice I have 120 GB of images in the cloud.

    That is good.  When you enable iCloud library once again, or after you have moved a library, restore it from a backup, or simply fix it, the Mac will be to download it again. That cannot be avoided.

    But while downloading Photos will compare the pictures to be uploaded photos already in iCloud and essentially merge in the existing library in iCloud. If enough iCloud before storage, make a return current copy of your library and go ahead with the download.

    I had to do the same after that I needed to fix the library and move it to another drive. Photos warned that the amount of storage iCloud is not enough, but let me still allow iCloud, and it worked. No duplicates in iCloud.

  • Qosmio F50 - 12L cannot install graphics Video Library and RC not working

    Hello
    I have a laptop that I have windows vista 32 bit, I've upgraded to windows 7 Ultimate X64bit (Clean Install)
    and now, I want to install drivers and software for the new OS, however, and fortunately I was able to install every thing without any problem BUT
    the graphic video library! And the remote control
    whenever I run the graphical application Video Library, so it says something like "unable to connect to the release of app DB" can how I can run this app and the remote control does not work? Please help thanks.

    Post edited by: Xuser20919

    To be honest, I think you don t he need in Win7. It was important for Vista.
    AFAIK in Win7, the whole HARD disk will be indicated and specific data available for right running services.
    You have an unknown device listed in Device Manager?

  • Cannot compile BB Widget with JavaScript Custom Extension

    Hello:

    I have came across the entire video creating a Javascript Extension customized for BB Widgets and made my own. I made some functions available and named my main package as 'rgpackage' and this is where all of my classes.

    After that, I just exported to a JAD/JAR file (just like the video says).

    Open Web plug-ins, BlackBerry (v2.0.0.201003191451 - 33) and a new project of Widget of BB.

    A new ext folder appeared and I dragged my JAR/JAD file in this folder.

    Went to the file config.xml by default BB Widget Config Editor and added functionality. Mine appeared in the list, so I double clicked it.

    Everything is fine now. Add the code to my main index.html file to test my extension.

    When press the 'Run' button, my widget has started to compile (and also the extension) and this message keeps appearing (and I can't get rid of it... at least I do not know how and what could happen):

    [INFO]              Compilation of widget
    C:\Users\Andy\AppData\Local\Temp\widgetGen.3461070221272448531372.tmp\blackberry\web\widget\autogen\WidgetConfigAutoGen.Java:27: package rgpackage does not exist
    _widgetExtensions.addElement (rgpackage again. RGPhotoTakerExtension());

    Please help as I cannot move with the development because of this error (weird?).

    Thank you in advance.

    Andy

    Trying to get this to work finally found the problem.

    Anyone for reference:

    During the export of JAR file, the 'resources and Export Java source files' option should be selected instead of "Export generated resources and class files". In my Eclipse, the last of them has been selected by default.

    Unfortunately, the video tutorial is not clear on this point. Anyway, you can see in the video that the correct option is selected, but because it is not mentioned, it can be confusing as it dawned on me.

    But now, everything works as expected. Finally!

    I thank everyone.

    Andy

  • frmcmp cannot compile the modules containing SQL code that connected to the database

    Hello

    I checked several hundred messages of the forum on the net without finding a solution.

    I have a Linux server with 11.1 WebLogics (11 GR 1 material) and FormsRuntime installed.

    I am logged in as root.

    I put all the environment variables based on the values in default.env.

    In addition, I updated TERM and ORACLE_TERM vt220. And TNS_ADMIN to the location of the sqlnet.ora and tnsnames.ora.

    I compiled a simple .pll containing only the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    a: = 1;

    END;

    command:

    frmcmp_batch module = TESTLIBPLAIN.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBPLAIN.plx compile_all = Yes = Yes = No. batch connection

    result: successful compilation. generated .plx.

    now, I'm trying to compile an another .pll containing just the following code:

    IS test PROCEDURE

    an INTEGER: = 0;

    BEGIN

    Select 1 in the doubles.

    END;

    command:

    frmcmp_batch module = TESTLIBSQL.pll userid=myuser/mypassword@mydb module_type = LIBRARY output_file = TESTLIBSQL.plx compile_all = Yes = Yes = No. batch connection

    result: error:

    "

    11 forms (form of the compiler) Version 11.1.1.3.0 (Production)

    Copyright (c) 1982, 2010, Oracle and/or its affiliates.  All rights reserved.

    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

    With partitioning, OLAP and Data Mining options

    PL/SQL Version 11.1.0.7.0 (Production)

    Oracle V11.1.1.3.0 - Production procedure generator

    Oracle virtual graphics system Version 11.1.1.3.0 (Production)

    Oracle Multimedia Version 11.1.1.3.0 (Production)

    Oracle tools integration Version 11.1.1.2.0 (Production)

    Common tools Oracle area Version 11.1.1.3.0

    Oracle CORE Production 11.1.0.7.0

    Compile the library TESTLIB.

    Invalidate the body TEST procedure...

    Compilation of body TEST procedure...

    ERROR on line 5, column 1 0

    Ignored SQL statement

    Library TESTLIB closing...

    Errors on TEST:

    PL/SQL ERROR on line 5, column 1 0

    Ignored SQL statement

    Could not generate the library.

    FRM-30312: unable to compile the library.

    "

    the two libraries differ by having used SQl commands or not.

    I tried to compile some more complex .pll and .fmb containg the SQL code. I get similar error messages. The messages that I receive for each module are the same, I would get when compiling the module with FormBuilder 9i (Windows) without being connected to the database.

    So my first thought was, this frmcmp_batch is unable to connect to the database.

    BUT:

    From frmcmp_batch with an invalid user, password, or database name not existing (resp. not in tnsnames.ora), results in appropriate error messages (not found TNS, refusal to sign etc.).

    With myuser/mypassword@mydb I don' t get this kind of messages.

    sqlplus myuser/mypassword@mydb works.

    myuser can access all objects in the database mydb.

    mydb tnsping works.

    When I check v$ session on mydb while (!) frmcmp_batch is running, I see that it is in fact a db session, created from myuser: DB-User = myuser, terminal = myappsever, osuser = root, remote process = frmcmp_batch.  And State of the current session of the db is ACTIVE.

    As a result, frmcmp_batch fails with error messages that I expect that when there is no connection to the base, if it is connected!

    Any ideas what could be wrong with my setup?

    Help appreciated.

    Jean

    I found the solution. Seems, fmrcmp 11g can connect to, but compiles not on the 9i database. With the help of a Database 11 g resolves the problem :-)

  • Cannot run 64-bit VM on 64-bit host.

    I have a 54 bit OS (Windows 7) crowd, but am unable to run a 64-bit VM. Any suggestions?

    Here are a few attached screens

    You need a CPU of VT - x and the T4200 isn't.  For this purpose, you cannot run x 64 guests

    http://Ark.Intel.com/product.aspx?ID=37251

Maybe you are looking for