BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005374 [buildroot] Architecture Specific block always 10-13-08 03:24 10-13-08 03:25
Reporter tpetazzoni View Status public  
Assigned To buildroot
Priority normal Resolution open  
Status assigned   Product Version
Summary 0005374: Cannot compile libpng, directfb, and other packages due to missing -L option
Description With current Buildroot SVN, I have an issue when trying to build libpng
and directfb: the configure script cannot find that zlib is installed.

The configure script tries to compile a simple program that makes a
call to zlibVersion() using the -lz option. But the
-L$(STAGING_DIR)/usr/lib/ option is not passed to gcc (the -I options
are correct however), so the compilation fails and configure complains
that it can't find the configure script.

In package/Makefile.in, it seems that the library path is passed in
TARGET_CONFIGURE_OPTS, using LD :

 LD="$(TARGET_LD) $(TARGET_LDFLAGS)" \

In the config.log, I see reference to the correct -L paths, but these
paths seem to be removed when testing the compilation of the sample
zlib program.

I'm using the following patches to workaround the problem, but I don't think these are the proper fixes.
Additional Information
Attached Files  libpng-set-ldflags [^] (526 bytes) 10-13-08 03:24
 directfb-set-ldflags [^] (536 bytes) 10-13-08 03:25
 dbus-set-ldflags [^] (489 bytes) 10-13-08 03:25
 autotools-set-ldflags [^] (523 bytes) 10-13-08 03:25

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
10-13-08 03:24 tpetazzoni New Issue
10-13-08 03:24 tpetazzoni Status new => assigned
10-13-08 03:24 tpetazzoni Assigned To  => buildroot
10-13-08 03:24 tpetazzoni File Added: libpng-set-ldflags
10-13-08 03:25 tpetazzoni File Added: directfb-set-ldflags
10-13-08 03:25 tpetazzoni File Added: dbus-set-ldflags
10-13-08 03:25 tpetazzoni File Added: autotools-set-ldflags


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker