From: dave p. <dpe...@gm...> - 2023-01-13 10:13:14
|
Hi, I guess this is an ubuntu/debian thing. Apparently you can set the environment variable IGNORE_CC_MISMATCH before building. export IGNORE_CC_MISMATCH=1 ; make cheers, -Dave On Fri, 13 Jan 2023 at 09:28, Søren Koch via Linux-gpib-general < lin...@li...> wrote: > Dear all. > > > I have run into a quite strange problem after updating one of our Ubuntu > systems. > > > When I run make in the kernel driver directory I get the following error: > > > root@celletest-36:~/linux-gpib-4.3.5/linux-gpib-kernel-4.3.5# make > make -C /lib/modules/`uname -r`/build V=0 modules \ > M="/root/linux-gpib-4.3.5/linux-gpib-kernel-4.3.5/drivers/gpib" \ > GPIB_TOP_DIR=/root/linux-gpib-4.3.5/linux-gpib-kernel-4.3.5 \ > CONFIG_GPIB_ISA="" \ > GPIB_CONFIG_PCMCIA="0" \ > HAVE_DEV_OF_NODE= \ > GPIB_CONFIG_KERNEL_DEBUG=0 > make[1]: Entering directory '/usr/src/linux-headers-5.15.0-48-generic' > warning: the compiler differs from the one used to build the kernel > The kernel was built by: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0 > You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 > make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-48-generic' > root@celletest-36:~/linux-gpib-4.3.5/linux-gpib-kernel-4.3.5# > > > I have never seen that kind of error before and I have no idea how to > 'downgrade' gcc. > > (and I have not explicitly upgraded gcc either, I just ran apt-get > update... > > > Anyone got any ideas? > > Søren Koch > Senior Development Engineer > Mob: +45 21325247 > sq...@dt... > Fysikvej > Building 310 > 2800 Kgs. Lyngby > > > _______________________________________________ > Linux-gpib-general mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-gpib-general > |