[FreeVMS] Linker

BERTRAND Joël joel.bertrand at systella.fr
Dim 17 Oct 11:58:27 CEST 2004


	Hello Roar,

	I come back in France after two months in the middle east and I have 
tried to use the last linker. The build process works fine, but I cannot 
use this linker to build executables:

grossebaf:[~/programmes/FreeVMS/freevms] > make vmsall
<...>
../linker/src/linker -L../linker/src/build/ld -melf_i386 -Bstatic hi.o 
/usr/lib/crt1.o /usr/lib/crti.o /usr/lib/libc.a -o i386/hi
/usr/lib/libc.a(strtoll.o)(.text+0x10b): In function
'__strtoll_internal':
: undefined reference to `__udivdi3'
/usr/lib/libc.a(strtoll.o)(.text+0x130): In function `__strtoll_internal':
: undefined reference to `__umoddi3'
/usr/lib/libc.a(strtoull.o)(.text+0x10b): In function `__strtoull_internal':
: undefined reference to `__udivdi3'
/usr/lib/libc.a(strtoull.o)(.text+0x130): In function `__strtoull_internal':
: undefined reference to `__umoddi3'
make[1]: *** [i386/hi] Erreur 1
make[1]: Leaving directory 
`/home/bertrand/programmes/FreeVMS/freevms/examples'
grossebaf:[~/programmes/FreeVMS/freevms] >

I have tested:
grossebaf:[/usr/lib] > nm libc.a | grep strtoll
<...>
strtoll.o:
00000950 W strtoll
00000000 T __strtoll_internal
strtoll_l.o:
          U strtoll
00000580 W __strtoll_l
00000580 W strtoll_l
00000000 T ____strtoll_l_internal
<...>
grossebaf:[/usr/lib] >

	These routines seem to be used to perdorm 64 bits computations in the 
kernel. How can you build executables ?

	Regards,

	JKB
-- 
Dr. BERTRAND Joël, Responsable du département recherche et développement
Systella S.A.R.L., La Sudrie, 19130 Vignols, France
Téléphone : +33 (0)1 56 82 00 22, Fax : +33 (0)1 40 60 08 10
Web http://www.systella.fr



Plus d'informations sur la liste de diffusion FreeVMS