Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2015 20:40:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204605] net-im/uTox build error use of undeclared identifier 'TRUE'
Message-ID:  <bug-204605-13-WcXdRmiEUH@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-204605-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-204605-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204605

--- Comment #2 from Marco Beishuizen <mbeis@xs4all.nl> ---
===>  Building for uTox-0.4.2.20151107_1
gmake[2]: Entering directory '/usr/ports/net-im/uTox/work/uTox-1316542'
  CC    file_transfers.o
  CC    contextmenu.o
  CC    tox.o
  CC    messages.o
tox.c:772:78: warning: format specifies type 'unsigned int' but the argument
has type 'uint8_t *'
      (aka 'unsigned char *') [-Wformat]
                debug("uTox:\tUnable to accept friend %u, error num = %i\n",
req->id, fid);
                                                      ~~                    
^~~~~~~
                                                      %s
./xlib/main.h:15:27: note: expanded from macro 'debug'
#define debug(...) printf(__VA_ARGS__)
                          ^
  CC    button.o
  CC    ui_i18n.o
  CC    commands.o
  CC    ui_dropdown.o
1 warning generated.
  CC    edit.o
  CC    svg.o
  CC    audio.o
  CC    groups.o
  CC    text.o
  CC    dns.o
  CC    list.o
  CC    ui.o
  CC    dropdown.o
  CC    scrollable.o
  CC    utox_av.o
  CC    main.o
  CC    friend.o
  CC    video.o
In file included from main.c:15:
In file included from ./xlib/main.c:102:
./xlib/freetype.c:189:5: warning: implicit declaration of function
'FT_Library_SetLcdFilter' is
      invalid in C99 [-Wimplicit-function-declaration]
    FT_Library_SetLcdFilter( ftlib, lcd_filter);
    ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:19:18: warning: redefinition of typedef
'__u64' is a C11 feature
      [-Wtypedef-redefinition]
typedef uint64_t __u64;
                 ^
/usr/local/include/linux/videodev2.h:67:18: note: previous definition is here
typedef uint64_t __u64;
                 ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:22:18: warning: redefinition of typedef
'__u32' is a C11 feature
      [-Wtypedef-redefinition]
typedef uint32_t __u32;
                 ^
/usr/local/include/linux/videodev2.h:70:18: note: previous definition is here
typedef uint32_t __u32;
                 ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:25:18: warning: redefinition of typedef
'__u16' is a C11 feature
      [-Wtypedef-redefinition]
typedef uint16_t __u16;
                 ^
/usr/local/include/linux/videodev2.h:73:18: note: previous definition is here
typedef uint16_t __u16;
                 ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:28:17: warning: redefinition of typedef '__u8'
is a C11 feature
      [-Wtypedef-redefinition]
typedef uint8_t __u8;
                ^
/usr/local/include/linux/videodev2.h:76:17: note: previous definition is here
typedef uint8_t __u8;
                ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:32:17: warning: redefinition of typedef
'__s64' is a C11 feature
      [-Wtypedef-redefinition]
typedef int64_t __s64;
                ^
/usr/local/include/linux/videodev2.h:80:17: note: previous definition is here
typedef int64_t __s64;
                ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:35:17: warning: redefinition of typedef
'__s32' is a C11 feature
      [-Wtypedef-redefinition]
typedef int32_t __s32;
                ^
/usr/local/include/linux/videodev2.h:83:17: note: previous definition is here
typedef int32_t __s32;
                ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:38:17: warning: redefinition of typedef
'__s16' is a C11 feature
      [-Wtypedef-redefinition]
typedef int16_t __s16;
                ^
/usr/local/include/linux/videodev2.h:86:17: note: previous definition is here
typedef int16_t __s16;
                ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:41:16: warning: redefinition of typedef '__s8'
is a C11 feature
      [-Wtypedef-redefinition]
typedef int8_t __s8;
               ^
/usr/local/include/linux/videodev2.h:89:16: note: previous definition is here
typedef int8_t __s8;
               ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:263:9: warning: 'KEY_TAB' macro redefined
#define KEY_TAB                 15
        ^
./xlib/main.h:23:9: note: previous definition is here
#define KEY_TAB XK_Tab
        ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:350:9: warning: 'KEY_HOME' macro redefined
#define KEY_HOME                102
        ^
./xlib/main.h:27:9: note: previous definition is here
#define KEY_HOME XK_Home
        ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:351:9: warning: 'KEY_UP' macro redefined
#define KEY_UP                  103
        ^
./xlib/main.h:28:9: note: previous definition is here
#define KEY_UP XK_Up
        ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:352:9: warning: 'KEY_PAGEUP' macro redefined
#define KEY_PAGEUP              104
        ^
./xlib/main.h:30:9: note: previous definition is here
#define KEY_PAGEUP XK_Page_Up
        ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:353:9: warning: 'KEY_LEFT' macro redefined
#define KEY_LEFT                105
        ^
./xlib/main.h:21:9: note: previous definition is here
#define KEY_LEFT XK_Left
        ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:354:9: warning: 'KEY_RIGHT' macro redefined
#define KEY_RIGHT               106
        ^
./xlib/main.h:22:9: note: previous definition is here
#define KEY_RIGHT XK_Right
        ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:355:9: warning: 'KEY_END' macro redefined
#define KEY_END                 107
        ^
./xlib/main.h:26:9: note: previous definition is here
#define KEY_END XK_End
        ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:356:9: warning: 'KEY_DOWN' macro redefined
#define KEY_DOWN                108
        ^
./xlib/main.h:29:9: note: previous definition is here
#define KEY_DOWN XK_Down
        ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:357:9: warning: 'KEY_PAGEDOWN' macro redefined
#define KEY_PAGEDOWN            109
        ^
./xlib/main.h:31:9: note: previous definition is here
#define KEY_PAGEDOWN XK_Page_Down
        ^
In file included from main.c:15:
In file included from ./xlib/main.c:186:
/usr/local/include/linux/input.h:410:9: warning: 'KEY_BACK' macro redefined
#define KEY_BACK                158     /* AC Back */
        ^
./xlib/main.h:19:9: note: previous definition is here
#define KEY_BACK XK_BackSpace
        ^
In file included from main.c:15:
./xlib/main.c:199:35: error: use of undeclared identifier 'TRUE'
        XSynchronize(ptt_display, TRUE);
                                  ^
  CC    theme.o
19 warnings and 1 error generated.
Makefile:109: recipe for target 'main.o' failed
gmake[2]: *** [main.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/usr/ports/net-im/uTox/work/uTox-1316542'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net-im/uTox
*** Error code 1

Stop.
make: stopped in /usr/ports/net-im/uTox

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204605-13-WcXdRmiEUH>