Typo error? or just Deb* related problem?

Yesterday I was trying to cross-compile haiku from svn on my laptop with KUbuntu Feisty Fawn 7.04, after downloading almost 2gb of source code and tools I was ready for the task, suddenly I had a jam error:

C++ generated/objects/linux/x86

/release/tools/fs_shell/vfs.o
src/tools/fs_shell/vfs.cpp: In function ‘fssh_off_t
FSShell::file_seek(FSShell::file_descriptor*, fssh_off_t, int)’:
src/tools/fs_shell/vfs.cpp:2792: error: ‘LONGLONG_MAX’ was not
declared in this scope
src/tools/fs_shell/vfs.cpp: In function ‘fssh_off_t
FSShell::attr_seek(FSShell::file_descriptor*, fssh_off_t, int)’:
src/tools/fs_shell/vfs.cpp:3720: error: ‘LONGLONG_MAX’ was not
declared in this scopecc -c “src/tools/fs_shell/vfs.cpp” -O -Wall -Wno-ctor-dtor-privacy
-Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare
-Wno-multichar -D_ZETA_USING_DEPRECATED_API_=1 -D_ZETA_TS_FIND_DIR_=1
-DARCH_x86 -D_NO_INLINE_ASM -D__INTEL__ -D_GNU_SOURCE
-DHAIKU_HOST_PLATFORM_LINUX -iquote src/tools/fs_shell -iquote
generated/objects/common/tools/fs_shell -iquote
generated/objects/linux/x86/common/tools/fs_shell -iquote
generated/objects/haiku/x86/common/tools/fs_shell -I headers/build -I
headers/build/os -I headers/build/os/kernel -I
headers/build/os/storage -I headers/build/os/support -I
headers/private/fs_shell -I headers/private/shared -I
headers/build/host/linux -o
“generated/objects/linux/x86/release/tools/fs_shell/vfs.o” ;…failed C++ generated/objects/linux/x86/release/tools/fs_shell/vfs.o …
…skipped fs_shell.a for lack of fs_shell.a(vfs.o)…
…skipped bfs_shell for lack of fs_shell.a…
…skipped haiku.image-init-vars for lack of bfs_shell…

First I started to panic!, then i realized that it could be a typo error because i haven’t seen this type of declare on C++ “LONGLONG_MAX” (I’m not an C++ guru), finally after a google search I found a thread from haiku list (duh!! i’m apparently subscribed but I never look directly in to it) and find the solution, just have to edit the file and change it for “LONG_LONG_MAX”.

On the thread others discussed the issue but it seams related to a distro matter (Debian and derivates has the same problem). Finally i got jam running again without problems.

Anuncios

Un comentario en “Typo error? or just Deb* related problem?

  1. Estoy convencido,

    Creo que Haiku tiene mucho potencial, y además Beos me gustó mucho en su día,.
    Me gustaría colaborar de algún modo en el proyecto, pero recien empiezo y tengo un millón de dudas… quizá me pudieses echar una mano.

    Acabo de compilar las binutils bajo Linux (pero para Haiku/BEOS). Mi problema es que una vez compilado el Gcc, ahora no se como invocarlo para que me genere un binario compatible con Beos.

    Un saludo, y felicidades por la página

Los comentarios están cerrados.