help needed to upgrade libglib2 on Buildroot 2012.02-rc2-00001
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Debananda,
Quoted 5 lines · Debananda Pal
Hi Buildroot Team,
I am new in buildroot compilation.
We are trying to upgrade openvmtools to latest version and found there is a dependency to update libglib2 and libffi.
You might consider migrating your Buildroot environment. Maybe not to the latest version, but to the last that satisfies most of your requirements regarding compiler /kernel headers /software package versions. 2019.02 might be a starting point.
Stick to the minimum requirements, and do not try to upgrade libglib2 and libffi to the latest versions.
Quoted 9 lines
I am trying to build openvmtools 12.1.0-20219665 source. While upgrading openvmtools, I found that libglib2 version should be more than 2.34.0.
Now I have changed the version of glib2 to 2.72.4 and libffi to 3.4.3
version.
But while compiling, I am getting below error message :
--------------------------------------------------------------
make: *** No rule to make target 'host-libffi'
--------------------------------------------------------------
Keep your existing .mk file(s) and just change the version info initially. If the build (or later, the binary) breaks, look at changes in dependencies and build flags.
Quoted 11 lines
In libffi.mk, earlier it was used below way to call for compilation :
$(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,host))
------------------------------------------------------------------Now latest libffi.mk (as mentioned in opensource libffi.mk), it is using below way to start configure and compilation :
-------------------------------------------------------------
$(eval $(autotools-package))
$(eval $(host-autotools-package))
-------------------------------------------------------------
The github repository reports that this change was made late in 2011 [1] -- You need to use the logic from your environment, otherwise the build will fail.
Kind regards,
Andreas
Quoted 4 lines
Please give your suggestion to go forward.
Thanks,
D Pal
[1] https://github.com/buildroot/buildroot/commit/76d9b3e8d7ac5bb5e1b6efd30be339e03c144597
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot