Opened 17 years ago

Last modified 17 years ago

#1666 closed bug

JAM can't build image — at Version 1

Reported by: artemm Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description (last modified by bonefish)

OS: Linux Fedora Core 6

jam, binutils, gcc for cross compiling have been built succesfully.

trying to build haiku image and get this...

$ jam -q haiku-image
...
...
ResComp1 generated/objects/haiku/x86/common/home-config-settings-printers-preview.rsrc

rc: Error! -:2 syntax error, unexpected $undefined

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:generated/objects/linux/lib
cat "data/image_directories/home-config-settings-printers-preview.rdef" | /home/haikuos/haiku/generated/cross-tools/bin/i586-pc-haiku-gcc -E -D__HAIKU__ -DHAIKU_DISTRO_COMPATIBILITY_DEFAULT -D__INTEL__ -DARCH_x86 -DHAIKU_TARGET_PLATFORM_HAIKU -iquote . -iquote generated/objects/common -iquote generated/objects/linux/x86/common -iquote generated/objects/haiku/x86/common - | egrep -v '^#' | generated/objects/linux/x86/release/tools/rc/rc -I . -I generated/objects/common -I generated/objects/linux/x86/common -I generated/objects/haiku/x86/common --auto-names -o "generated/objects/haiku/x86/common/home-config-settings-printers-preview.rsrc" -

...failed ResComp1 generated/objects/haiku/x86/common/home-config-settings-printers-preview.rsrc ...
...skipped <HaikuImage>haiku.image-make-dirs-attributes-home-config-settings-printers-Preview for lack of home-config-settings-printers-preview.rsrc...
...skipped <HaikuImage>haiku.image-make-dirs-attributes-dummy-home/config/settings/printers/Preview for lack of <HaikuImage>haiku.image-make-dirs-attributes-home-config-settings-printers-Preview...
...skipped /haiku.image for lack of <HaikuImage>haiku.image-make-dirs...
...failed updating 1 target(s)...
...skipped 3 target(s)...
...updated 4 target(s)...

how can i fix it?

Change History (1)

comment:1 by bonefish, 17 years ago

Description: modified (diff)

Can you please run the first line ("export ...") and the first two segments of the pipe manually and report what is printed, i.e.:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:generated/objects/linux/lib

and

cat "data/image_directories/home-config-settings-printers-preview.rdef" | /home/haikuos/haiku/generated/cross-tools/bin/i586-pc-haiku-gcc -E -D__HAIKU__ -DHAIKU_DISTRO_COMPATIBILITY_DEFAULT -D__INTEL__ -DARCH_x86 -DHAIKU_TARGET_PLATFORM_HAIKU -iquote . -iquote generated/objects/common -iquote generated/objects/linux/x86/common -iquote generated/objects/haiku/x86/common -
Note: See TracTickets for help on using tickets.