|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||||||
2006年07月24日(月) 旧暦 [n年日記] [更新:"2006/07/24 17:36:44"]#1 [NetBSD][pkgsrc] 3.99.21 三台目
@ pkg_add config-serv:
これは何かな
pkg_add: Where did our dependency go?! getty[169]: /dev/ttyE0: Device not configuredこう言われるのは何の話か、良く教えてもらっている気がするが、 思い出せない。 @ ofwboot.elf を写す:ttyZ0:root@st4200 10:52:50/060724(/cdrom)# disklabel wd0 (omitted) 16 partitions: # size offset fstype [fsize bsize cpg/sgs] a: 1023120 9072 4.2BSD 1024 8192 46512 # (Cyl. 9 - 1023) b: 2040192 1032192 swap # (Cyl. 1024 - 3047) c: 19746720 0 unused 0 0 # (Cyl. 0 - 19589) d: 8201088 3072384 4.2BSD 1024 8192 46600 # (Cyl. 3048 - 11183) e: 9009 63 HFS # (Cyl. 0*- 8) f: 8191008 11273472 4.2BSD 1024 8192 46544 # (Cyl. 11184 - 19309) ttyZ0:root@st4200 10:52:55/060724(/cdrom)# hformat /dev/wd0e Volume name is "Untitled" Volume was created on Mon Jul 24 10:53:03 2006 Volume was last modified on Mon Jul 24 10:53:03 2006 Volume has 4536832 bytes free ttyZ0:root@st4200 10:53:03/060724(/cdrom)# hmount /dev/wd0e Volume name is "Untitled" Volume was created on Mon Jul 24 10:53:03 2006 Volume was last modified on Mon Jul 24 10:53:03 2006 Volume has 4536832 bytes free ttyZ0:root@st4200 10:53:09/060724(/cdrom)# hcopy ofwboot.elf :二台目には次の link があるが、これが出来ていない。なくてもいいかな ? lrwxr-xr-x 1 root wheel 22 Jul 22 10:36 /usr/pkg/bin/mkfontdir@ -> /usr/X11/bin/mkfontdir @ samba Unsupported relocation type 6 in non-PLT relocations:ttypf:makoto@mini 14:13:30/060724(~)> sudo /etc/rc.d/samba start Starting nmbd. /usr/pkg/sbin/nmbd: Unsupported relocation type 6 in non-PLT relocations Starting smbd. /usr/pkg/sbin/smbd: Unsupported relocation type 6 in non-PLT relocations ttypf:makoto@mini 14:13:37/060724(~)>If you look the src, binutils-2.16/include/elf/ppc.h: RELOC_NUMBER (R_PPC_ADDR16, 3) RELOC_NUMBER (R_PPC_ADDR16_LO, 4) RELOC_NUMBER (R_PPC_ADDR16_HI, 5) RELOC_NUMBER (R_PPC_ADDR16_HA, 6) RELOC_NUMBER (R_PPC_GOT16, 14) RELOC_NUMBER (R_PPC_GOT16_LO, 15) RELOC_NUMBER (R_PPC_GOT16_HI, 16) RELOC_NUMBER (R_PPC_GOT16_HA, 17)This is the number we are seeing now: ttypf:makoto@mini 15:05:42/060724(...work/samba-3.0.22)> objdump -R /usr/pkg/sbin/smbd | grep ADDR16 002b1a3e R_PPC_ADDR16_HA .rodata+0x00325c10 002b1a46 R_PPC_ADDR16_LO .rodata+0x00325c10 002b1a8e R_PPC_ADDR16_HA .rodata+0x00304d54 002b1a92 R_PPC_ADDR16_HA .rodata+0x00304d58 002b1a96 R_PPC_ADDR16_LO .rodata+0x00304d54 002b1a9a R_PPC_ADDR16_LO .rodata+0x00304d58 002b1aca R_PPC_ADDR16_HA .rodata+0x00325c18 002b1ace R_PPC_ADDR16_LO .rodata+0x00304d58 002b1ad6 R_PPC_ADDR16_HA .rodata+0x002bfddc 002b1ade R_PPC_ADDR16_LO .rodata+0x002bfddcProbably, this (Reloc 6) should not appear. -fPIC or -fpic is missing somewhere ? objdump -d /usr/pkg/sbin/smbd | grep ^00 002b0c74 <__udivdi3>: 002b10f0 <__moddi3>: 002b15c0 <__divdi3>: 002b1a3c <__fixdfdi>: 002b1a8c <__fixunsdfdi>: find . -name \*.o | awk '{print "echo " $0 "; nm ", $0" | grep fixdfdi"}' | sh @ lang/gcc3-c:/bin/tcsh ./genfixes machname.h SHELL=/bin/sh: Command not found. export: Command not found. if: Expression Syntax. gmake[2]: *** [machname.h] Error 1 gmake[2]: Leaving directory `/export/pkgsrc/lang/gcc3-c/work/gcc-3.3.5/gcc/fixinc' gmake[1]: *** [fixinc.sh] Error 2unsetenv SHELL env PATH=/usr/pkg/gcc3/bin:${PATH} make ... Compiling lib/time.c lib/time.c: In function `GetTimeOfDay': lib/time.c:66: error: too few arguments to function `gettimeofday' *** Error code 1 void GetTimeOfDay(struct timeval *tval) { #if 1 gettimeofday(tval,NULL); #else gettimeofday(tval); #endif }with gcc-3.3.5, ttypf:makoto@mini 16:13:18/060724(...net/samba)> sudo /etc/rc.d/samba start Starting nmbd. /usr/pkg/gcc3/lib/libgcc_s.so.1: Unsupported relocation type 10 in non-PLT relocationsin the log, we have the line Compiling libsmb/libsmbclient.c with -fPIC -DPIC @ gcc-3.3.6 with tsubai patch:gcc-3.3.6/gcc/config -I../../gcc-3.3.6/gcc/../include ../../gcc-3.3.6/gcc/f/com.c -o f/com.o --- gcc-3.3.6/gcc/f/com.c~ 2004-01-01 13:44:56.000000000 +0900 +++ gcc-3.3.6/gcc/f/com.c 2006-07-24 16:34:26.000000000 +0900 @@ -11075,7 +11075,7 @@ return decl; } -ffeinfoBasictype +ffeinfoKindtype ffecom_gfrt_basictype (ffecomGfrt gfrt) { assert (gfrt < FFECOM_gfrt); ../../gcc-3.3.6/gcc/java/gjavah.c:49: error: static declaration of 'flag_jni' follows non-static declaration --- gcc-3.3.6/gcc/java/gjavah.c~ 2003-03-29 07:18:48.000000000 +0900 +++ gcc-3.3.6/gcc/java/gjavah.c 2006-07-24 16:43:16.000000000 +0900 @@ -46,7 +46,7 @@ static int found_error = 0; /* Nonzero if we're generating JNI output. */ -static int flag_jni = 0; + flag_jni = 0; // see java-tree.h line 170, or different variable ? /* When nonzero, warn when source file is newer than matching class file. */ ttyq5:makoto@mini 16:43:19/060724(/export/local-src)> Making all in testsuite @ sudo pkg_add samba-3.0.21a.tgz:
Using old package for 3.99.15
ttypf:makoto@mini 17:17:33/060724(...packages/All)> sudo pkg_add samba-3.0.21a.tgz ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||||||||||||||||||