Skip to contentSkip to conversation

Build issue with recent compat-wireless

ath9k-devel Dave Lentz 4 participants 4 messages Sep 29, 2010 – Oct 1, 2010

lore
Share & tools
lore

Dave Lentz

author
#0 lore raw

As of late, I have not been able to build compat-wireless. The last tarball that worked for me was from September 5. I use the driver-select script to choose ath9k_htc and make fails with error:

./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h make -C /lib/modules/2.6.35-6.slh.1-aptosid-amd64/build M=/opt/compat-wireless-2010-09-28 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-6.slh.1-aptosid-amd64'

   LD      /opt/compat-wireless-2010-09-28/compat/built-in.o
   CC [M]  /opt/compat-wireless-2010-09-28/compat/main.o
   CC [M]  /opt/compat-wireless-2010-09-28/compat/compat-2.6.36.o
   CC [M]  /opt/compat-wireless-2010-09-28/compat/compat-2.6.37.o
   LD [M]  /opt/compat-wireless-2010-09-28/compat/compat.o
   LD      /opt/compat-wireless-2010-09-28/drivers/net/wireless/built-in.o
   LD      
/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/built-in.o
   CC [M]  /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/main.o
   CC [M]  /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/regd.o
   CC [M]  /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/hw.o

make[4]: *** No rule to make target /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/ath-', needed by /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/ath.o'. Stop. make[3]: *** [/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath] Error 2
make[2]: *** [/opt/compat-wireless-2010-09-28/drivers/net/wireless] Error 2 make[1]: *** [_module_/opt/compat-wireless-2010-09-28] Error 2

I compared makefiles in the ath directory between working and non-working tarballs, but they are the same, so I'm not sure what's causing this. I am using Debian (apto)sid in the example above, but I also experience the same thing with Ubuntu Maverick/10.10.

Thanks.

#1 lore raw

HI,
I found strange charactor in drivers/net/wireless/ath/Makefile Line #5

obj-$(CONFIG_ATH9K_HW) += ath9k/
obj-$(CONFIG_ATH_COMMON) += ath.o

ath-objs :=     main.o \
                regd.o \
                hw.o \  <-----

ath-$(CONFIG_ATH_DEBUG) += debug.o

Is the following correct?

obj-$(CONFIG_ATH9K_HW) += ath9k/
obj-$(CONFIG_ATH_COMMON) += ath.o

ath-objs :=     main.o \
                regd.o \
                hw.o

ath-$(CONFIG_ATH_DEBUG) += debug.o

regards

2010/9/29 Dave Lentz <[email protected]>:

Quoted 40 lines

As of late, I have not been able to build compat-wireless. The last tarball that worked for me was from September 5. I use the driver-select script to choose ath9k_htc and make fails with error:

./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h make -C /lib/modules/2.6.35-6.slh.1-aptosid-amd64/build M=/opt/compat-wireless-2010-09-28 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-6.slh.1-aptosid-amd64'
? LD ? ? ?/opt/compat-wireless-2010-09-28/compat/built-in.o
? CC [M] ?/opt/compat-wireless-2010-09-28/compat/main.o
? CC [M] ?/opt/compat-wireless-2010-09-28/compat/compat-2.6.36.o ? CC [M] ?/opt/compat-wireless-2010-09-28/compat/compat-2.6.37.o ? LD [M] ?/opt/compat-wireless-2010-09-28/compat/compat.o
? LD ? ? ?/opt/compat-wireless-2010-09-28/drivers/net/wireless/built-in.o ? LD /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/built-in.o ? CC [M] ?/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/main.o ? CC [M] ?/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/regd.o ? CC [M] ?/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/hw.o make[4]: *** No rule to make target /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/ath-', needed by /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/ath.o'. ?Stop. make[3]: *** [/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath] Error 2
make[2]: *** [/opt/compat-wireless-2010-09-28/drivers/net/wireless] Error 2 make[1]: *** [_module_/opt/compat-wireless-2010-09-28] Error 2

I compared makefiles in the ath directory between working and non-working tarballs, but they are the same, so I'm not sure what's causing this. I am using Debian (apto)sid in the example above, but I also experience the same thing with Ubuntu Maverick/10.10.

Thanks.

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#2 lore raw

----------------------------------------

Quoted 67 lines

Date: Wed, 29 Sep 2010 16:12:15 +0900
From: ryo.nakagawa.s50 at gmail.com
To: ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] Build issue with recent compat-wireless

HI,
I found strange charactor in drivers/net/wireless/ath/Makefile Line #5

obj-$(CONFIG_ATH9K_HW) += ath9k/ obj-$(CONFIG_ATH_COMMON) += ath.o ath-objs := main.o \
regd.o \
hw.o \ <----- ath-$(CONFIG_ATH_DEBUG) += debug.o

Is the following correct?

obj-$(CONFIG_ATH9K_HW) += ath9k/ obj-$(CONFIG_ATH_COMMON) += ath.o ath-objs := main.o \
regd.o \
hw.o
ath-$(CONFIG_ATH_DEBUG) += debug.o

regards

2010/9/29 Dave Lentz :

Quoted 33 lines

As of late, I have not been able to build compat-wireless. The last tarball that worked for me was from September 5. I use the driver-select script to choose ath9k_htc and make fails with error:

./scripts/gen-compat-autoconf.sh config.mk> include/linux/compat_autoconf.h make -C /lib/modules/2.6.35-6.slh.1-aptosid-amd64/build M=/opt/compat-wireless-2010-09-28 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-6.slh.1-aptosid-amd64'

  LD      /opt/compat-wireless-2010-09-28/compat/built-in.o
  CC [M]  /opt/compat-wireless-2010-09-28/compat/main.o
  CC [M]  /opt/compat-wireless-2010-09-28/compat/compat-2.6.36.o
  CC [M]  /opt/compat-wireless-2010-09-28/compat/compat-2.6.37.o
  LD [M]  /opt/compat-wireless-2010-09-28/compat/compat.o
  LD      /opt/compat-wireless-2010-09-28/drivers/net/wireless/built-in.o
  LD
/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/built-in.o
  CC [M]  /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/main.o
  CC [M]  /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/regd.o
  CC [M]  /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/hw.o

make[4]: *** No rule to make target /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/ath-', needed by /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/ath.o'. Stop. make[3]: *** [/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath] Error 2
make[2]: *** [/opt/compat-wireless-2010-09-28/drivers/net/wireless] Error 2 make[1]: *** [_module_/opt/compat-wireless-2010-09-28] Error 2

I compared makefiles in the ath directory between working and non-working tarballs, but they are the same, so I'm not sure what's causing this. I am using Debian (apto)sid in the example above, but I also experience the same thing with Ubuntu Maverick/10.10.

Quoted 7 lines

Thanks.

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Quoted 4 lines

_______________________________________________
ath9k-devel mailing list ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Nop.? It skip to include key.o. The problem is with driver-select script. apply the change in function select_ath_driver

<?????? perl -i -ne 'print if /'$1'/ || /CONFIG_ATH_/ || /ath-objs/ || /regd.o/ || /hw.o/ || key.o' $ATH_MAKEFILE
---

Quoted 1 line

?????? perl -i -ne 'print if /'$1'/ || /CONFIG_ATH_/ || /ath-objs/ || /regd.o/ || /hw.o/ ' $ATH_MAKEFILE

- Rajkumar

#3 lore raw
Quoted 74 lines · Rajkumar Manoharan

----------------------------------------

Quoted 67 lines

Date: Wed, 29 Sep 2010 16:12:15 +0900
From: ryo.nakagawa.s50 at gmail.com
To: ath9k-devel at lists.ath9k.org
Subject: Re: [ath9k-devel] Build issue with recent compat-wireless

HI,
I found strange charactor in drivers/net/wireless/ath/Makefile Line #5

obj-$(CONFIG_ATH9K_HW) += ath9k/ obj-$(CONFIG_ATH_COMMON) += ath.o ath-objs := main.o \
regd.o \
hw.o \ <----- ath-$(CONFIG_ATH_DEBUG) += debug.o

Is the following correct?

obj-$(CONFIG_ATH9K_HW) += ath9k/ obj-$(CONFIG_ATH_COMMON) += ath.o ath-objs := main.o \
regd.o \
hw.o
ath-$(CONFIG_ATH_DEBUG) += debug.o

regards

2010/9/29 Dave Lentz :

Quoted 33 lines

As of late, I have not been able to build compat-wireless. The last tarball that worked for me was from September 5. I use the driver-select script to choose ath9k_htc and make fails with error:

./scripts/gen-compat-autoconf.sh config.mk> include/linux/compat_autoconf.h make -C /lib/modules/2.6.35-6.slh.1-aptosid-amd64/build M=/opt/compat-wireless-2010-09-28 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-6.slh.1-aptosid-amd64'
? LD ? ? ?/opt/compat-wireless-2010-09-28/compat/built-in.o
? CC [M] ?/opt/compat-wireless-2010-09-28/compat/main.o
? CC [M] ?/opt/compat-wireless-2010-09-28/compat/compat-2.6.36.o ? CC [M] ?/opt/compat-wireless-2010-09-28/compat/compat-2.6.37.o ? LD [M] ?/opt/compat-wireless-2010-09-28/compat/compat.o
? LD ? ? ?/opt/compat-wireless-2010-09-28/drivers/net/wireless/built-in.o ? LD /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/built-in.o ? CC [M] ?/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/main.o ? CC [M] ?/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/regd.o ? CC [M] ?/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/hw.o make[4]: *** No rule to make target /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/ath-', needed by /opt/compat-wireless-2010-09-28/drivers/net/wireless/ath/ath.o'. ?Stop. make[3]: *** [/opt/compat-wireless-2010-09-28/drivers/net/wireless/ath] Error 2
make[2]: *** [/opt/compat-wireless-2010-09-28/drivers/net/wireless] Error 2 make[1]: *** [_module_/opt/compat-wireless-2010-09-28] Error 2

I compared makefiles in the ath directory between working and non-working tarballs, but they are the same, so I'm not sure what's causing this. I am using Debian (apto)sid in the example above, but I also experience the same thing with Ubuntu Maverick/10.10.

Quoted 7 lines

Thanks.

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Quoted 4 lines

_______________________________________________
ath9k-devel mailing list ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Quoted 7 lines

Nop.? It skip to include key.o. The problem is with driver-select script. apply the change in function select_ath_driver

<?????? perl -i -ne 'print if /'$1'/ || /CONFIG_ATH_/ || /ath-objs/ || /regd.o/ || /hw.o/ || key.o' $ATH_MAKEFILE
---

Quoted 1 line

?????? perl -i -ne 'print if /'$1'/ || /CONFIG_ATH_/ || /ath-objs/ || /regd.o/ || /hw.o/ ' $ATH_MAKEFILE

Fixed.

Luis