https://bugs.linaro.org/show_bug.cgi?id=1441

            Bug ID: 1441
           Summary: ./configure CFLAGS=-DIPSEC_POLL_QUEUES  does not
                    compile
           Product: OpenDataPlane
           Version: 1.0.2
          Hardware: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Examples
          Assignee: [email protected]
          Reporter: [email protected]

./configure CFLAGS=-DIPSEC_POLL_QUEUES 
make

make[2]: Entering directory '/home/mike/git/odp/example/ipsec'
  CC       odp_ipsec-odp_ipsec.o
odp_ipsec.c: In function ‘polled_odp_queue_create’:
odp_ipsec.c:249:3: error: format ‘%d’ expects argument of type ‘int’, 
but
argument 3 has type ‘odp_queue_t’ [-Werror=format=]
   printf("%s: adding %d\n", __func__, my_queue);
   ^
odp_ipsec.c: In function ‘polled_odp_schedule’:
odp_ipsec.c:274:8: error: assignment from incompatible pointer type [-Werror]
    buf = odp_queue_deq(queue);
        ^
odp_ipsec.c:289:4: error: implicit declaration of function
‘odp_time_get_cycles’ [-Werror=implicit-function-declaration]
    start_cycle = odp_time_get_cycles();
    ^
odp_ipsec.c:289:4: error: nested extern declaration of ‘odp_time_get_cycles’
[-Werror=nested-externs]
odp_ipsec.c: In function ‘pktio_thread’:
odp_ipsec.c:1011:6: error: assignment from incompatible pointer type [-Werror]
   ev = SCHEDULE(&dispatchq, ODP_SCHED_WAIT);
      ^
cc1: all warnings being treated as errors
Makefile:563: recipe for target 'odp_ipsec-odp_ipsec.o' failed

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to