[oe-commits] [Bug 2114] gpm-1.20.1-r2 build fails for Angstrom

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Sat Jun 19 23:48:26 UTC 2010


http://bugs.openembedded.org/show_bug.cgi?id=2114


Lukas-David Gorris <lukas at htc-linux.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lukas at htc-linux.org




--- Comment #9 from Lukas-David Gorris <lukas at htc-linux.org>  2010-06-19 23:48:26 ---
Hi

I also have a compile problem with the gpm recipe.

NOTE: make
touch src/.depend # to prevent unecessary warnings
make -C src dep
make[1]: Entering directory
`/media/lenny/home/luke-g/build/openembedded/tmp/work/armv7a-oe-linux-gnueabi/gpm-1.20.1-r3/gpm-1.20.1/src'
# make links in srcdir
make[1]: [dep] Error 1 (ignored)
# create dependencies
for DEPS in `echo *.c */*.c`; do \
    arm-oe-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp -I. -I
/media/lenny/home/luke-g/build/openembedded/tmp/work/armv7a-oe-linux-gnueabi/gpm-1.20.1-r3/gpm-1.20.1/src
-M
-I/media/lenny/home/luke-g/build/openembedded/tmp/work/armv7a-oe-linux-gnueabi/gpm-1.20.1-r3/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\""
-DSBINDIR="\"/usr/sbin\""
-isystem/media/lenny/home/luke-g/build/openembedded/tmp/sysroots/armv7a-oe-linux-gnueabi/usr/include
$DEPS | \
    /bin/sed 's/\(\)\.o\([ :]*\)/\1.o \1.lo\2/g'  >> .depend ; done
make[1]: Leaving directory
`/media/lenny/home/luke-g/build/openembedded/tmp/work/armv7a-oe-linux-gnueabi/gpm-1.20.1-r3/gpm-1.20.1/src'
make[1]: Entering directory
`/media/lenny/home/luke-g/build/openembedded/tmp/work/armv7a-oe-linux-gnueabi/gpm-1.20.1-r3/gpm-1.20.1/src'
arm-oe-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon
-mfloat-abi=softfp
-I/media/lenny/home/luke-g/build/openembedded/tmp/work/armv7a-oe-linux-gnueabi/gpm-1.20.1-r3/gpm-1.20.1/src
-DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc\""
-DSBINDIR="\"/usr/sbin\""
-isystem/media/lenny/home/luke-g/build/openembedded/tmp/sysroots/armv7a-oe-linux-gnueabi/usr/include
-isystem/media/lenny/home/luke-g/build/openembedded/tmp/sysroots/armv7a-oe-linux-gnueabi/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-isystem/media/lenny/home/luke-g/build/openembedded/tmp/sysroots/armv7a-oe-linux-gnueabi/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -c -o
gpm.o gpm.c
gpm.c: In function 'getMouseData':
gpm.c:335: warning: pointer targets in initialization differ in signedness
gpm.c:354: warning: pointer targets in return differ in signedness
gpm.c:385: warning: pointer targets in return differ in signedness
gpm.c: In function 'processMouse':
gpm.c:437: warning: pointer targets in passing argument 2 of
'which_mouse->m_type->fun' differ in signedness
gpm.c:437: note: expected 'unsigned char *' but argument is of type 'char *'
gpm.c: In function 'processConn':
gpm.c:813: error: storage size of 'sucred' isn't known
gpm.c:814: error: invalid application of 'sizeof' to incomplete type 'struct
ucred' 
gpm.c:813: warning: unused variable 'sucred'
gpm.c: In function 'old_main':
gpm.c:1077: warning: value computed is not used
make[1]: *** [gpm.o] Error 1
make[1]: Leaving directory
`/media/lenny/home/luke-g/build/openembedded/tmp/work/armv7a-oe-linux-gnueabi/gpm-1.20.1-r3/gpm-1.20.1/src'
make: *** [do-all] Error 1
FATAL: oe_runmake failed

I am using distro minimal and I'm building for machine htcleo (with a patch to
use gcc-4.4.4)

Other build reports for different machines (jornada7xx
http://tinderbox.openembedded.net/packages/394436/ ; omap3-pandorashow
http://tinderbox.openembedded.net/packages/488319/) the exact error 

Somehow this 'sucred' variable seeems undefined. Any pointers on how to solve
this?

Thanks

Lukas

-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-commits mailing list