directfb fails to build from source with Linaro toolchain

Bug #604873 reported by Michael Hope
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro GCC
Incomplete
Undecided
Unassigned

Bug Description

Seen with gcc 4.4.4-6ubuntu5~ppa2 and directfb 1.2.10.0-4ubuntu1.

I suspect this is a generic ARM issue. The error is a missing prototype when compiling the ARM specific Davinci driver.

http://launchpadlibrarian.net/51597608/buildlog_ubuntu-maverick-armel.directfb_1.2.10.0-4ubuntu1_FAILEDTOBUILD.txt.gz

/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../gfxdrivers/davinci -I../.. -I../../include -I../../../include -I../../lib -I../../../lib -I../../../src -I../../../systems -I../../../gfxdrivers/davinci/kernel-module/include -D_REENTRANT -g -O2 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT davinci_c64x.lo -MD -MP -MF .deps/davinci_c64x.Tpo -c -o davinci_c64x.lo ../../../gfxdrivers/davinci/davinci_c64x.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../gfxdrivers/davinci -I../.. -I../../include -I../../../include -I../../lib -I../../../lib -I../../../src -I../../../systems -I../../../gfxdrivers/davinci/kernel-module/include -D_REENTRANT -g -O2 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -MT davinci_c64x.lo -MD -MP -MF .deps/davinci_c64x.Tpo -c ../../../gfxdrivers/davinci/davinci_c64x.c -fPIC -DPIC -o .libs/davinci_c64x.o
../../../gfxdrivers/davinci/davinci_c64x.c: In function 'davinci_c64x_open':
../../../gfxdrivers/davinci/davinci_c64x.c:1900: error: implicit declaration of function 'mknod'
make[5]: *** [davinci_c64x.lo] Error 1

Revision history for this message
Yao Qi (yao-codesourcery) wrote :

I can build *.deb packages by gcc 4.4.4-7ubuntu1~ppa2 and directfb-bin_1.2.10.0-4ubuntu2 *without* any errors on ARMEL beagle board. Let me know if error is still there.

# gcc --version
gcc (Ubuntu 4.4.4-7ubuntu1~ppa2) 4.4.4 20100712 (Linaro) [release 2010.07-0]
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# ls ../
directfb-1.2.10.0 libdirectfb-bin_1.2.10.0-4ubuntu2_armel.deb
directfb_1.2.10.0-4ubuntu2.debian.tar.gz libdirectfb-dev_1.2.10.0-4ubuntu2_armel.deb
directfb_1.2.10.0-4ubuntu2.dsc libdirectfb-extra-dbg_1.2.10.0-4ubuntu2_armel.deb
directfb_1.2.10.0-4ubuntu2_armel.changes libdirectfb-extra_1.2.10.0-4ubuntu2_armel.deb

Loïc Minier (lool)
Changed in gcc-linaro:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.