General Haiku Discussion

Here you can talk about anything relating to Haiku.

Midi USB

Forum thread started by Lt_Henry on Sat, 2009-01-31 00:37

I've bought recently a Midi usb keyboard, and wanted to get it working on Haiku. So, as usb_midi driver is not included in night builds I compiled my own. After testing with R29014, R29065 and R29080, It worked (after a lot of plugs and unplugs). May I post a ticket or it's just to early for that?

I've been looking at usb_midi source, but can not guess whenever the driver is completed or not.

dbe application

Forum thread started by vootele on Thu, 2009-01-29 20:21

Hi, I wanted to know, what has happened to dBe studio midi sequencer? As I remember from Be days, it was very good quality app...Today, it seems vanished?
It would be a great foundation for future Haiku audio-video production suite...

Compiling Lua to Haiku

Forum thread started by gduarte on Wed, 2009-01-28 12:44

Hello All;
I trying to compile Lua to Haiku but it fail. I know, already exist a Lua port to Haiku, but I'm trying to put Lua while builds Haiku, to make my custom build, along other softwares, like bash, sed, etc... I wrote a Jamfile to compile it, like this bellow:

SubDir HAIKU_TOP src bin lua src ;

CCFLAGS on lua = -O2 -Wall -c ;

Main lua : lua.c ;

LinkLibraries lua : liblua ;

Library liblua : lapi.c lbaselib.c ldblib.c ldo.c lfunc.c linit.c llex.c lmem.c lobject.c loslib.c lstate.c lstrlib.c ltablib.c lundump.c lzio.c
lauxlib.c lcode.c ldebug.c ldump.c lgc.c liolib.c lmathlib.c loadlib.c lopcodes.c lparser.c lstring.c ltable.c ltm.c lvm.c print.c ;

I put Lua in the directory haiku/src/bin/lua/ , and it compiles well, but when is linking, occurs an error! Bellow, the output:

[root@riemann src]# jam lua
...patience...
...found 1233 target(s)...
...updating 33 target(s)...
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lua.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lapi.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lbaselib.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/ldblib.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/ldo.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lfunc.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/linit.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/llex.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lmem.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lobject.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/loslib.o
In file included from loslib.c:8:
../../../../headers/posix/errno.h:19: warning: `errno' redefined
../../../../headers/build/os/support/Errors.h:403: warning: this is the location of the previous definition
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lstate.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lstrlib.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/ltablib.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lundump.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lzio.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lauxlib.o
In file included from lauxlib.c:9:
../../../../headers/posix/errno.h:19: warning: `errno' redefined
../../../../headers/build/os/support/Errors.h:403: warning: this is the location of the previous definition
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lcode.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/ldebug.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/ldump.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lgc.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/liolib.o
In file included from liolib.c:8:
../../../../headers/posix/errno.h:19: warning: `errno' redefined
../../../../headers/build/os/support/Errors.h:403: warning: this is the location of the previous definition
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lmathlib.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/loadlib.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lopcodes.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lparser.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lstring.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/ltable.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/ltm.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/lvm.o
Cc ../../../../generated/objects/haiku/x86/release/bin/lua/src/print.o
Archive ../../../../generated/objects/haiku/x86/release/bin/lua/src/liblua.a
/tmp/develop/haiku/haiku/generated/cross-tools/bin/i586-pc-haiku-ar: creating ../../../../generated/objects/haiku/x86/release/bin/lua/src/liblua.a
Ranlib ../../../../generated/objects/haiku/x86/release/bin/lua/src/liblua.a
Link ../../../../generated/objects/haiku/x86/release/bin/lua/src/lua
/tmp/develop/haiku/haiku/generated/cross-tools/i586-pc-haiku/bin/ld: crti.o: No such file: No such file or directory
collect2: ld returned 1 exit status

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:../../../../generated/objects/linux/lib ; ../../../../build/scripts/rm_attrs ../../../../generated/objects/linux/x86/release/tools/rm_attrs -f "../../../../generated/objects/haiku/x86/release/bin/lua/src/lua"
/tmp/develop/haiku/haiku/generated/cross-tools/bin/i586-pc-haiku-gcc -lm -o "../../../../generated/objects/haiku/x86/release/bin/lua/src/lua" "../../../../generated/objects/haiku/x86/release/bin/lua/src/lua.o" \
"../../../../generated/objects/haiku/x86/release/bin/lua/src/liblua.a" ;

...failed Link ../../../../generated/objects/haiku/x86/release/bin/lua/src/lua ...
...failed updating 1 target(s)...
...updated 32 target(s)...

I don't know what's happening, anyone may help!?
Cheers :-)

Why isn't the UserGuide on Documents page?

Forum thread started by Socapex_2K on Mon, 2009-01-05 05:22

Title says it all. Why isn't the UserGuide (included in the "Welcome" link on Haiku Desktop) included on the Documents page. This is a must, for anybody starting off with haiku/beos. I certainly would have liked to see it on that page when I started off.

How does one get and install imkit on Haiku?

Forum thread started by bbjimmy on Sun, 2008-12-28 21:03

I have downloaded the source tree from osdrawer.net and compiled. The readme file discusses using make-install, but this does not work on Haiku.

The source files from osdrawer.net use jam to compile the code but there is no install script.

I have seen some posts on the mailing lists, but they seem to be very rude and terse with absolutely no help on getting and installing the imkit in Haiku. Please post only helpful comments.

Virtual Memory doesn't work

Forum thread started by smartboyathome on Sat, 2008-12-20 22:08

Ok, I know this is a recent feature, but it doesn't work for me when I try using it in Haiku. My computer has a measly 128 mbs RAM, so using Virtual Memory (or Swap) is a must. When I try to enable Virtual Memory, and close it, it opens up with virtual memory disabled again. Even after restarting, virtual memory still remains disabled. Anyone know whats going on?

Thanks to everyone who helps. :)

How to get ethernet through Haiku on a computer with no built in ethernet?

Forum thread started by smartboyathome on Sat, 2008-12-20 22:04

Hi, I have installed Haiku on the hard drive of my ancient laptop and love it, but there is a problem: the only way I can get internet on it at the moment is through an SMC Ez PCMCIA card, which from what I understand won't work with Haiku due to there being no PCMCIA support.

Anyway, what I was wondering was if there was any other way that Haiku supported which allowed me to get online besides PCMCIA and built in PCI cards. I can tell you my laptop has 1 USB 1.0 (not even 1.1, just 1.0) port, and of course a serial port.

Syndicate content