AnsweredAssumed Answered

NanoX configuration

Question asked by karthikeyan on May 9, 2012
Latest reply on May 23, 2012 by vivili

Hi,

   In the distribution configuration, if the nanox is enabled and then if we try to enable Libpng or other such options, then the compilation fails saying that its not able to find the respective libraries. This is because in the configuration file of nanox the LIBPNG is mapped to /usr/lib/libpng.a as

####################################################################

# PNG support via libpng and libz

####################################################################

HAVE_PNG_SUPPORT         = $(subst y,Y,$(CONFIG_USER_MICROWIN_HAVE_PNG_SUPPORT))

INCPNG                   = .

LIBPNG                   = /usr/lib/libpng.a

LIBZ                     = -lz

 

But the LIBPNG should point to $(STAGEDIR)/usr/lib/libpng.a as

####################################################################

# PNG support via libpng and libz

####################################################################

HAVE_PNG_SUPPORT         = $(subst y,Y,$(CONFIG_USER_MICROWIN_HAVE_PNG_SUPPORT))

INCPNG                   = .

LIBPNG                   = $(STAGEDIR)/usr/lib/libpng.a

LIBZ                     = -lz

 

There were few other instances where such mapping had to be changed. I am attaching botht new configuration I have changed (config) and the actual configuration (config_original). I think this change is correct. Please do validate them.

Thanks

Attachments

Outcomes