Hi,
habe mir heute ganz frisch Ubuntu (14.04) als zweites Betriebssystem installiert. Natürlich wollte ich da auch meinen AVM Wlan Stick N v2 installieren und bin auf diesen Thread mit der Anleitung von elektronenblitz63 gestoßen. Ich habe allerdings das Problem, dass ich beim Kompilieren immer Fehler angezeigt bekomme. Nach Eingabe von "make" habe ich folgendes im Terminal stehen:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 | adrian@adrian-PC:~$ cd DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/ adrian@adrian-PC:~/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared$ make make -C tools make[1]: Entering directory `/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory `/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/tools' /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/tools/bin2h cp -f os/linux/Makefile.6 /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/Makefile make -C /lib/modules/3.13.0-27-generic/build SUBDIRS=/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux modules make[1]: Entering directory `/usr/src/linux-headers-3.13.0-27-generic' CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_md5.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_sha2.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_hmac.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_aes.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_aes.c:1459:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength)); ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_aes.c:1554:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength)); ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/crypt_arc4.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/mlme.o In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_os.h:44:0, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_comm.h:69, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_config.h:33, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/mlme.c:28: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/mlme.c:568:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (UINT32)&pAd->RalinkCounters.OneSecEnd - ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:468:76: note: in definition of macro ‘NdisZeroMemory’ #define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length) ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/mlme.c:569:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (UINT32)&pAd->RalinkCounters.OneSecStart); ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:468:76: note: in definition of macro ‘NdisZeroMemory’ #define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length) ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_wep.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/action.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c: In function ‘RtmpPrepareHwNullFrame’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:3142:4: warning: passing argument 2 of ‘hex_dump’ from incompatible pointer type [enabled by default] hex_dump("null frame before", &longValue, 4); ^ In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_config.h:66:0, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:28: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_os_util.h:679:6: note: expected ‘unsigned char *’ but argument is of type ‘UINT32 *’ void hex_dump(char *str, unsigned char *pSrcBufVA, unsigned int SrcBufLen); ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:3150:4: warning: passing argument 2 of ‘RTUSBReadMACRegister’ makes integer from pointer without a cast [enabled by default] RTMP_IO_READ32(pAd, pAd->NullBufOffset + TXWISize+ i, &longValue); ^ In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_config.h:61:0, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:28: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp.h:7214:10: note: expected ‘USHORT’ but argument is of type ‘USHORT *’ NTSTATUS RTUSBReadMACRegister( ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:3151:4: warning: passing argument 2 of ‘hex_dump’ from incompatible pointer type [enabled by default] hex_dump("null frame after", &longValue, 4); ^ In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_config.h:66:0, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:28: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rt_os_util.h:679:6: note: expected ‘unsigned char *’ but argument is of type ‘UINT32 *’ void hex_dump(char *str, unsigned char *pSrcBufVA, unsigned int SrcBufLen); ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_data.c:3021:8: warning: unused variable ‘MlmeRate’ [-Wunused-variable] UCHAR MlmeRate; ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_init.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_init.c:1826:11: warning: unused variable ‘apidx’ [-Wunused-variable] INT i,apidx; ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_init.c:1826:9: warning: unused variable ‘i’ [-Wunused-variable] INT i,apidx; ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_init_inf.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_tkip.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_aes.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_sync.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/eeprom.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_sanity.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_info.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_cfg.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_wpa.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_wpa.c:1031:13: warning: unused variable ‘Cancelled’ [-Wunused-variable] BOOLEAN Cancelled; ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_radar.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/spectrum.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/spectrum.c:1972:3: 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 buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT))); ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rtmp_timer.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rt_channel.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_profile.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_asic.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_asic.c: In function ‘AsicGetAutoAgcOffsetForTemperatureSensor’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_asic.c:1188:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] TxPowerTuningTableEntry0 = &TxPowerTuningTable[TuningTableIndex0 + TX_POWER_TUNING_ENTRY_OFFSET]; ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_asic.c:1201:28: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default] TxPowerTuningTableEntry1 = &TxPowerTuningTable[TuningTableIndex1 + TX_POWER_TUNING_ENTRY_OFFSET]; ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/cmm_cmd.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/ps.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/uapsd.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../rate_ctrl/ra_ctrl.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../rate_ctrl/alg_legacy.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../rate_ctrl/alg_ags.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_profile.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_profile.c:463:9: 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__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header))); ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../chips/rtmp_chip.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../chips/rtmp_chip.c: In function ‘RTMPReadChannelPwr’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../chips/rtmp_chip.c:1380:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] UCHAR Tx2ALC = 0, Tx2FinePowerCtrl = 0; ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/assoc.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/auth.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/auth_rsp.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sync.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sanity.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.c:284:17: warning: unused variable ‘pFmeCtrl’ [-Wunused-variable] FRAME_CONTROL *pFmeCtrl = &pHeader->FC; ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.c:283:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable] UCHAR OldPwrMgmt = PWR_ACTIVE; ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.c: In function ‘STAFindCipherAlgorithm’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/rtmp_data.c:1740:4: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] && (!ADHOC_ON(pAd))) || (ADHOC_ON(pAd) && (pAd->SharedKey[BSS0][KeyIdx].KeyLen == 0))) ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/connect.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/wpa.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sta_cfg.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sta_cfg.c:4039:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel)); ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sta_cfg.c: In function ‘set_quality’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../sta/sta_cfg.c:5548:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] BOOLEAN bInitial = FALSE; ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../common/rt_os_util.o CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/sta_ioctl.o In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:56:0, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_os.h:44, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_comm.h:69, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/sta_ioctl.c:30: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’: include/net/iw_handler.h:542:9: warning: array subscript is below array bounds [-Warray-bounds] memcpy(stream + point_len, extra, iwe->u.data.length); ^ CC [M] /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.o /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:513:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default] NdisMoveMemory(skb->tail, pHeader802_3, HdrLen); ^ In file included from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/string.h:4:0, from include/linux/string.h:17, from include/linux/bitmap.h:8, from include/linux/cpumask.h:11, from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/cpumask.h:4, from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/msr.h:10, from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/processor.h:20, from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/thread_info.h:22, from include/linux/thread_info.h:54, from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/preempt.h:6, from include/linux/preempt.h:18, 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 /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:31, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_os.h:44, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_comm.h:69, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:32: /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’ void *memmove(void *dest, const void *src, size_t count); ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:515:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default] NdisMoveMemory(skb->tail, pData, DataSize); ^ In file included from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/string.h:4:0, from include/linux/string.h:17, from include/linux/bitmap.h:8, from include/linux/cpumask.h:11, from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/cpumask.h:4, from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/msr.h:10, from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/processor.h:20, from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/thread_info.h:22, from include/linux/thread_info.h:54, from /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/preempt.h:6, from include/linux/preempt.h:18, 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 /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:31, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_os.h:44, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_comm.h:69, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:32: /usr/src/linux-headers-3.13.0-27-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’ void *memmove(void *dest, const void *src, size_t count); ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:667:20: warning: assignment makes integer from pointer without a cast [enabled by default] pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len; ^ In file included from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_os.h:44:0, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/rtmp_comm.h:69, from /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:32: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/include/os/rt_linux.h:886:34: warning: assignment makes integer from pointer without a cast [enabled by default] ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len)) ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:686:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’ SET_OS_PKT_DATATAIL(pRxPkt, pData, DataSize); ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:713:15: warning: assignment makes integer from pointer without a cast [enabled by default] pOSPkt->tail = pOSPkt->data + pOSPkt->len; ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c: In function ‘__RtmpOSFSInfoChange’: /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:1141:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’ pOSFSInfo->fsuid = current_fsuid(); ^ /home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.c:1142:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’ pOSFSInfo->fsgid = current_fsgid(); ^ make[2]: *** [/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux/../../os/linux/rt_linux.o] Error 1 make[1]: *** [_module_/home/adrian/DPO_RT5572_LinuxSTA_2.6.1.3_20121022_prepared/os/linux] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-27-generic' make: *** [LINUX] Error 2 |
Vielleicht habe ich ja eine Kleinigkeit übersehen, habe ja zum ersten mal wirklich etwas mit Linux zu tun. Vielleicht funktioniert das mit der neusten Ubuntu-Version auch einfach nicht mehr? Ich hoffe mir kann hier jemand noch einen Tipp geben ☺
Edit: Ich werde das für mich jetzt anders lösen und mir einen PowerLine Adapter kaufen. Für den Fall, dass jemand eine ähnliche Frage hat, lass ich mal meinen ursprünglichen Beitrag so stehen.