[9fans] Wireless cards
Hello, I was wondering if Plan 9 supports wireless Ethernet in its current state. If it does (and I just can't find it), could you please give me a link to follow. If it does not, I guess I will just begin to analyze my current wireless driver (for Linux) madwifi. Thank you for reading my first post, Jimmy
Re: [9fans] 9vx on x86-64
It seems not working on LFS64 (pure-64 linux.from scratch) vx64? bash-3.2$ make gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno- stack-protector -m80387 -mfp-ret-in-387 -o libvxc/abort.o libvxc/ abort.c gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno- stack-protector -m80387 -mfp-ret-in-387 -o libvxc/assert.o libvxc/ assert.c gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno- stack-protector -m80387 -mfp-ret-in-387 -o libvxc/atexit.o libvxc/ atexit.c gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno- stack-protector -m80387 -mfp-ret-in-387 -o libvxc/difftime.o libvxc/ difftime.c gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno- stack-protector -m80387 -mfp-ret-in-387 -o libvxc/errno.o libvxc/ errno.c ... gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno- stack-protector -m80387 -mfp-ret-in-387 -o libvxc/bsdstdio/vasprintf.o libvxc/bsdstdio/vasprintf.c gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno- stack-protector -m80387 -mfp-ret-in-387 -o libvxc/bsdstdio/vfprintf.o libvxc/bsdstdio/vfprintf.c libvxc/bsdstdio/vfprintf.c: In function : libvxc/bsdstdio/vfprintf.c:320: error: incompatible types when assigning to type from type libvxc/bsdstdio/vfprintf.c: In function : libvxc/bsdstdio/vfprintf.c:1008: error: incompatible types when assigning to type from type make: *** [libvxc/bsdstdio/vfprintf.o] Error 1
Re: [9fans] Wireless cards
2008/12/15 theotherji...@gmail.com: Hello, I was wondering if Plan 9 supports wireless Ethernet in its current state. If it does (and I just can't find it), could you please give me a link to follow. If it does not, I guess I will just begin to analyze my current wireless driver (for Linux) madwifi. Please see the wiki: http://www.plan9.bell-labs.com/wiki/plan9/Supported_PC_hardware/index.html Thank you for reading my first post, Jimmy --dho
[9fans] 9P in C++
Hi! I am working in an c++ application on linux and I would like to use a filesystem to access to the application data. Somebody knows any 9P implementation of 9P in C++? Thanks, Saludos, kix. -- Rodolfo García AKA kix http://www.kix.es/ EA4ERH (@IN80ER)
Re: [9fans] 9vx on x86-64
gcc -m64 -c -nostdinc -Ilibvxc/include -g -O3 -MD -std=gnu99 -I. -fno- stack-protector -m80387 -mfp-ret-in-387 -o libvxc/abort.o libvxc/ abort.c It looks like you edited the VX32_CC line to say gcc -m64. That's wrong. $(VX32_CC) is supposed to be an i386 ELF compiler. You should be able to compile just fine using gcc -m32. If your host compiler can't do -m32 then you need to install the vx32-gcc from the sources on the vx32 home page. Russ
Re: [9fans] 9vx on x86-64
9vx -PSX 21 | cat log this creates a log of 138 MB :( (19MB gzipped) 19 MB gzipped doesn't sound so bad. Can you send it to me (not to 9fans) as an attachment, or put it up somewhere that I can fetch it from? However, I think I solved it without actually solving it, gcc flags changed from -g -03 to -g, it works like a charm That's scary. Can you send the output of gcc -v? Thanks. Russ
Re: [9fans] 9P in C++
On Tue, Dec 16, 2008 at 12:45 AM, Rodolfo kix García k...@kix.es wrote: Hi! I am working in an c++ application on linux and I would like to use a filesystem to access to the application data. Somebody knows any 9P implementation of 9P in C++? Don't see one at http://9p.cat-v.org/implementations Of course any C implementation like libixp will work fine. -sqweek
Re: [9fans] 9vx on x86-64
9vx -PSX log 21 I just executed 9vx -P -S -X -r path of dist 0.12 -u glenda and pasted what was written on the linux console. 9vx -PSX 21 | cat log this creates a log of 138 MB :( (19MB gzipped) However, I think I solved it without actually solving it, gcc flags changed from -g -03 to -g, it works like a charm /Prem On Dec 12, 5:46 pm, r...@swtch.com (Russ Cox) wrote: Aborted, here is alog with -P -S -X reate new cpu: kprocq.n1 nrunproc0 cpu0: ready 2 *x11*; wakeup kproc cpus It seems a little odd that the log starts with a partial word. It is posible that if you did 9vx -PSX log 21 that somehow the fd offsets for 1 and 2 are not being maintained properly (I don't understand it, but I've seen it). Sometimes it works better to do 9vx -PSX 21 | cat log Russ
Re: [9fans] Wireless cards
Yes, see the supported hardware page Devon linked. In summary: we have a few, not many. We could certainly use more. We have enough that you can likely find one that works, but not enough that what you happen to already have already works (unless you're like me, and haven't bought a wi-fi card since the Orinoco). Anthony
Re: [9fans] Wireless cards
Hi ! As far as I know, madwifi is a driver fot atheros based WiFi Ethernet. Atheros is unsupported by Plan9 :( For start - http://groups.google.ru/group/comp.os.plan9/browse_thread/thread/9ddd97114994fdbb?pli=1 2008/12/15 theotherji...@gmail.com Hello, I was wondering if Plan 9 supports wireless Ethernet in its current state. If it does (and I just can't find it), could you please give me a link to follow. If it does not, I guess I will just begin to analyze my current wireless driver (for Linux) madwifi. Thank you for reading my first post, Jimmy -- С Уважением Жилкин Сергей
Re: [9fans] 9P in C++
On Dec 15, 2008, at 10:45 AM, Rodolfo kix García wrote: Hi! I am working in an c++ application on linux and I would like to use a filesystem to access to the application data. Somebody knows any 9P implementation of 9P in C++? Thanks, Saludos, kix. -- Rodolfo García AKA kix http://www.kix.es/ EA4ERH (@IN80ER) Given extern C{ #include 9p.h // or whatever you do } you can link 9p into a C++ program easily. PGP.sig Description: This is a digitally signed message part
Re: [9fans] 9P in C++
Pietro Gagliardi escribió: Given extern C{ #include 9p.h // or whatever you do } you can link 9p into a C++ program easily. Thanks Pietro :-) I use: #include stdio.h #include blablabla.h extern void threadmain(int c, char *a[]) Now the file compiles. But I have other problem. gcc -L. -ltry -o demo1 demo1.C ./libtry.so: Undefined reference to threadmain(...) Then, I try: gcc -L /usr/local/plan9/lib -L. -ltry -lthread demo1.C -o demo1 ## OK! ./demo1 Segmentation Fault using ldd I can see libthread is /usr/lib/libthread, not in the plan9port three. Any help? Thanks a lot.
Re: [9fans] 9P in C++
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Dec 15, 2008, at 6:25 PM, Rodolfo kix Garcia wrote: gcc -L /usr/local/plan9/lib -L. -ltry -lthread demo1.C -o demo1 ## OK! I think linking lthread will give you POSIX threads and that -L appends to the list, rather than going before, so /usr/lib will be searched before plan9ports. Try explicitly setting the path of the -l argument. Does -l/usr/local/plan9/lib/libthread.so (or whatever it is) help? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAklG6YAACgkQuv7AVNQDs+xs6QCfZy4CD480VMiv8DN2VyX2ydDs WzYAn0sEgTbpQM9Z/8ieACzLVBx15okU =Jzfc -END PGP SIGNATURE-
Re: [9fans] 9P in C++
On Tue, Dec 16, 2008 at 8:34 AM, Pietro Gagliardi pietr...@mac.com wrote: On Dec 15, 2008, at 6:25 PM, Rodolfo kix Garcia wrote: gcc -L /usr/local/plan9/lib -L. -ltry -lthread demo1.C -o demo1 ## OK! I think linking lthread will give you POSIX threads and that -L appends to the list, rather than going before, so /usr/lib will be searched before plan9ports. Try explicitly setting the path of the -l argument. Does -l/usr/local/plan9/lib/libthread.so (or whatever it is) help? You can't use -l with a full path, but you can simply specify the full path of the library: gcc -o demo1 demo1.C /usr/local/plan9/lib/libthread.a Note that the order of the objects on the command-line is as usual important. -sqweek
Re: [9fans] 9P in C++
On Dec 15, 2008, at 9:16 PM, sqweek wrote: On Tue, Dec 16, 2008 at 8:34 AM, Pietro Gagliardi pietr...@mac.com wrote: On Dec 15, 2008, at 6:25 PM, Rodolfo kix Garcia wrote: gcc -L /usr/local/plan9/lib -L. -ltry -lthread demo1.C -o demo1 ## OK! I think linking lthread will give you POSIX threads and that -L appends to the list, rather than going before, so /usr/lib will be searched before plan9ports. Try explicitly setting the path of the -l argument. Does -l/usr/local/plan9/lib/libthread.so (or whatever it is) help? You can't use -l with a full path, but you can simply specify the full path of the library: gcc -o demo1 demo1.C /usr/local/plan9/lib/libthread.a Note that the order of the objects on the command-line is as usual important. -sqweek Ah yes, something I forgot while drifting through the hordes of gcc madness that is... not using gcc. Thanks for refreshing my memory. Now to see if this is working for kix. PGP.sig Description: This is a digitally signed message part