Hello,
I'd like to compile perl on a sparc-sun-solaris2.4 machine with
gcc (2.7.0) as a compiler and gas, gld (2.5.2) as assembler and
loader.
My first try was to accept Configure's defaults. That included
an option "-K pic" into some Makefiles, which was refused by
gcc. I removed dynamic loading, but got the following error
message:
ld -o ../../lib/auto/Fcntl/Fcntl.none Fcntl.o
Fcntl.o(.text+0xc): undefined reference to `croak'
Fcntl.o(.text+0x20): undefined reference to `errno'
Fcntl.o(.text+0x24): undefined reference to `errno'
Fcntl.o(.text+0x44): undefined reference to `errno'
Fcntl.o(.text+0x54): undefined reference to `strncmp'
Fcntl.o(.text+0x6c): undefined reference to `strcmp'
Fcntl.o(.text+0x84): undefined reference to `strcmp'
Fcntl.o(.text+0xa8): undefined reference to `strcmp'
Fcntl.o(.text+0xcc): undefined reference to `strcmp'
Fcntl.o(.text+0xf0): undefined reference to `strcmp'
Lots of other stuff deleted.
Any suggestions, how to carry on?
Jochen
I'd like to compile perl on a sparc-sun-solaris2.4 machine with
gcc (2.7.0) as a compiler and gas, gld (2.5.2) as assembler and
loader.
My first try was to accept Configure's defaults. That included
an option "-K pic" into some Makefiles, which was refused by
gcc. I removed dynamic loading, but got the following error
message:
ld -o ../../lib/auto/Fcntl/Fcntl.none Fcntl.o
Fcntl.o(.text+0xc): undefined reference to `croak'
Fcntl.o(.text+0x20): undefined reference to `errno'
Fcntl.o(.text+0x24): undefined reference to `errno'
Fcntl.o(.text+0x44): undefined reference to `errno'
Fcntl.o(.text+0x54): undefined reference to `strncmp'
Fcntl.o(.text+0x6c): undefined reference to `strcmp'
Fcntl.o(.text+0x84): undefined reference to `strcmp'
Fcntl.o(.text+0xa8): undefined reference to `strcmp'
Fcntl.o(.text+0xcc): undefined reference to `strcmp'
Fcntl.o(.text+0xf0): undefined reference to `strcmp'
Lots of other stuff deleted.
Any suggestions, how to carry on?
Jochen