directfb2 / DirectFB2

Core DirectFB library
GNU Lesser General Public License v2.1
132 stars 15 forks source link

Flux error on build #134

Open ubelian opened 11 months ago

ubelian commented 11 months ago

I'm trying to build a library, but I get an error:

[1/137] Generating src/core/CoreDFB with a custom command
FAILED: src/core/CoreDFB.c src/core/CoreDFB.h 
/usr/bin/fluxcomp --call-mode --dispatch-error-abort --identity --include-prefix=core --object-ptrs --static-args-bytes=FLUXED_ARGS_BYTES -c ../DirectFB2/src/core/CoreDFB.flux -o=src/core
(*) Direct/Thread: Started 'SigHandler' (237507) [CRITICAL - OTHER/0] <8388608>...

Flux Compiler Tool (version 1.4.4)

Usage: /usr/bin/fluxcomp [options] <filename>

Options:
   -h, --help                     Show this help message
   -v, --version                  Print version information
   -V, --version-code             Output version code to stdout
   -c, --generate-c               Generate C instead of C++ code
   -i, --identity                 Generate caller identity tracking code
   --object-ptrs                  Return object pointers rather than IDs
   --call-mode                    Use call mode function to determine call mode
   -p=, --include-prefix=         Override standard include prefix for includes
   --static-args-bytes=           Override standard limit (1000) for stack based arguments
   --dispatch-error-abort         Abort execution when object lookups etc fail

Use this cross-tool:

[binaries]
c = 'arm-poky-linux-gnueabi-gcc'
cpp = 'arm-poky-linux-gnueabi-g++'
ar = 'arm-poky-linux-gnueabi-ar'
nm = 'arm-poky-linux-gnueabi-nm'
ld = 'arm-poky-linux-gnueabi-ld'
strip = 'arm-poky-linux-gnueabi-strip'
pkgconfig = '/opt/atocha/1.0.6-rc34/sysroots/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/usr/lib/pkgconfig:/opt/atocha/1.0.6-rc34/sysroots/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi/usr/share/pkgconfig'

[target_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'armv7hf'
endian = 'big'

[properties]
sys_root = '--sysroot=/opt/atocha/1.0.6-rc34/sysroots/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi'
c_args = ['-mthumb', '-mfpu=neon-vfpv4', '-mfloat-abi=hard', '-mcpu=cortex-a5', '-fstack-protector-strong', '-D_FORTIFY_SOURCE=2', '-Wformat', '-Wformat-security', '-Werror=format-security', '--sysroot=/opt/atocha/1.0.6-rc34/sysroots/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi']

c_link_args = ['-Wl,-O1', '-Wl,--hash-style=gnu', '-Wl,--as-needed', '-Wl,-z,relro,-z,now']

cpp_args = ['-mthumb', '-mfpu=neon-vfpv4', '-mfloat-abi=hard', '-mcpu=cortex-a5', '-fstack-protector-strong', '-D_FORTIFY_SOURCE=2', '-Wformat', '-Wformat-security', '-Werror=format-security', '--sysroot=/opt/atocha/1.0.6-rc34/sysroots/cortexa5t2hf-neon-vfpv4-poky-linux-gnueabi']

cpp_link_args = ['-Wl,-O1', '-Wl,--hash-style=gnu', '-Wl,--as-needed', '-Wl,-z,relro,-z,now']

i'm use fluxcomp version 1.4.4

caramelli commented 11 months ago

The latest code available at https://github.com/deniskropp/flux should be used (see https://github.com/directfb2/DirectFB2/issues/9).

ubelian commented 10 months ago

The latest code available at https://github.com/deniskropp/flux should be used (see #9).

Hi! I use latest version of fluxcomp(1.4.4)

caramelli commented 10 months ago

fluxcomp 1.4.4 was released on April 15, 2013. The commit https://github.com/deniskropp/flux/commit/0bc93b20a61a67305447cbaa2a67cdff262fb994 pushed on July 19, 2013 is required.