Openmoko Bug #2155: opkg-native do_compile failed

Openmoko Public Trac bugs at docs.openmoko.org
Wed Dec 3 15:47:56 CET 2008


#2155: opkg-native do_compile failed
---------------------+------------------------------------------------------
 Reporter:  manitu   |          Owner:  tick                                                                                                        
     Type:  defect   |         Status:  accepted                                                                                                    
 Priority:  high     |      Milestone:                                                                                                              
Component:  opkg     |        Version:                                                                                                              
 Severity:  blocker  |       Keywords:  opkg opkg-native do_compile SUSE11.0 compile error free_error_list opkh_cmd.c opkg_cmd opkg_print_error_list
 Haspatch:  1        |      Blockedby:                                                                                                              
Estimated:           |    Patchreview:                                                                                                              
 Blocking:           |   Reproducible:  always                                                                                                      
---------------------+------------------------------------------------------

Comment(by tick):

 I think gcc 4.3.1 has this kind of issue. It's issues this warning.
 You can turn off the -Werror and I think it will be okay.
 I tried gcc 4.3.2-1 on debian x86_64-linux-gnu, opkg is compiled happily.



 Index: libopkg/Makefile.am
 ===================================================================
 --- libopkg/Makefile.am (revision 4640)
 +++ libopkg/Makefile.am (working copy)
 @@ -1,5 +1,5 @@

 -AM_CFLAGS=-Wall -Werror -DHOST_CPU_STR=\"@host_cpu@\"
 -DBUILD_CPU=@build_cpu@ -DLIBDIR=\"@libdir@\"
 -DOPKGLIBDIR=\"@opkglibdir@\" -DDATADIR=\"@datadir@\" -I$(top_srcdir)
 $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS) $(GPGME_CFLAGS)
 +AM_CFLAGS=-Wall  -DHOST_CPU_STR=\"@host_cpu@\" -DBUILD_CPU=@build_cpu@
 -DLIBDIR=\"@libdir@\" -DOPKGLIBDIR=\"@opkglibdir@\"
 -DDATADIR=\"@datadir@\" -I$(top_srcdir) $(BIGENDIAN_CFLAGS) $(CURL_CFLAGS)
 $(GPGME_CFLAGS)

  libopkg_includedir=$(includedir)/libopkg
  libopkg_include_HEADERS= opkg.h

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2155#comment:5>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list