Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Compiling the rt2870 driver for chipset

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
tytower
Posts: 8
Joined: 2018-08-25 20:56

Compiling the rt2870 driver for chipset

#1 Post by tytower »

I'm using Puppyxenial64 so I have to load the sfs files to compile
This is an old wifi adapter driver and looks like its set up for kernels 2.4 and 2.6
I'm using kernel 4.9.58
the included module rt2870 does not work .

I have gotten halfway through compiling this with the dev and kernel .sfs files loaded .

I'm getting a weird response and wonder if there is anyone there that can give me a clue as to what the compile is looking for that it can't find.

Here is the problem output.

Code: Select all

root# make
make -C tools
make[1]: Entering directory '/initrd/mnt/dev_save/TempSave/Software/RT2870/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/initrd/mnt/dev_save/TempSave/Software/RT2870/tools'
/initrd/mnt/dev_save/TempSave/Software/RT2870/tools/bin2h
cp -f os/linux/Makefile.6 /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/Makefile
make  -C  /lib/modules/4.9.58/source SUBDIRS=/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux modules
make[1]: Entering directory '/usr/src/linux'
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.o
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.c:40:23  fatal error: rt_config.h: No such file or directory
compilation terminated.
scripts/Makefile.build:293: recipe for target '/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.o' failed
make[2]: *** [/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.o] Error 1
Makefile:1493: recipe for target '_module_/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux' failed
make[1]: *** [_module_/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux'
Makefile:143: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
root# 
In case its needed here is the full output from the make statement

Code: Select all

 root# make
make -C tools
make[1]: Entering directory '/initrd/mnt/dev_save/TempSave/Software/RT2870/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/initrd/mnt/dev_save/TempSave/Software/RT2870/tools'
/initrd/mnt/dev_save/TempSave/Software/RT2870/tools/bin2h
cp -f os/linux/Makefile.6 /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/Makefile
make  -C  /lib/modules/4.9.58/source SUBDIRS=/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux modules
make[1]: Entering directory '/usr/src/linux'
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.o
In file included from /initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_config.h:51:0,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.c:40:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.c: In function ‘MD5Final’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.c:333:32: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
     NdisZeroMemory(pCtx, sizeof(pCtx)); // memory free 
                                ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_linux.h:805:76: note: in definition of macro ‘NdisZeroMemory’
 fine NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
                                                                         ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.c: In function ‘SHAFinal’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.c:632:32: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
     NdisZeroMemory(pCtx, sizeof(pCtx)); // memory free 
                                ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_linux.h:805:76: note: in definition of macro ‘NdisZeroMemory’
 fine NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
                                                                         ^
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/mlme.o
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/mlme.c: In function ‘BssTableSetEntry’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/mlme.c:3860:39: warning: operation on ‘Tab->BssOverlapNr’ may be undefined [-Wsequence-point]
                     Tab->BssOverlapNr = (Tab->BssOverlapNr++) % MAX_LEN_OF_BSS_
                                       ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/mlme.c:4259:1: warning: the frame size of 1560 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/rtmp_wep.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/action.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_data.o
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_data.c: In function ‘RTMP_FillTxBlkInfo’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_data.c:713:1: warning: label ‘FillTxBlkErr’ defined but not used [-Wunused-label]
 FillTxBlkErr:
 ^
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/rtmp_init.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/rtmp_tkip.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_sync.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/eeprom.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_sanity.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_info.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_wpa.o
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_wpa.c: In function ‘AES_GTK_KEY_WRAP’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_wpa.c:836:1: warning: the frame size of 1592 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_wpa.c: In function ‘AES_GTK_KEY_UNWRAP’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/cmm_wpa.c:909:1: warning: the frame size of 1096 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/dfs.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/spectrum.o
In file included from /initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_config.h:51:0,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/spectrum.c:39:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/spectrum.c:1598:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffe
                             ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_linux.h:365:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/spectrum.c:1598:3: note: in expansion of macro ‘DBGPRINT’
   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffe
   ^
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/assoc.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/aironet.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/auth.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/auth_rsp.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/sync.o
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtScanAction’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/sync.c:675:1: warning: the frame size of 1256 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/sync.c:1393:1: warning: the frame size of 1328 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/sync.c:934:1: warning: the frame size of 1240 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/sanity.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/rtmp_data.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/connect.o
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/connect.c: In function ‘CntlOidScanProc’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/connect.c:351:1: warning: the frame size of 1608 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../sta/wpa.o
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.o
In file included from /initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_config.h:51:0,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:28:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:563:18: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [-Wint-conversion]
   NdisMoveMemory(skb->tail, pHeader802_3, HdrLen);
                  ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_linux.h:804:61: note: in definition of macro ‘NdisMoveMemory’
 #define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source
                                                             ^
In file included from ./arch/x86/include/asm/string.h:4:0,
                 from ./include/linux/string.h:18,
                 from ./include/linux/bitmap.h:8,
                 from ./include/linux/cpumask.h:11,
                 from ./arch/x86/include/asm/cpumask.h:4,
                 from ./arch/x86/include/asm/msr.h:10,
                 from ./arch/x86/include/asm/processor.h:20,
                 from ./arch/x86/include/asm/cpufeature.h:4,
                 from ./arch/x86/include/asm/thread_info.h:52,
                 from ./include/linux/thread_info.h:58,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from ./include/linux/preempt.h:59,
                 from ./include/linux/spinlock.h:50,
                 from ./include/linux/seqlock.h:35,
                 from ./include/linux/time.h:5,
                 from ./include/linux/stat.h:18,
                 from ./include/linux/module.h:10,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_linux.h:44,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_config.h:51,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:28:
./arch/x86/include/asm/string_64.h:60:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t {aka unsigned int}’
 void *memmove(void *dest, const void *src, size_t count);
       ^
In file included from /initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_config.h:51:0,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:28:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:565:18: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [-Wint-conversion]
   NdisMoveMemory(skb->tail, pData, DataSize);
                  ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_linux.h:804:61: note: in definition of macro ‘NdisMoveMemory’
 #define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source
                                                             ^
In file included from ./arch/x86/include/asm/string.h:4:0,
                 from ./include/linux/string.h:18,
                 from ./include/linux/bitmap.h:8,
                 from ./include/linux/cpumask.h:11,
                 from ./arch/x86/include/asm/cpumask.h:4,
                 from ./arch/x86/include/asm/msr.h:10,
                 from ./arch/x86/include/asm/processor.h:20,
                 from ./arch/x86/include/asm/cpufeature.h:4,
                 from ./arch/x86/include/asm/thread_info.h:52,
                 from ./include/linux/thread_info.h:58,
                 from ./arch/x86/include/asm/preempt.h:6,
                 from ./include/linux/preempt.h:59,
                 from ./include/linux/spinlock.h:50,
                 from ./include/linux/seqlock.h:35,
                 from ./include/linux/time.h:5,
                 from ./include/linux/stat.h:18,
                 from ./include/linux/module.h:10,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_linux.h:44,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_config.h:51,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:28:
./arch/x86/include/asm/string_64.h:60:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t {aka unsigned int}’
 void *memmove(void *dest, const void *src, size_t count);
       ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:649:23: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
      pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
                       ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c: In function ‘update_os_packet_info’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:671:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  pOSPkt->tail = pOSPkt->data + pOSPkt->len;
               ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:691:15: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
  pOSPkt->tail = pOSPkt->data + pOSPkt->len;
               ^
In file included from /initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_config.h:51:0,
                 from /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:28:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c: In function ‘send_monitor_packets’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:898:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION_
                                   ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/include/rt_linux.h:365:16: note: in definition of macro ‘DBGPRINT_RAW’
         printk Fmt;               \
                ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:898:9: note: in expansion of macro ‘DBGPRINT’
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION_
         ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c: In function ‘rtmp_os_thread_init’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:1051:2: error: implicit declaration of function ‘daemonize’ [-Werror=implicit-function-declaration]
  daemonize(pThreadName /*"%s",pAd->net_dev->name*/);
  ^
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c: In function ‘send_monitor_packets’:
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.c:1043:1: warning: the frame size of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=]
 }
 ^
cc1: some warnings being treated as errors
scripts/Makefile.build:293: recipe for target '/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.o' failed
make[2]: *** [/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../os/linux/rt_linux.o] Error 1
Makefile:1493: recipe for target '_module_/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux' failed
make[1]: *** [_module_/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux'
Makefile:143: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
root# make
make -C tools
make[1]: Entering directory '/initrd/mnt/dev_save/TempSave/Software/RT2870/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/initrd/mnt/dev_save/TempSave/Software/RT2870/tools'
/initrd/mnt/dev_save/TempSave/Software/RT2870/tools/bin2h
cp -f os/linux/Makefile.6 /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/Makefile
make  -C  /lib/modules/4.9.58/source SUBDIRS=/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux modules
make[1]: Entering directory '/usr/src/linux'
  CC [M]  /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.o
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.c:40:23  fatal error: rt_config.h: No such file or directory
compilation terminated.
scripts/Makefile.build:293: recipe for target '/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.o' failed
make[2]: *** [/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.o] Error 1
Makefile:1493: recipe for target '_module_/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux' failed
make[1]: *** [_module_/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux'
Makefile:143: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
root# 
 
Last edited by tytower on 2019-01-30 23:46, edited 1 time in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6477
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Compiling the rt2870 driver for chipset

#2 Post by sunrat »

Maybe you should take a backstep and tell us why you wish to compile this when it is reported to be supported by the rt2800usb driver which is already in the kernel. Possibly all you need is to install the firmware.
Read this:
https://wiki.debian.org/rt2800usb

Seems you added some info while I was writing. This is Debian user forums, not Puppy forums so we probably can't help you. Puppy is a totally different distro. Try asking at Puppy forums.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

tytower
Posts: 8
Joined: 2018-08-25 20:56

Re: Compiling the rt2870 driver for chipset

#3 Post by tytower »

Fairly obviously it does not recognise the adapter . it does not work.
Geez your a pain are/nt you

I'd be obliged if you did not bother answering me again with an attitude like that.
Not many at the puppy forum have this sort of expertise that I need

User avatar
sunrat
Administrator
Administrator
Posts: 6477
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 118 times
Been thanked: 474 times

Re: Compiling the rt2870 driver for chipset

#4 Post by sunrat »

tytower wrote:Fairly obviously it does not recognise the adapter . it does not work.
Geez your a pain are/nt you

I'd be obliged if you did not bother answering me again with an attitude like that.
LOL. You're the one in the wrong forum.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

tytower
Posts: 8
Joined: 2018-08-25 20:56

Re: Compiling the rt2870 driver for chipset

#5 Post by tytower »

sunrat wrote: You're the one in the wrong forum.
You purport to speak for everyone ? See your use of the word "we"
Not so. I use debian9 too ..so piss off ...please

I'm looking for someone who likes compiling , not someone who likes sitting and giving nusiance posts to try to get his post count up (for whatever reason that might be). From Melbourne too so that puts you behind the eight ball anyway.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Compiling the rt2870 driver for chipset

#6 Post by 4D696B65 »

sunrat wrote: LOL. You're the one in the wrong forum.
+1
tytower wrote: You purport to speak for everyone ? See your use of the word "we"
My +1 makes it "we"
tytower wrote:so piss off ...please
You first :mrgreen:

Bulkley
Posts: 6386
Joined: 2006-02-11 18:35
Has thanked: 2 times
Been thanked: 39 times

Re: Compiling the rt2870 driver for chipset

#7 Post by Bulkley »

Add me to the "we". It's unanimous.

tytower
Posts: 8
Joined: 2018-08-25 20:56

Re: Compiling the rt2870 driver for chipset

#8 Post by tytower »

Looks like you both share a bench . bed too I suppose . Nothing else to do i suppose Ho Hum!

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: Compiling the rt2870 driver for chipset

#9 Post by llivv »

Debian is moving away from building as root

you might want to try changing the build env using fakeroot or fuse,
if that applies to puppy's ramdisk.
In memory of Ian Ashley Murdock (1973 - 2015) founder of the Debian project.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Compiling the rt2870 driver for chipset

#10 Post by stevepusser »

I think all puppy users run as root. One more thing that means it's not Debian.

Try asking a question about configuring Debian on the Puppy forums and see how they respond there, too.

How should we know WTF a kernel sfs file is, anyway?
MX Linux packager and developer

tytower
Posts: 8
Joined: 2018-08-25 20:56

Re: Compiling the rt2870 driver for chipset

#11 Post by tytower »

sfs is a Squashed File System ..pretty commonplace nowadays

Anyway I'm looking ...as I said ,for someone who enjoys programming ,coding ,call it what you will.
There is always a superior intellect lurking there somewhere in the background.

Look at the rubbish posts we have had so far. Total armchair time wasters.Only one of the posts is even addressing the subject.
Allow that to continue and the forum becomes worthless for any real work.

tytower
Posts: 8
Joined: 2018-08-25 20:56

Re: Compiling the rt2870 driver for chipset

#12 Post by tytower »

Interesting that the guy who goes to some length to answer me on my first post in august tells me to piss off on the next question
You need to know exactly what chip the device has. You can find that out with

Code: Select all
lsusb -v



Then search the internets to find out what is needed to get that device working or post it here.
Mine shows:

Code: Select all
Bus 001 Device 002: ID 0cf3:7015 Atheros Communications, Inc. TP-Link TL-WN821N v3 / TL-WN822N v2 802.11n [Atheros AR7010+AR9287]


The 8 number ID is what you need. Some of those devices can be damn tricky to get working requiring building a driver from Github like the v4 and v5 of those TP-Link dongles. Others will work out of the box with only firmware required from the Debian non-free repository.

Edit: you posted that info after I started writing. You may be in luck - just install firmware-misc-nonfree from the non-free repository.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Compiling the rt2870 driver for chipset

#13 Post by stevepusser »

tytower wrote:sfs is a Squashed File System ..pretty commonplace nowadays

Anyway I'm looking ...as I said ,for someone who enjoys programming ,coding ,call it what you will.
There is always a superior intellect lurking there somewhere in the background.

Look at the rubbish posts we have had so far. Total armchair time wasters.Only one of the posts is even addressing the subject.
Allow that to continue and the forum becomes worthless for any real work.
Debian does not use sfs files. If I'm wrong, feel free to use your superior intellect to prove so, instead of saying "they are common". Why do you assume anyone on the Debian user forum will know what they are?

For the fifth time, your question belongs on the Puppy Linux forum. Why can't you understand this?
Get thee hence.
MX Linux packager and developer

User avatar
pylkko
Posts: 1802
Joined: 2014-11-06 19:02

Re: Compiling the rt2870 driver for chipset

#14 Post by pylkko »

I feel embarrassed for the OP reading this.

with this kind of an attitude life must be hard...

ruffwoof
Posts: 298
Joined: 2016-08-20 21:00

Re: Compiling the rt2870 driver for chipset

#15 Post by ruffwoof »

I feel embarrassed for the OP reading this.
Don't be. The Puppy forum allowed non-Pup alternatives to post and degenerated into a mess that is more inclined to confuse rather than help. Post non FreeBSD on the FreeBSD forum, or non Debian on the Debian forum etc. etc. and you'll get blasted off - for good reason.
Debian does not use sfs files
Debian live-boot does. Stores/uses squashed filesystem(s) in the /live folder. Changes preserved to a save partition.

tytower
Posts: 8
Joined: 2018-08-25 20:56

Re: Compiling the rt2870 driver for chipset

#16 Post by tytower »

Debian also has a lot of clowns playing silly buggers.
Administrators that can't administer and armchair pricks that spout without thought .

Somewhere in there will be real compilers and coders who enjoy what they do .
I suggest they move off this ridiculous farce site also.

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Compiling the rt2870 driver for chipset

#17 Post by bw123 »

tytower wrote: ...
CC [M] /initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.o
/initrd/mnt/dev_save/TempSave/Software/RT2870/os/linux/../../common/md5.c:40:23 fatal error: rt_config.h: No such file or directory
compilation terminated.
...
The way I remember, cc means c-compiler and the error is saying that something in md5.c refers to some header file called rt_config.h that does not exist where it should. -or- possibly some other header in rt_config.h does not exist where it should.

It's common to get errors like this when compiling older code on newer systems/tools, or newer code on older systems/tools. Or possibly the build environment is not setup correctly. It's not a debian issue, so try getting support from the source where you got the code?

https://rationalwiki.org/wiki/Don%27t_feed_the_Troll
resigned by AI ChatGPT

Post Reply