Ticket #720 (closed defect: fixed)
libmokogsmd fails to compile, missing file 'common/linux_list.h'
| Reported by: | planet@… | Owned by: | laforge@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | libgsmd | Version: | 2007.2 |
| Severity: | normal | Keywords: | |
| Cc: | buglog@… | Blocked By: | |
| Blocking: | Estimated Completion (week): | ||
| HasPatchForReview: | PatchReviewResult: | ||
| Reproducible: |
Description
I have built OM2007.2 successfully before, did a database update on 2007-08-19
around 6pm (-5 GMT).
libmokogsmd2-0.1.0+svn20070819-r1 failed to compile, here is the output
NOTE: make -j 4
make all-recursive
make[1]: Entering directory
`/home/jason/openmoko/tmp/work/armv4t-angstrom-linux-gnueabi/libmokogsmd2-0.1.0+svn20070819-r1/libmokogsmd2'
Making all in libmokogsmd
make[2]: Entering directory
`/home/jason/openmoko/tmp/work/armv4t-angstrom-linux-gnueabi/libmokogsmd2-0.1.0+svn20070819-r1/libmokogsmd2/libmokogsmd'
glib-genmarshal --prefix=moko_gsmd_marshal ./moko-gsmd-marshal.list --header
moko-gsmd-marshal.h \
&& echo timestamp >stamp-moko-gsmd-marshal.h
glib-genmarshal --prefix=moko_gsmd_marshal ./moko-gsmd-marshal.list --header
--body >moko-gsmd-marshal.c \
&& echo timestamp >stamp-moko-gsmd-marshal.c
if /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CC --mode=compile ccache
arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DHAVE_CONFIG_H -I.
-I. -I..
-isystem/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include
-Wall -pedantic -std=c99
-isystem/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/lib/../include
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include/glib-2.0
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/lib/glib-2.0/include
-MT moko-gsmd-connection.lo -MD -MP -MF ".deps/moko-gsmd-connection.Tpo" -c -o
moko-gsmd-connection.lo moko-gsmd-connection.c; \
then mv -f ".deps/moko-gsmd-connection.Tpo" ".deps/moko-gsmd-connection.Plo";
else rm -f ".deps/moko-gsmd-connection.Tpo"; exit 1; fi
if /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CC --mode=compile ccache
arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DHAVE_CONFIG_H -I.
-I. -I..
-isystem/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include
-Wall -pedantic -std=c99
-isystem/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/lib/../include
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include/glib-2.0
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/lib/glib-2.0/include
-MT moko-gsmd-marshal.lo -MD -MP -MF ".deps/moko-gsmd-marshal.Tpo" -c -o
moko-gsmd-marshal.lo moko-gsmd-marshal.c; \
then mv -f ".deps/moko-gsmd-marshal.Tpo" ".deps/moko-gsmd-marshal.Plo"; else rm
-f ".deps/moko-gsmd-marshal.Tpo"; exit 1; fi
mkdir .libs
ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
-DHAVE_CONFIG_H -I. -I. -I..
-isystem/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include
-Wall -pedantic -std=c99
-isystem/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/lib/../include
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include/glib-2.0
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/lib/glib-2.0/include
-MT moko-gsmd-connection.lo -MD -MP -MF .deps/moko-gsmd-connection.Tpo -c
moko-gsmd-connection.c -fPIC -DPIC -o .libs/moko-gsmd-connection.o
In file included from
/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include/libgsmd/libgsmd.h:12,
from moko-gsmd-connection.c:21:
/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include/gsmd/usock.h:5:31:
error: common/linux_list.h: No such file or directory
In file included from
/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include/libgsmd/libgsmd.h:12,
from moko-gsmd-connection.c:21:
/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include/gsmd/usock.h:429:
error: field 'list' has incomplete type
/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include/gsmd/usock.h:477:
error: field 'list' has incomplete type
moko-gsmd-connection.c:99:27: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c:115:28: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c:239:55: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c:246:53: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c:258:56: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c:385:45: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c: In function 'moko_gsmd_connection_init':
moko-gsmd-connection.c:438: warning: implicit declaration of function
'lgsm_evt_handler_register'
moko-gsmd-connection.c: In function 'moko_gsmd_connection_send_pin':
moko-gsmd-connection.c:478: warning: implicit declaration of function 'lgsm_pin'
moko-gsmd-connection.c: In function
'moko_gsmd_connection_trigger_signal_strength_event':
moko-gsmd-connection.c:565: warning: implicit declaration of function
'lgsm_signal_quality'
make[2]: * [moko-gsmd-connection.lo] Error 1
make[2]: * Waiting for unfinished jobs....
ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
-DHAVE_CONFIG_H -I. -I. -I..
-isystem/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include
-Wall -pedantic -std=c99
-isystem/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/lib/../include
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include/glib-2.0
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/lib/glib-2.0/include
-MT moko-gsmd-marshal.lo -MD -MP -MF .deps/moko-gsmd-marshal.Tpo -c
moko-gsmd-marshal.c -fPIC -DPIC -o .libs/moko-gsmd-marshal.o
moko-gsmd-marshal.c: In function 'moko_gsmd_marshal_VOIDINT_INT_INT':
moko-gsmd-marshal.c:90: warning: ISO C forbids conversion of object pointer to
function pointer type
ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
-DHAVE_CONFIG_H -I. -I. -I..
-isystem/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include
-Wall -pedantic -std=c99
-isystem/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/lib/../include
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/include/glib-2.0
-I/home/jason/openmoko/tmp/staging/arm-angstrom-linux-gnueabi/lib/glib-2.0/include
-MT moko-gsmd-marshal.lo -MD -MP -MF .deps/moko-gsmd-marshal.Tpo -c
moko-gsmd-marshal.c -o moko-gsmd-marshal.o >/dev/null 2>&1
make[2]: Leaving directory
`/home/jason/openmoko/tmp/work/armv4t-angstrom-linux-gnueabi/libmokogsmd2-0.1.0+svn20070819-r1/libmokogsmd2/libmokogsmd'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory
`/home/jason/openmoko/tmp/work/armv4t-angstrom-linux-gnueabi/libmokogsmd2-0.1.0+svn20070819-r1/libmokogsmd2'
make: * [all] Error 2
FATAL: oe_runmake failed
Attachments
Change History
comment:2 Changed 6 years ago by moko@…
Happening to me too. No custom make settings beyond what's listed on the 2007.2
wiki notes plus a few kernel compile flag tweaks (enable in-kernel SD card
support...)
NOTE: make
make all-recursive
make[1]: Entering directory
`/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/work/armv4t-angstrom-linux-gnueabi/libmokogsmd2-0.1.0+svn200708
20-r1/libmokogsmd2'
Making all in libmokogsmd
make[2]: Entering directory
`/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/work/armv4t-angstrom-linux-gnueabi/libmokogsmd2-0.1.0+svn200708
20-r1/libmokogsmd2/libmokogsmd'
glib-genmarshal --prefix=moko_gsmd_marshal ./moko-gsmd-marshal.list --header
moko-gsmd-marshal.h \
&& echo timestamp >stamp-moko-gsmd-marshal.h
glib-genmarshal --prefix=moko_gsmd_marshal ./moko-gsmd-marshal.list --header
--body >moko-gsmd-marshal.c \
&& echo timestamp >stamp-moko-gsmd-marshal.c
if /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CC --mode=compile ccache
arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t -DHAVE_C
ONFIG_H -I. -I. -I..
-isystem/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/include
-Wall -pedantic -s
td=c99
-isystem/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/include
-fexpensive-optimizations -fomit-f
rame-pointer -frename-registers -Os
-I/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/lib/../include
-I/h
ome/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/include/glib-2.0
-I/home/andrew/projects/nextmoko/org.opene
mbedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/lib/glib-2.0/include -MT
moko-gsmd-connection.lo -MD -MP -MF ".deps/moko-gsmd-connection.Tpo" -
c -o moko-gsmd-connection.lo moko-gsmd-connection.c; \
then mv -f ".deps/moko-gsmd-connection.Tpo"
".deps/moko-gsmd-connection.Plo"; else rm -f ".deps/moko-gsmd-connection.Tpo";
exit 1; fi
mkdir .libs
ccache arm-angstrom-linux-gnueabi-gcc -march=armv4t -mtune=arm920t
-DHAVE_CONFIG_H -I. -I. -I.. -isystem/home/andrew/projects/nextmoko/org.openembe
dded.dev/tmp/staging/arm-angstrom-linux-gnueabi/include -Wall -pedantic -std=c99
-isystem/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/sta
ging/arm-angstrom-linux-gnueabi/include -fexpensive-optimizations
-fomit-frame-pointer -frename-registers -Os -I/home/andrew/projects/nextmoko/org.o
penembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/lib/../include
-I/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom
-linux-gnueabi/include/glib-2.0
-I/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/lib/glib-2.0/include
-M
T moko-gsmd-connection.lo -MD -MP -MF .deps/moko-gsmd-connection.Tpo -c
moko-gsmd-connection.c -fPIC -DPIC -o .libs/moko-gsmd-connection.o
In file included from
/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/include/libgsmd/libgsmd.h:12,
from moko-gsmd-connection.c:21:
/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/include/gsmd/usock.h:5:31:
error: common/linux_list.h: No
such file or directory
In file included from
/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/include/libgsmd/libgsmd.h:12,
from moko-gsmd-connection.c:21:
/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/include/gsmd/usock.h:429:
error: field 'list' has incompl
ete type
/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/staging/arm-angstrom-linux-gnueabi/include/gsmd/usock.h:477:
error: field 'list' has incompl
ete type
moko-gsmd-connection.c:99:27: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c:115:28: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c:239:55: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c:246:53: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c:258:56: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c:385:45: warning: ISO C99 requires rest arguments to be used
moko-gsmd-connection.c: In function 'moko_gsmd_connection_init':
moko-gsmd-connection.c:438: warning: implicit declaration of function
'lgsm_evt_handler_register'
moko-gsmd-connection.c: In function 'moko_gsmd_connection_send_pin':
moko-gsmd-connection.c:478: warning: implicit declaration of function 'lgsm_pin'
moko-gsmd-connection.c: In function
'moko_gsmd_connection_trigger_signal_strength_event':
moko-gsmd-connection.c:565: warning: implicit declaration of function
'lgsm_signal_quality'
make[2]: * [moko-gsmd-connection.lo] Error 1
make[2]: Leaving directory
`/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/work/armv4t-angstrom-linux-gnueabi/libmokogsmd2-0.1.0+svn2007082
0-r1/libmokogsmd2/libmokogsmd'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory
`/home/andrew/projects/nextmoko/org.openembedded.dev/tmp/work/armv4t-angstrom-linux-gnueabi/libmokogsmd2-0.1.0+svn2007082
0-r1/libmokogsmd2'
make: * [all] Error 2
FATAL: oe_runmake failed
comment:3 Changed 6 years ago by planet@…
Yes, I am using those settings to take advantage of my dual core. Could that be
the source of the problem? A dependency not being finished in the correct order
due to having 4 build threads?
As a side note I am running Fedora Core 6, which shouldn't be the problem since
I have successfully built om2007 and om2007.2 a few times without a hitch.
Let me know if any other info could help determine the solution.

Do you have somekind of parallel build enabled? Like:
PARALLEL_MAKE = "-j 4"
BB_NUMBER_THREADS = "4"
Your log indicates at least -j 4 for make.