User Support Forum

Questions/problems with Haiku? Post here and get help from the community. If you think you have found a bug, please file a bug report at dev.haiku-os.org.

CD-ROM in Virtual Box

Forum thread started by red_devel on Sun, 2009-07-26 23:26

Hey, just coming back to the Haiku community after a couple of years away. Really amazed to see the progress and excited we'll be seeing Alpha soon. I have the latest gcc2 build running in virtual box flawlessly from both WinXP and Ubuntu. I'm posting this from inside Haiku which I've been using for a while now and am impressed by the stability.

At the moment, I'm trying to get some files transferred in, specifically music and movies to start testing media playback. I created an .iso containing my files using a standard burning tool and mounted it as the CD-ROM drive, however I don't see that drive in Haiku. How should it be showing up? Do I need to take any steps to mount it, etc?

Sorry if this is a noob question, or if its one thats been answered already. I googled and looked around and didn't find an answer. Thanks in advance!

cannot build haiku from within haiku

Forum thread started by bbjimmy on Thu, 2009-07-23 03:17

I have not been able to compile haiku for some time. I have updated to r31682. I get the following error:

GenSyscallInfos1 generated/objects/haiku/x86/common/tools/gensyscalls/gensyscalls_infos.cpp
Unexpected end of input.

generated/objects/haiku_host/x86/release/tools/gensyscalls/gensyscallinfos generated/objects/haiku/x86/common/tools/gensyscalls/syscalls.h.pp.parsable generated/objects/haiku/x86/common/tools/gensyscalls/gensyscalls_infos.cpp

...failed GenSyscallInfos1 generated/objects/haiku/x86/common/tools/gensyscalls/gensyscalls_infos.cpp ...
...skipped gensyscalls_infos.o for lack of gensyscalls_infos.cpp...
...skipped gensyscalls for lack of gensyscalls_infos.o...
...skipped syscall_dispatcher.h for lack of gensyscalls...
...skipped syscalls.o for lack of syscalls.cpp...
...skipped kernel_core.o for lack of syscalls.o...
...skipped kernel.so for lack of kernel_core.o...
...skipped pci for lack of kernel.so...
...skipped haiku.image-copy-files-dummy-system/add-ons/kernel/bus_managers for lack of pci...
...skipped haiku.image for lack of haiku.image-copy-files...
...failed updating 1 target(s)...
...skipped 9 target(s)...
...updated 9 target(s)...
/BigFish/haiku>

Cannot build Haiku in Ubuntu 9.04 Jaunty

Forum thread started by cebif on Tue, 2009-07-21 02:40

I tried to build the latest release with gcc2.95 in Ubuntu Jaunty but get build errors about "...failed KernelLd generated/objects/haiku/x86/release/system/boot/boot_loader_bios_ia32 ...
...skipped haiku_loader for lack of boot_loader_bios_ia32...
...skipped haiku.image-copy-files-dummy-system for lack of haiku_loader...
...skipped sdb1 for lack of haiku.image-copy-files...
...failed updating 1 target(s)...
...skipped 3 target(s)...
...updated 2930 target(s)..."

This is what I have in UserBuildConfig:
# Quick start file for UserBuildConfig. Copy it and uncomment and edit the
# lines you want. See UserBuildConfig.ReadMe for details.

# Optional package OpenSSH needs this variable set
#HAIKU_IMAGE_HOST_NAME = "TEST" ;

# Add these optional packages.
AddOptionalHaikuImagePackages Beam ;
AddOptionalHaikuImagePackages BeHappy ;
AddOptionalHaikuImagePackages BePDF ;
AddOptionalHaikuImagePackages Firefox ;
AddOptionalHaikuImagePackages NetSurf ;
#AddOptionalHaikuImagePackages OpenSSL ;
#AddOptionalHaikuImagePackages OpenSSH ;
AddOptionalHaikuImagePackages Pe ;
AddOptionalHaikuImagePackages Vision ;
AddOptionalHaikuImagePackages Welcome ;
AddOptionalHaikuImagePackages WonderBrush ;

DefineBuildProfile disk : disk : "/dev/sdb1" ;
DefineBuildProfile vmware : vmware-image ;

switch $(HAIKU_BUILD_PROFILE) {
case "disk" : {
AddOptionalHaikuImagePackages Development ;
}

case "vmware" : {
HAIKU_IMAGE_SIZE = 900 ;
}

}

# Enable debugging for directory src/system/boot/loader recursively.
SetConfigVar DEBUG : HAIKU_TOP src system boot loader : 1 : global ;

Why am I getting these errors? I can supply most of the build ouput from the terminal if necessary but it is very large.

Mail is a bit strange

Forum thread started by mounty on Fri, 2009-07-10 06:06

Hello, I have a newly-built Haiku setup and can't see how to use the mail application. I would like to connect to an IMAP server and browse the mail items that are stored thereon. However, when I open the mail application, it starts with a 'new message' window rather than the expected list of mailboxes, through which one can browse, search, select etc.

I have set up a new account, accessing the IMAP server, specifying server IP name, account name, password etc. but there doesn't seem to be any way of accessing the server's mailboxes. How does one do this ?

Just installed, have a couple of queries

Forum thread started by Nick Lyons on Wed, 2009-07-08 19:10

Ive just installed Haiku onto a Dell c610 laptop, on a modular-bay 2nd hard disk, from haiku-pre-alpha-gcc4-r31449-raw.zip; quite painless and boots like a dream. About 30seconds total.

I wanted to put it onto a USB stick, but I haven't been able to get the Dell to boot from those on any other OS, and the HDD was nearly empty,so I went with that.

It's been a few years since I ran BeOS, so it'll take me a little while to find my way around again.

1.
It recognised the built-in 3Com LAN, and initially got a DHCP address from my router, then lost it after a couple of minutes, and went back to a 169.254.x.y address

2.
How can I mount the built-in HDD1 ? Does Haiku do NTFS ? The mount menu from the desktop gave me no options.

3.
The disk its installed on is 20GB, but DriveSetup doesn't give me any options to add partitions. I'll assume that the BeOS R5 version won't work with a GCC4 build. I'd like to use the rest of the space - I had the whole disk on FAT32 before.

Thanks!

Haiku on eeepc 701 personal feedback, and questions

Forum thread started by demether on Wed, 2009-07-08 10:54

Hi,

I recently installed Haiku on my eeepc 701 :

haiku sur eeepc 701

It works great : fast booting, responsive desktop, user friendly. Really impressive, so I decided to keep it installed on my eeepc (and, when the r1 will be available, certainly on a little net top computer too). I installed this build:

http://haiku-files.org/raw/haiku-pre-alpha-r31435-raw.zip

Now, the only things missing for me are wifi, power management and flash support for internet browser. But I believe it will be available sooner or later. ;)

I have some questions to ask too :

As haiku firefox 2.0 based browser is obsolete, is there any security risk (I mean, bigger risk than use an up to date browser) to use securised websites ? (ebay, webmails, bank, etc...) ?

I installed VLC. I appears that using overlay does not work (black window, but sound). Is it normal ? Can I fix it, or I have to use bitmap display?

ON Haiku standard mediaplayer, some movies can't be readed. I presume it is a question of codecs. How can I fix it ?

Last question : I saw there is experimental packages for flash support in Haiku. I did'nt achieved to make them work on my Haiku Eeepc. Do you know easier noob solution, and if not, when flash will be available (to watch youtube, etc...) ?

thank you a lot.

edit : I found download helper plugin, to download flv videos. But it should be better to be able to directly open the video in VLC (sort of "open with VLC" automatic firefox feature), without have to first download it.

POWDER

Forum thread started by NicePics13 on Tue, 2009-07-07 15:28

Hi,
thanks to much help from its author, Jeff Lait, POWDER successfully builds on Haiku.
The game is roguelike in nature and uses SDL on platforms like Windows/Mac/Linux/BeOS.


Running the binary from the source folder will give you these error messages you can safely ignore.

GCC4 nightlies need no change to source code and game is flawless.
Regular GCC2 users need to change the following files:

bmp2c.cpp in support/bmp2c
Change

is.open(name, ios_base::in | ios_base::binary);

to

is.open(name);

map2c.cpp in support/map2c
Add

#include <cctype>

to includes

buf.cpp in root folder
Change

int
OURvsnprintf(char *str, size_t size, const char *format, va_list ap)
{
    int		result;
#ifdef WIN32
    result = _vsnprintf(str, size, format, ap);
#else
    va_list	ap_copy;
    // Apparently va_list can't be reused on modern compilers.  Same
    // compilers require support for va_copy which older compilers
    // lack.  *sigh*
    va_copy(ap_copy, ap);
    result = vsnprintf(str, size, format, ap_copy);
    va_end(ap_copy);
#endif
    return result;
}

to

int
OURvsnprintf(char *str, size_t size, const char *format, va_list ap)
{
#ifdef WIN32
     return _vsnprintf(str, size, format, ap);
#else
#ifdef USING_SDL
     int         result;
     va_list     ap_copy;
     // Apparently va_list can't be reused on modern compilers.  Same
     // compilers require support for va_copy which older compilers
     // lack.  *sigh*
     va_copy(ap_copy, ap);
     result = vsnprintf(str, size, format, ap_copy);
     va_end(ap_copy);
     return result;
#else
     return vsnprintf(str, size, format, ap);
#endif
#endif
}

The game has an annoying bug on GCC2: players, for now, cannot engage in melee action.
And that's bad. Unless you decide to be an archer or wizard with plenty of magic missiles.

The likely culprit is action.cpp, actionBump() which is supposed to
fall through to actionAttack() in these cases. Might want to add some
formatAndReport() calls to track what code path it is taking...

Source code is available from the homepage.

Syndicate content