* [Buildroot] Make error
@ 2007-08-23 19:16 Terry Bolinger
0 siblings, 0 replies; 13+ messages in thread
From: Terry Bolinger @ 2007-08-23 19:16 UTC (permalink / raw)
To: buildroot
We are attempting to run Buildroot and create an image for an Atmel 9263-EK
development board. As we run buildroot, we have run into several errors,
and have been able to work past them. However, we are now running into this
error and so far, we've been unable to determine what our problem is. Here
is the text of the error. Notice that it does not like garray.o - could not
read symbols: File in wrong format.
echo "{ global:" > .libs/libglib-2.0.ver
cat .libs/libglib-2.0.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libglib-2.0.ver
echo "local: *; };" >> .libs/libglib-2.0.ver
g77 -shared .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o
.libs/gbacktrace.o .libs/gbase64.o .libs/gbookmarkfile.o .libs/gcache.o
.libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o
.libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o
.libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o
.libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o
.libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gprimes.o
.libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gscanner.o
.libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o
.libs/gstrfuncs.o .libs/gstring.o .libs/gthread.o .libs/gthreadpool.o
.libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o
.libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/gutils.o
.libs/gprintf.o .libs/giounix.o .libs/gspawn.o -Wl,--whole-archive
libcharset/.libs/libcharset.a gnulib/.libs/libgnulib.a
-Wl,--no-whole-archive -lintl -Wl,-soname -Wl,libglib-2.0.so.0
-Wl,-version-script -Wl,.libs/libglib-2.0.ver -o
.libs/libglib-2.0.so.0.1200.9
/usr/bin/ld: .libs/garray.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: .libs/garray.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: .libs/garray.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: .libs/garray.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: .libs/garray.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: .libs/garray.o: Relocations in generic ELF (EM: 40)
.libs/garray.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[5]: *** [libglib-2.0.la] Error 1
make[5]: Leaving directory
`/home/terry/Desktop/buildroot/build_arm/glib-2.12.9/glib'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/terry/Desktop/buildroot/build_arm/glib-2.12.9/glib'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/terry/Desktop/buildroot/build_arm/glib-2.12.9/glib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/terry/Desktop/buildroot/build_arm/glib-2.12.9'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/terry/Desktop/buildroot/build_arm/glib-2.12.9'
make: ***
[/home/terry/Desktop/buildroot/build_arm/glib-2.12.9/glib/.libs/libglib-2.0.
a] Error 2
We've searched through the mailing list archives and have not found what we
think is a match to this error. We are very new to embedded development, so
we're struggling through this. I've attached our config file, in case it
might be helpful. Many of the configuration options we didn't understand,
so we just left them as the defaults. Our development PC is running Ubuntu
7.04.
Any assistance would be greatly appreciated.
Terry Bolinger
Web Mountain Technologies
www.webmtn.com
tbolinger at webmtn.com
303-627-1856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20070823/2730b85e/attachment-0001.htm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.txt
Url: http://busybox.net/lists/buildroot/attachments/20070823/2730b85e/attachment-0001.txt
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Make error
@ 2008-08-31 0:50 Steven Woody
2008-08-31 1:59 ` Steven Woody
2008-08-31 6:23 ` Peter Korsgaard
0 siblings, 2 replies; 13+ messages in thread
From: Steven Woody @ 2008-08-31 0:50 UTC (permalink / raw)
To: buildroot
Following were outputed when run 'make', but I don't know what step it
is related to:
table='target/generic/mini_device_table.txt'
makedevs: line 53: regular file '/home/narke/buildroot/project_build_arm/uclibc/
root/usr/share/udhcpc/default.script' does not exist: No such file or directory
-rw-r--r-- 1 narke users 10530816 2008-08-31 08:47 /home/narke/buildroot/binarie
s/uclibc/rootfs.arm.ext2
rm -f /home/narke/buildroot/project_build_arm/uclibc/.fakeroot*
Do you know what's wrong with the making?
Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Make error
2008-08-31 0:50 Steven Woody
@ 2008-08-31 1:59 ` Steven Woody
2008-08-31 6:23 ` Peter Korsgaard
1 sibling, 0 replies; 13+ messages in thread
From: Steven Woody @ 2008-08-31 1:59 UTC (permalink / raw)
To: buildroot
On Sun, Aug 31, 2008 at 8:50 AM, Steven Woody <narkewoody@gmail.com> wrote:
> Following were outputed when run 'make', but I don't know what step it
> is related to:
>
> table='target/generic/mini_device_table.txt'
> makedevs: line 53: regular file '/home/narke/buildroot/project_build_arm/uclibc/
> root/usr/share/udhcpc/default.script' does not exist: No such file or directory
> -rw-r--r-- 1 narke users 10530816 2008-08-31 08:47 /home/narke/buildroot/binarie
> s/uclibc/rootfs.arm.ext2
> rm -f /home/narke/buildroot/project_build_arm/uclibc/.fakeroot*
>
>
> Do you know what's wrong with the making?
>
> Thanks.
>
I now attach my .config for your reference.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _config
Type: application/octet-stream
Size: 15661 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080831/e7257b97/attachment.obj
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Make error
2008-08-31 0:50 Steven Woody
2008-08-31 1:59 ` Steven Woody
@ 2008-08-31 6:23 ` Peter Korsgaard
2008-08-31 7:34 ` Steven Woody
1 sibling, 1 reply; 13+ messages in thread
From: Peter Korsgaard @ 2008-08-31 6:23 UTC (permalink / raw)
To: buildroot
>>>>> "Steven" == Steven Woody <narkewoody@gmail.com> writes:
Steven> Following were outputed when run 'make', but I don't know
Steven> what step it is related to:
Steven> table='target/generic/mini_device_table.txt' makedevs: line
Steven> 53: regular file
Steven> '/home/narke/buildroot/project_build_arm/uclibc/
Steven> root/usr/share/udhcpc/default.script' does not exist: No such
Steven> file or directory
Not a big deal. The mini config you have selected
(BR2_PACKAGE_BUSYBOX_SKELETON) has the udhcpc script listed in its
device table to ensure it gets to be executable, but doesn't have a
default script. If you don't enable avahi (which provides such a
script) you'll get this warning.
The avahi package nowadays ensures that it's udhcpc script gets to be
executable, so I'll remove the entry from the device table.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Make error
2008-08-31 6:23 ` Peter Korsgaard
@ 2008-08-31 7:34 ` Steven Woody
2008-08-31 9:13 ` Steven Woody
0 siblings, 1 reply; 13+ messages in thread
From: Steven Woody @ 2008-08-31 7:34 UTC (permalink / raw)
To: buildroot
On Sun, Aug 31, 2008 at 2:23 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Steven" == Steven Woody <narkewoody@gmail.com> writes:
>
> Steven> Following were outputed when run 'make', but I don't know
> Steven> what step it is related to:
>
> Steven> table='target/generic/mini_device_table.txt' makedevs: line
> Steven> 53: regular file
> Steven> '/home/narke/buildroot/project_build_arm/uclibc/
> Steven> root/usr/share/udhcpc/default.script' does not exist: No such
> Steven> file or directory
>
> Not a big deal. The mini config you have selected
> (BR2_PACKAGE_BUSYBOX_SKELETON) has the udhcpc script listed in its
> device table to ensure it gets to be executable, but doesn't have a
> default script. If you don't enable avahi (which provides such a
> script) you'll get this warning.
>
> The avahi package nowadays ensures that it's udhcpc script gets to be
> executable, so I'll remove the entry from the device table.
So much thanks!
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Make error
2008-08-31 7:34 ` Steven Woody
@ 2008-08-31 9:13 ` Steven Woody
2008-09-02 13:29 ` Peter Korsgaard
0 siblings, 1 reply; 13+ messages in thread
From: Steven Woody @ 2008-08-31 9:13 UTC (permalink / raw)
To: buildroot
On Sun, Aug 31, 2008 at 3:34 PM, Steven Woody <narkewoody@gmail.com> wrote:
> On Sun, Aug 31, 2008 at 2:23 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>>> "Steven" == Steven Woody <narkewoody@gmail.com> writes:
>>
>> Steven> Following were outputed when run 'make', but I don't know
>> Steven> what step it is related to:
>>
>> Steven> table='target/generic/mini_device_table.txt' makedevs: line
>> Steven> 53: regular file
>> Steven> '/home/narke/buildroot/project_build_arm/uclibc/
>> Steven> root/usr/share/udhcpc/default.script' does not exist: No such
>> Steven> file or directory
>>
>> Not a big deal. The mini config you have selected
>> (BR2_PACKAGE_BUSYBOX_SKELETON) has the udhcpc script listed in its
>> device table to ensure it gets to be executable, but doesn't have a
>> default script. If you don't enable avahi (which provides such a
>> script) you'll get this warning.
>>
>> The avahi package nowadays ensures that it's udhcpc script gets to be
>> executable, so I'll remove the entry from the device table.
>
> So much thanks!
>
Wait a moment ...! After I turned on the 'avahi' in networking
section and run make, I got the following error instead:
Making all in avahi-common
make[3]: Entering directory
`/home/woody/buildroot/build_arm/avahi-0.6.22/avahi-common'
/bin/sh ../libtool --tag=CC --mode=link
/home/woody/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc
-Os -I/home/woody/buildroot/build_arm/staging_dir/usr/include
-I/home/woody/buildroot/build_arm/staging_dir/include
--sysroot=/home/woody/buildroot/build_arm/staging_dir/ -isysroot
/home/woody/buildroot/build_arm/staging_dir -mtune=arm920t -I..
'-DDEBUG_TRAP=__asm__("int $3")' -g -O2 -std=c99 -Wall -W -Wextra
-pedantic -pipe -Wformat -Wold-style-definition
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations
-Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls
-Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline
-fPIC -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -o libavahi-common.la
-rpath /usr/lib -export-dynamic -version-info 8:0:5
libavahi_common_la-malloc.lo libavahi_common_la-address.lo
libavahi_common_la-alternative.lo libavahi_common_la-error.lo
libavahi_common_la-strlst.lo libavahi_common_la-domain.lo
libavahi_common_la-timeval.lo libavahi_common_la-simple-watch.lo
libavahi_common_la-thread-watch.lo libavahi_common_la-rlist.lo
libavahi_common_la-utf8.lo libavahi_common_la-i18n.lo -pthread
-lintl
/home/woody/buildroot/build_arm/staging_dir/usr/bin/arm-linux-uclibc-gcc
-Os -I/home/woody/buildroot/build_arm/staging_dir/usr/include
-I/home/woody/buildroot/build_arm/staging_dir/include
--sysroot=/home/woody/buildroot/build_arm/staging_dir/ -isysroot
/home/woody/buildroot/build_arm/staging_dir -mtune=arm920t -shared
.libs/libavahi_common_la-malloc.o .libs/libavahi_common_la-address.o
.libs/libavahi_common_la-alternative.o
.libs/libavahi_common_la-error.o .libs/libavahi_common_la-strlst.o
.libs/libavahi_common_la-domain.o .libs/libavahi_common_la-timeval.o
.libs/libavahi_common_la-simple-watch.o
.libs/libavahi_common_la-thread-watch.o
.libs/libavahi_common_la-rlist.o .libs/libavahi_common_la-utf8.o
.libs/libavahi_common_la-i18n.o -lintl -mtune=arm920t -pthread
-Wl,-soname -Wl,libavahi-common.so.3 -o .libs/libavahi-common.so.3.5.0
/home/woody/buildroot/build_arm/staging_dir/usr/bin-ccache/../lib/gcc/arm-linux-uclibc/4.2.4/../../../../arm-linux-uclibc/bin/ld:
cannot find -lintl
collect2: ld returned 1 exit status
make[3]: *** [libavahi-common.la] Error 1
What do I do? Thanks.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Make error
2008-08-31 9:13 ` Steven Woody
@ 2008-09-02 13:29 ` Peter Korsgaard
2008-09-02 15:03 ` Steven Woody
0 siblings, 1 reply; 13+ messages in thread
From: Peter Korsgaard @ 2008-09-02 13:29 UTC (permalink / raw)
To: buildroot
>>>>> "Steven" == Steven Woody <narkewoody@gmail.com> writes:
Hi,
Steven> Wait a moment ...! After I turned on the 'avahi' in networking
Steven> section and run make, I got the following error instead:
Steven> cannot find -lintl
Steven> collect2: ld returned 1 exit status
Steven> make[3]: *** [libavahi-common.la] Error 1
Steven> What do I do? Thanks.
Strange. Avahi should depend (and select) libintl if you use a
toolchain with locales enabled. Could you post your config please?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Make error
2008-09-02 13:29 ` Peter Korsgaard
@ 2008-09-02 15:03 ` Steven Woody
0 siblings, 0 replies; 13+ messages in thread
From: Steven Woody @ 2008-09-02 15:03 UTC (permalink / raw)
To: buildroot
On Tue, Sep 2, 2008 at 9:29 PM, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Steven" == Steven Woody <narkewoody@gmail.com> writes:
>
> Hi,
>
> Steven> Wait a moment ...! After I turned on the 'avahi' in networking
> Steven> section and run make, I got the following error instead:
>
> Steven> cannot find -lintl
> Steven> collect2: ld returned 1 exit status
> Steven> make[3]: *** [libavahi-common.la] Error 1
>
> Steven> What do I do? Thanks.
>
> Strange. Avahi should depend (and select) libintl if you use a
> toolchain with locales enabled. Could you post your config please?
>
Thans Peter. The problem has gone many days befoer after I rebuilt
from a fresh new buildroot untar-ed from the same tarball and copied
the old .config as well as the 'dl' directory. So I guess its the
'make' process which mess something up.
I have related question: some times, I want to rebuid a new rootfs
directory tree (project_arm_build/uClibc/root), so I go to remove the
whole .../root directory as well as the .root file followed by re-run
'make', but I always get an error (I forgot the detail, but can
remember it's because the re-created .../root/ tree doesn't get a
usr/lib directory, and some thing need to be copied there, so the
error pops up). My question is: How can I forece to rebuid the whole
project_arm_build/uClibc/root tree? Thanks.
-
narke
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Make error
@ 2009-01-14 23:17 Jerry Zhang
2009-01-14 23:27 ` Jerry Zhang
0 siblings, 1 reply; 13+ messages in thread
From: Jerry Zhang @ 2009-01-14 23:17 UTC (permalink / raw)
To: buildroot
Hello,buildroot world!
I am using buildroot refer to
http://buildroot.uclibc.org/buildroot.html#using.
I issued "make menuconfig" and then "make", some error pops out:
..............................................................................................................................................................
package/multimedia/gstreamer/gstreamer.mk:27: *** commands commence before
first target. Stop.
..................................................................................................................................................................
I am not able to solve it. What is wrong?
Thanks
Jerry.Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/buildroot/attachments/20090115/99a0d37d/attachment.htm
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Make error
2009-01-14 23:17 [Buildroot] Make error Jerry Zhang
@ 2009-01-14 23:27 ` Jerry Zhang
0 siblings, 0 replies; 13+ messages in thread
From: Jerry Zhang @ 2009-01-14 23:27 UTC (permalink / raw)
To: buildroot
I checked the Top directory and found there is no .config file.
I answered yes every time when i exit. It seems that it can not creat a
.config file for me.
What should i do?
2009/1/15 Jerry Zhang <jerry.scofield@gmail.com>
> Hello,buildroot world!
>
> I am using buildroot refer to
> http://buildroot.uclibc.org/buildroot.html#using.
>
> I issued "make menuconfig" and then "make", some error pops out:
>
> ..............................................................................................................................................................
> package/multimedia/gstreamer/gstreamer.mk:27: *** commands commence before
> first target. Stop.
>
> ..................................................................................................................................................................
> I am not able to solve it. What is wrong?
>
> Thanks
>
> Jerry.Zhang
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/buildroot/attachments/20090115/92576eb1/attachment.htm
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] Make Error
@ 2009-08-18 8:54 suhas dumbhare
0 siblings, 0 replies; 13+ messages in thread
From: suhas dumbhare @ 2009-08-18 8:54 UTC (permalink / raw)
To: buildroot
Hello,
sudhir>To Everyone
sudhir>Host:ubuntu8.10
suhdir>I was trying to Make after
sudhir>Succesfully configuration
sudhir>But it pops out following error
sudhir> bison installed:??? ??? ??? FALSE
sudhir>You must install 'bison' on your build machine
sudhir>make: *** [dependencies] Error 1
sudhir>Checking build system dependencies:
BUILDROOT_DL_DIR clean:??? ??? ??? ??? Ok
CC clean:??? ??? ??? ??? ??? Ok
CXX clean:??? ??? ??? ??? ??? Ok
CPP clean:??? ??? ??? ??? ??? Ok
CFLAGS clean:??? ??? ??? ??? ??? Ok
INCLUDES clean:??? ??? ??? ??? ??? Ok
CXXFLAGS clean:??? ??? ??? ??? ??? Ok
which installed:??? ??? ??? ??? Ok
sed works:??? ??? ??? ??? ??? Ok (/bin/sed)
GNU make version '3.81':??? ??? ??? Ok
C compiler '/usr/bin/gcc'
C compiler version '4.3.2':??? ??? ??? Ok
C++ compiler '/usr/bin/g++'
C++ compiler version '4.3.2':??? ??? ??? Ok
awk installed:??? ??? ??? ??? ??? Ok
bash installed:??? ??? ??? ??? ??? Ok
bison installed:??? ??? ??? FALSE
You must install 'bison' on your build machine
make: *** [dependencies] Error 1
Looking forward to your help~~
Thanks a lot.
Sudhir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090818/23335c3d/attachment.htm>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] make Error
@ 2017-06-01 18:06 Saurabh Mishra
2017-06-02 7:49 ` Thomas Petazzoni
0 siblings, 1 reply; 13+ messages in thread
From: Saurabh Mishra @ 2017-06-01 18:06 UTC (permalink / raw)
To: buildroot
Hi ,
I'm trying to build (*build root-2015.05-rc2) *but when I'm running make
command its giving error in* /config/host-linux.c:215:43: error:
'SSIZE_MAX' was not declared in this scope* , i tried to pass hardcoded
integer value instead of SSIZE_MAX but that is also not working , your help
would be appreciated.
--
*Thanks & Regards,*
*Saurabh Mishra.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170601/6c1e8d5a/attachment.html>
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Buildroot] make Error
2017-06-01 18:06 [Buildroot] make Error Saurabh Mishra
@ 2017-06-02 7:49 ` Thomas Petazzoni
0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2017-06-02 7:49 UTC (permalink / raw)
To: buildroot
Hello,
First of all, thanks for your bug report.
On Thu, 1 Jun 2017 23:36:25 +0530, Saurabh Mishra wrote:
> I'm trying to build (*build root-2015.05-rc2) *but when I'm running make
> command its giving error in* /config/host-linux.c:215:43: error:
> 'SSIZE_MAX' was not declared in this scope* , i tried to pass hardcoded
> integer value instead of SSIZE_MAX but that is also not working , your help
> would be appreciated.
The information provided in your e-mail is not sufficient to help you.
We need to have:
- The last ~100 lines of the build output
- The full Buildroot .config file
Also, make sure this error is reproducible after doing a full rebuild
(i.e "make clean all"). Please read
http://nightly.buildroot.org/manual.html#full-rebuild.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2017-06-02 7:49 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-01 18:06 [Buildroot] make Error Saurabh Mishra
2017-06-02 7:49 ` Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2009-08-18 8:54 [Buildroot] Make Error suhas dumbhare
2009-01-14 23:17 [Buildroot] Make error Jerry Zhang
2009-01-14 23:27 ` Jerry Zhang
2008-08-31 0:50 Steven Woody
2008-08-31 1:59 ` Steven Woody
2008-08-31 6:23 ` Peter Korsgaard
2008-08-31 7:34 ` Steven Woody
2008-08-31 9:13 ` Steven Woody
2008-09-02 13:29 ` Peter Korsgaard
2008-09-02 15:03 ` Steven Woody
2007-08-23 19:16 Terry Bolinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox