[uClinux-dev] R_68K_GOT16O compiling samba with the new uclinux-dist

Daniel Alomar dalomar at serrasold.com
Thu Jan 12 08:36:45 EST 2006


Hi,

With the newest uclinux dist I have one linking error:
mkdir bin
Linking bin/smbd
bin/smbd.elf2flt(.text+0x56): In function `init_printer_values':
../param/loadparm.c:1214: relocation truncated to fit: R_68K_GOT16O against
symbol `string_set' defined in .text section in bin/smbd.elf2flt
bin/smbd.elf2flt(.text+0x64):../param/loadparm.c:1215: relocation truncated
to fit: R_68K_GOT16O against symbol `string_set' defined in .text section in
bin/smbd.elf2flt
bin/smbd.elf2flt(.text+0x7a):../param/loadparm.c:1221: relocation truncated
to fit: R_68K_GOT16O against symbol `string_set' defined in .text section in
bin/smbd.elf2flt
bin/smbd.elf2flt(.text+0x88):../param/loadparm.c:1222: relocation truncated
to fit: R_68K_GOT16O against symbol `string_set' defined in .text section in
bin/smbd.elf2flt
bin/smbd.elf2flt(.text+0x96):../param/loadparm.c:1223: relocation truncated
to fit: R_68K_GOT16O against symbol `string_set' defined in .text section in
bin/smbd.elf2flt
...
make[4]: *** [bin/smbd] Error 1
make[4]: Leaving directory
`/home/daniel/uClinux/OuClinux-dist/user/samba/source/build'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/daniel/uClinux/OuClinux-dist/user/samba/source'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/daniel/uClinux/OuClinux-dist/user/samba'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/daniel/uClinux/OuClinux-dist/user'
make: *** [subdirs] Error 

Browsing the Net I found this topic:
http://mailman.uclinux.org/pipermail/uclinux-dev/2003-April/016922.html on
the uClinux-dev.

If I enable the "DISABLE_XIP         = 1            # XIP works fine" line
from config.arch, then the process ends without errors, but my kernel image
(ziped) goes from 1,44 MB to 2,89 MB!!! Furthermore, appears a smbpasswd
file (1.2 MB) on the /bin folder in the previous release. And my files under
uClinux-dev/romfs/bin folder smbd is 2.2 MB size (837 KB on previous) and
nmbd 785 KB (397 KN on previous) 

Anyone know what can I do? Play lotto?

Regards,

Daniel Alomar i Claramonte
Research & Development Electronic Dept.
SERRA SOLDADURA, S.A.
WEB Site: http://www.serrasold.com
Knowledge Site: http://serratron.serrasold.com 




More information about the uClinux-dev mailing list