Wi-Fi точка доступа в 64-битной системе
Есть 64-bit Gentoo Linux (без 32-bit). Хочется организовать точку доступа, используя карту в слоте PCI/PCI-E. Какая модель будет гарантированно работать в 64 битах?
Есть 64-bit Gentoo Linux (без 32-bit). Хочется организовать точку доступа, используя карту в слоте PCI/PCI-E. Какая модель будет гарантированно работать в 64 битах?
http://www.informit.com/articles/printerfriendly.asp?p=456824
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/specs Configured with: /var/tmp/portage/gcc-3.2.1-r6/work/gcc-3.2.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext Thread model: posix gcc version 3.2.1 20021207 (Gentoo Linux 3.2.1-20021207)
Содержимое main.m #import <objc/objc.h> #import <objc/Object.h> #import "MyClass.h"
int main() { MyClass *anObject;
anObject = [MyClass alloc]; //[anObject sayHello]; return 0; }
Содержимое MyClass.h @interface MyClass : Object { } - sayHello; @end
Содержимое MyClass.m #import "MyClass.h"
@implementation MyClass : Object { } - sayHello { printf("Hello, World!\n"); } @end
Линуовщик выдаёт ошибку: main.m:1:2: warning: #import is obsolete, use an #ifndef wrapper in the header file /tmp/ccgoumlF.o(.text+0x19): In function `main': : undefined reference to `objc_get_class' /tmp/ccgoumlF.o(.text+0x2b): In function `main': : undefined reference to `objc_msg_lookup' /tmp/ccgoumlF.o(.text+0x57): In function `_GLOBAL__I_main': : undefined reference to `__objc_exec_class' /tmp/ccgoumlF.o(.data+0x34): undefined reference to `__objc_class_name_MyClass' collect2: ld returned 1 exit status
#include <iostream.h>
main() { cout << "Hello, World!\n"; return 0; }
icc выдаёт следующее: test.C /usr/include/stdio.h(44): error #77: this declaration has no storage class or ty pe specifier __BEGIN_NAMESPACE_STD ^
/usr/include/stdio.h(46): error: expected a ";" typedef struct _IO_FILE FILE; ^
/usr/include/stdio.h(47): error: identifier "__END_NAMESPACE_STD" is undefined __END_NAMESPACE_STD ^
/usr/include/stdio.h(51): error: identifier "FILE" is undefined __USING_NAMESPACE_STD(FILE) ^
/usr/include/stdio.h(62): error: expected a "{" typedef struct _IO_FILE __FILE; ^
/usr/include/wchar.h(76): error: identifier "wint_t" is undefined wint_t __wch; ^ и т.д.
bc++ пишет чуть иначе, но то же: Borland C++ 5.7 Open Edition Copyright (c) 1987, 2002 Borland test.C: Error E2141 /usr/include/stdio.h 46: Declaration syntax error Error E2141 /usr/include/stdio.h 51: Declaration syntax error Error E2141 /usr/include/stdio.h 88: Declaration syntax error Error E2141 /usr/include/stdio.h 142: Declaration syntax error Error E2141 /usr/include/stdio.h 152: Declaration syntax error Error E2141 /usr/include/stdio.h 158: Declaration syntax error Error E2141 /usr/include/stdio.h 181: Declaration syntax error Error E2141 /usr/include/stdio.h 200: Declaration syntax error Error E2147 /usr/include/stdio.h 202: 'FILE' cannot start a parameter declaration Error E2141 /usr/include/stdio.h 207: Declaration syntax error Error E2141 /usr/include/stdio.h 219: Declaration syntax error Error E2141 /usr/include/stdio.h 222: Declaration syntax error Error E2141 /usr/include/stdio.h 250: Declaration syntax error Error E2141 /usr/include/stdio.h 274: Declaration syntax error Error E2147 /usr/include/stdio.h 278: 'FILE' cannot start a parameter declaration Error E2141 /usr/include/stdio.h 285: Declaration syntax error Error E2147 /usr/include/stdio.h 289: 'FILE' cannot start a parameter declaration Error E2141 /usr/include/stdio.h 295: Declaration syntax error Error E2147 /usr/include/stdio.h 304: 'FILE' cannot start a parameter declaration Error E2141 /usr/include/stdio.h 315: Declaration syntax error Error E2141 /usr/include/stdio.h 349: Declaration syntax error Error E2141 /usr/include/stdio.h 379: Declaration syntax error Error E2147 /usr/include/stdio.h 382: 'FILE' cannot start a parameter declaration Error E2141 /usr/include/stdio.h 394: Declaration syntax error Error E2147 /usr/include/stdio.h 400: 'FILE' cannot start a parameter declaration Error E2228 /usr/include/stdio.h 400: Too many error or warning messages *** 26 errors in Compile ***
Задал вопрос на их сайте, но разговор зашёл в тупик: http://forums.gentoo.org/viewtopic.php?t=27474&highlight=icc
Кто что может сказать?