Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
yaboot emerge failed ppc64 g5 (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
asv
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 138
Location: State College, PA United States

PostPosted: Sun Jun 06, 2004 7:23 am    Post subject: yaboot emerge failed ppc64 g5 (solved) Reply with quote

Just when I thought the agony on installing Gentoo ppc64 on my g5 was finally over, yaboot doesn't compile. Here is the output:

Code:

FIG_FS_XFS -DCONFIG_FS_REISERFS -c -o lib/malloc.o lib/malloc.c
lib/malloc.c:45: warning: conflicting types for built-in function 'malloc'
lib/malloc.c: In function `malloc':
lib/malloc.c:58: warning: cast from pointer to integer of different size
lib/malloc.c:58: warning: cast to pointer from integer of different size
lib/malloc.c: In function `realloc':
lib/malloc.c:79: warning: implicit declaration of function `memcpy'
lib/malloc.c: In function `strdup':
lib/malloc.c:107: warning: implicit declaration of function `strlen'
lib/malloc.c:109: warning: implicit declaration of function `strcpy'
gcc -Os  -nostdinc -Wall -isystem `gcc -print-file-name=include` -fsigned-char -DVERSION=\"1.3.12\"   -DTEXTADDR=0x200000 -DDEBUG=0 -DMALLOCADDR=0x300000 -DMALLOCSIZE=0x100000 -DKERNELADDR=0x01400000 -I ./include -DCONFIG_COLOR_TEXT -DCONFIG_SET_COLORMAP -DUSE_MD5_PASSWORDS -DCONFIG_FS_XFS -DCONFIG_FS_REISERFS -c -o lib/strstr.o lib/strstr.c
lib/strstr.c: In function `strstr':
lib/strstr.c:79: error: label at end of compound statement
make: *** [lib/strstr.o] Error 1
 
!!! ERROR: sys-boot/yaboot-1.3.12 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)


Any Suggestions?


Last edited by asv on Mon Jun 07, 2004 6:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
asv
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 138
Location: State College, PA United States

PostPosted: Sun Jun 06, 2004 5:44 pm    Post subject: as suggested Reply with quote

I'm trying to use the latest version but I get the following error:

Code:

util/addnote.c:84: warning: implicit declaration of function `exit'
ld -Ttext 0x200000 -Bstatic  second/crt0.o second/yaboot.o second/cache.o second/prom.o second/file.o second/partition.o second/fs.o second/cfg.o second/setjmp.o second/cmdline.o second/fs_of.o second/fs_ext2.o second/fs_iso.o second/iso_util.o lib/nosys.o lib/string.o lib/strtol.o lib/vsprintf.o lib/ctype.o lib/malloc.o lib/strstr.o second/md5.o second/fs_xfs.o second/fs_reiserfs.o lib/libext2fs.a `gcc -print-libgcc-file-name` -o second/yaboot
second/yaboot.o(.text+0x48): In function `.check_color_text_ui':
: undefined reference to `.strcmp'
second/yaboot.o(.text+0x13c): In function `.print_message_file':
: undefined reference to `.strncpy'
second/yaboot.o(.text+0x1e0): In function `.print_message_file':
: undefined reference to `.memset'
second/yaboot.o(.text+0x3ec): In function `.make_params':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0x3fc): In function `.make_params':
: undefined reference to `.strchr'
second/yaboot.o(.text+0x460): In function `.make_params':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0x470): In function `.make_params':
: undefined reference to `.strchr'
second/yaboot.o(.text+0x500): In function `.make_params':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0x510): In function `.make_params':
: undefined reference to `.strchr'
second/yaboot.o(.text+0x550): In function `.make_params':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0x560): In function `.make_params':
: undefined reference to `.strchr'
second/yaboot.o(.text+0x5a0): In function `.make_params':
: undefined reference to `.strchr'
second/yaboot.o(.text+0x5d4): In function `.make_params':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0x5e4): In function `.make_params':
: undefined reference to `.strchr'
second/yaboot.o(.text+0x644): In function `.make_params':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0x6f4): In function `.check_password':
: undefined reference to `.strncmp'
second/yaboot.o(.text+0x724): In function `.check_password':
: undefined reference to `.strcmp'
second/yaboot.o(.text+0x808): In function `.get_params':
: undefined reference to `.memset'
second/yaboot.o(.text+0xae0): In function `.get_params':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0xd2c): In function `.get_params':
: undefined reference to `.strcmp'
second/yaboot.o(.text+0xd70): In function `.get_params':
: undefined reference to `.strcmp'
second/yaboot.o(.text+0xdac): In function `.get_params':
: undefined reference to `.strcmp'
second/yaboot.o(.text+0xe24): In function `.get_params':
: undefined reference to `.strncpy'
second/yaboot.o(.text+0xeb0): In function `.get_params':
: undefined reference to `.strncpy'
second/yaboot.o(.text+0xf0c): In function `.get_params':
: undefined reference to `.strncpy'
second/yaboot.o(.text+0x1014): In function `.yaboot_text_ui':
: undefined reference to `.memset'
second/yaboot.o(.text+0x1034): In function `.yaboot_text_ui':
: undefined reference to `.strcmp'
second/yaboot.o(.text+0x1060): In function `.yaboot_text_ui':
: undefined reference to `.strlen'
second/yaboot.o(.text+0x1084): In function `.yaboot_text_ui':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0x1094): In function `.yaboot_text_ui':
: undefined reference to `.strcat'
second/yaboot.o(.text+0x185c): In function `.yaboot_text_ui':
: undefined reference to `.memset'
second/yaboot.o(.text+0x18a8): In function `.yaboot_text_ui':
: undefined reference to `.memset'
second/yaboot.o(.text+0x18f4): In function `.yaboot_text_ui':
: undefined reference to `.strcmp'
second/yaboot.o(.text+0x1938): In function `.yaboot_text_ui':
: undefined reference to `.strlen'
second/yaboot.o(.text+0x1964): In function `.yaboot_text_ui':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0x1974): In function `.yaboot_text_ui':
: undefined reference to `.strcat'
second/yaboot.o(.text+0x1a8c): In function `.yaboot_text_ui':
: undefined reference to `.memset'
second/yaboot.o(.text+0x1b0c): In function `.yaboot_text_ui':
: undefined reference to `.strcmp'
second/yaboot.o(.text+0x1b50): In function `.yaboot_text_ui':
: undefined reference to `.strlen'
second/yaboot.o(.text+0x1b84): In function `.yaboot_text_ui':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0x1b94): In function `.yaboot_text_ui':
: undefined reference to `.strcat'
second/yaboot.o(.text+0x1d40): In function `.yaboot_text_ui':
: undefined reference to `.memset'
second/yaboot.o(.text+0x1d98): In function `.yaboot_text_ui':
: undefined reference to `.flush_icache_range'
second/yaboot.o(.text+0x1f48): In function `.yaboot_start':
: undefined reference to `.memset'
second/yaboot.o(.text+0x2004): In function `.yaboot_start':
: undefined reference to `.strncmp'
second/yaboot.o(.text+0x2040): In function `.yaboot_start':
: undefined reference to `.strncmp'
second/yaboot.o(.text+0x20ec): In function `.yaboot_start':
: undefined reference to `.strncmp'
second/yaboot.o(.text+0x2250): In function `.yaboot_start':
: undefined reference to `.strncmp'
second/yaboot.o(.text+0x22c8): In function `.yaboot_start':
: undefined reference to `.strcat'
second/yaboot.o(.text+0x234c): In function `.yaboot_start':
: undefined reference to `.strcpy'
second/yaboot.o(.text+0x2370): In function `.yaboot_start':
: undefined reference to `.strcat'
second/yaboot.o(.text+0x2694): In function `.yaboot_start':
: undefined reference to `.strcmp'
second/yaboot.o(.text+0x26c4): In function `.yaboot_start':
: undefined reference to `.strcmp'
second/prom.o(.text+0x3e8): In function `.prom_open':
: undefined reference to `.strlen'
second/prom.o(.text+0xcec): In function `.prom_get_devtype':
: undefined reference to `.strcmp'
second/prom.o(.text+0xd08): In function `.prom_get_devtype':
: undefined reference to `.strcmp'
second/prom.o(.text+0x11f4): In function `.prom_setargs':
: undefined reference to `.strlen'
second/file.o(.text+0xc0): In function `.parse_device_path':
: undefined reference to `.strrchr'
second/file.o(.text+0xe4): In function `.parse_device_path':
: undefined reference to `.strchr'
second/file.o(.text+0xfc): In function `.parse_device_path':
: undefined reference to `.strrchr'
second/file.o(.text+0x114): In function `.parse_device_path':
: undefined reference to `.strrchr'
second/file.o(.text+0x1b0): In function `.parse_device_path':
: undefined reference to `.strchr'
second/partition.o(.text+0x68): In function `.add_new_partition':
: undefined reference to `.strncpy'
second/partition.o(.text+0x7c): In function `.add_new_partition':
: undefined reference to `.strncpy'
second/partition.o(.text+0x13c): In function `.partitions_lookup':
: undefined reference to `.strncpy'
second/partition.o(.text+0x14c): In function `.partitions_lookup':
: undefined reference to `.strcat'
second/partition.o(.text+0x374): In function `.partitions_lookup':
: undefined reference to `.strncmp'
second/cfg.o(.text+0x70): In function `.cfg_error':
: undefined reference to `.longjmp'
second/cfg.o(.text+0x564): In function `.cfg_parse':
: undefined reference to `.__sigsetjmp'
second/cfg.o(.text+0x5d0): In function `.cfg_parse':
: undefined reference to `.strcmp'
second/cfg.o(.text+0x5fc): In function `.cfg_parse':
: undefined reference to `.strcmp'
second/cfg.o(.text+0x63c): In function `.cfg_parse':
: undefined reference to `.strcmp'
second/cfg.o(.text+0x714): In function `.cfg_parse':
: undefined reference to `.memcpy'
second/cfg.o(.text+0x900): In function `.cfg_get_strg':
: undefined reference to `.strrchr'
second/cfg.o(.text+0x92c): In function `.cfg_get_strg':
: undefined reference to `.strcmp'
second/cfg.o(.text+0x94c): In function `.cfg_get_strg':
: undefined reference to `.strcmp'
second/cfg.o(.text+0xa14): In function `.printlabel':
: undefined reference to `.strlen'
second/cfg.o(.text+0xb48): In function `.cfg_print_images':
: undefined reference to `.strrchr'
second/cfg.o(.text+0xb64): In function `.cfg_print_images':
: undefined reference to `.strcmp'
second/cfg.o(.text+0xc50): In function `.cfg_get_default':
: undefined reference to `.strrchr'
second/fs_of.o(.text+0x38): In function `.of_open':
: undefined reference to `.strncpy'
second/fs_of.o(.text+0x48): In function `.of_open':
: undefined reference to `.strcat'
second/fs_of.o(.text+0x70): In function `.of_open':
: undefined reference to `.strcat'
second/fs_of.o(.text+0x98): In function `.of_open':
: undefined reference to `.strcat'
second/fs_of.o(.text+0xe8): In function `.of_open':
: undefined reference to `.strcat'
second/fs_of.o(.text+0x184): In function `.of_net_open':
: undefined reference to `.strncpy'
second/fs_of.o(.text+0x1a8): In function `.of_net_open':
: undefined reference to `.strcat'
second/fs_of.o(.text+0x1f8): In function `.of_net_open':
: undefined reference to `.strcat'
second/fs_of.o(.text+0x284): In function `.of_net_open':
: undefined reference to `.memset'
second/fs_of.o(.text+0x370): In function `.of_net_read':
: undefined reference to `.memcpy'
second/fs_ext2.o(.text+0xe8): In function `.ext2_open':
: undefined reference to `.strncpy'
second/fs_ext2.o(.text+0xf8): In function `.ext2_open':
: undefined reference to `.strcat'
second/fs_ext2.o(.text+0x138): In function `.ext2_open':
: undefined reference to `.ext2fs_open'
second/fs_ext2.o(.text+0x1a0): In function `.ext2_open':
: undefined reference to `.ext2fs_namei_follow'
second/fs_ext2.o(.text+0x210): In function `.ext2_open':
: undefined reference to `.ext2fs_close'
second/fs_ext2.o(.text+0x438): In function `.read_dump_range':
: undefined reference to `.memcpy'
second/fs_ext2.o(.text+0x62c): In function `.read_iterator':
: undefined reference to `.memset'
second/fs_ext2.o(.text+0x6c4): In function `.read_iterator':
: undefined reference to `.memset'
second/fs_ext2.o(.text+0x7c4): In function `.read_iterator':
: undefined reference to `.memcpy'
second/fs_ext2.o(.text+0x968): In function `.ext2_read':
: undefined reference to `.ext2fs_block_iterate'
second/fs_ext2.o(.text+0xa94): In function `.ext2_close':
: undefined reference to `.ext2fs_close'
second/fs_ext2.o(.text+0xb34): In function `.linux_open':
: undefined reference to `.memset'
second/fs_ext2.o(.text+0xb58): In function `.linux_open':
: undefined reference to `.strlen'
second/fs_ext2.o(.text+0xb78): In function `.linux_open':
: undefined reference to `.strcpy'
lib/vsprintf.o(.text+0x828): In function `.vsprintf':
: undefined reference to `.strlen'
lib/malloc.o(.text+0x17c): In function `.realloc':
: undefined reference to `.memcpy'
lib/malloc.o(.text+0x244): In function `.strdup':
: undefined reference to `.strlen'
lib/malloc.o(.text+0x264): In function `.strdup':
: undefined reference to `.strcpy'
second/md5.o(.text+0x334): In function `.md5_update':
: undefined reference to `.memcpy'
second/md5.o(.text+0x37c): In function `.md5_update':
: undefined reference to `.memcpy'
second/md5.o(.text+0x400): In function `.md5_final':
: undefined reference to `.memset'
second/md5.o(.text+0x424): In function `.md5_final':
: undefined reference to `.memset'
second/md5.o(.text+0x4f4): In function `.md5_password':
: undefined reference to `.strlen'
second/md5.o(.text+0x50c): In function `.md5_password':
: undefined reference to `.strchr'
second/md5.o(.text+0x528): In function `.md5_password':
: undefined reference to `.strchr'
second/fs_xfs.o(.text+0x684): In function `.xfs_read_data':
: undefined reference to `.memmove'
second/fs_xfs.o(.text+0xf4c): In function `.xfs_dir':
: undefined reference to `.strcmp'
second/fs_xfs.o(.text+0x109c): In function `.xfs_open':
: undefined reference to `.strcpy'
second/fs_reiserfs.o(.text+0xd54): In function `.reiserfs_read_data':
: undefined reference to `.memcpy'
second/fs_reiserfs.o(.text+0xf60): In function `.reiserfs_open':
: undefined reference to `.memset'
second/fs_reiserfs.o(.text+0x1008): In function `.reiserfs_open':
: undefined reference to `.strcmp'
second/fs_reiserfs.o(.text+0x1020): In function `.reiserfs_open':
: undefined reference to `.strcmp'
second/fs_reiserfs.o(.text+0x1060): In function `.reiserfs_open':
: undefined reference to `.strcmp'
second/fs_reiserfs.o(.text+0x1078): In function `.reiserfs_open':
: undefined reference to `.strcmp'
second/fs_reiserfs.o(.text+0x1098): In function `.reiserfs_open':
: undefined reference to `.strcmp'
second/fs_reiserfs.o(.text+0x127c): more undefined references to `.strcmp' follow
second/fs_reiserfs.o(.text+0x1514): In function `.reiserfs_open':
: undefined reference to `.memcpy'
second/fs_reiserfs.o(.text+0x157c): In function `.reiserfs_open':
: undefined reference to `.strcpy'
second/fs_reiserfs.o(.text+0x1768): In function `.reiserfs_open':
: undefined reference to `.memmove'
second/fs_reiserfs.o(.text+0x1a48): In function `.reiserfs_open':
: undefined reference to `.strcmp'
make: *** [yaboot] Error 1
 
!!! ERROR: sys-boot/yaboot-1.3.12-r1 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! (no error message)


Any suggestions?
Back to top
View user's profile Send private message
BON
n00b
n00b


Joined: 05 Jun 2004
Posts: 13

PostPosted: Mon Jun 07, 2004 1:05 am    Post subject: re: Reply with quote

Sounds like this could be a memory problem... see if you can do a kernel compile fine or not.. if not it prolly is memory... typical for unheard of compile errors... unless it dies the same place everytime.. then usually something else.. like corrupt libs etc....

BON 8)
_________________
ahhh man...... not again..... stupid new kernel..... quit chang n the chicken...!!!
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Mon Jun 07, 2004 6:39 pm    Post subject: Reply with quote

same problem here.... compiling kernel works like a charm.

Markus
Back to top
View user's profile Send private message
asv
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 138
Location: State College, PA United States

PostPosted: Mon Jun 07, 2004 6:50 pm    Post subject: here is a fix Reply with quote

I chatted with tgall the other day, it turns out that you need to install yaboot-static instead of yaboot.

After you emerge yaboot static, you need to manually edit /etc/yaboot.conf instead if using the auto config program.

There is a decent amount of info on this site:

http://www.os3.nl/~visser2d/g5install.html
Back to top
View user's profile Send private message
tobybot11
n00b
n00b


Joined: 21 Nov 2002
Posts: 4

PostPosted: Mon Jun 07, 2004 6:54 pm    Post subject: stuck at yaboot Reply with quote

I'm also stuck at this point.

I've been trying to use the yaboot-static tools with no luck.
yabootconfig fails, mkofboot fails, addnote keeps failing.
My fuser -l for all my drives returns "invalid partition tables".

When I compile yaboot-1.3.12-r1 or yaboot-1.3.12 I get the same errors as asv is getting.

Toby
Back to top
View user's profile Send private message
asv
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 138
Location: State College, PA United States

PostPosted: Mon Jun 07, 2004 6:58 pm    Post subject: irc chatroom Reply with quote

BTW

If you are looking for a good place to talk with other g5 ppc64 people or ask support questions go to irc.freenode.net and join #gentoo-ppc64
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum