Openmoko Bug #2155: opkg-native do_compile failed

Openmoko Public Trac bugs at
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/
 --- libopkg/ (revision 4640)
 +++ libopkg/ (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)
 +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)

  libopkg_include_HEADERS= opkg.h

Ticket URL: <> <>
openmoko trac

More information about the buglog mailing list