mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] ISC DHCP 4.3.6-P1
@ 2018-04-26  8:14 Jakov Simunic
  2018-04-27 10:22 ` Roland Hieber
  0 siblings, 1 reply; 2+ messages in thread
From: Jakov Simunic @ 2018-04-26  8:14 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1589 bytes --]

Hello,

we are using ISC DHCP in our ptxdist project and I have the task to upgrade it from the currently used version 4.1-ESV-R10 to the newer 4.3.6-P1 version. Much has changed in the build of the ISC DHCP from the last used version in our project, and since we are cross compiling from our build server (x86_64) to the targets (one target is a 32 bit PowerPC architecture and the other is a 32 bit ARM target) we need the cross compilation to work properly. The build always fails due to the improper setting of the BUILD_CC and CC environment variables which are required to build a rule called gen in the dhcp-4.3.6-P1/bind/bind-9.9.11-P1/export/dns/Makefile (that rule builds some stuff using the host compiler set through the BUILD_CC environment variable), I have tried to set those variables through the ptxdist/rules/dhcp.make file (adding those environment variables to the DHCP_ENV variable), that doesn't work. Also I have tried to set them through the ptxdist/patches (tried to patch the dhcp-4.3.6-P1/Makefile.in and the dhcp-4.3.6-P1/bind/Makefile.in) the patches get applied and the Makefile prints out the correct compilers, but it still fails in the same gen rule with the same error saying that the BUILD_CC environment variable isn't set. Tried to cross compile it outside of ptxdist on an Debian machine and it finishes normally, so I think that something inside of ptxdist is causing the error.

Could you offer any help/advice/suggestions on this matter, any help would be greatly appreciated?

Thank you


--
Lijep pozdrav / Kind Regards
Jakov Šimunić

[-- Attachment #1.2: Type: text/html, Size: 3833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-04-27 10:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-26  8:14 [ptxdist] ISC DHCP 4.3.6-P1 Jakov Simunic
2018-04-27 10:22 ` Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox