I'm getting a build error when trying to compile openssh3.3p1 under slackware 8.1 (i386). Clues anyone? gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o sshtty.o readconf.o cl ientloop.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -lssh - lopenbsd-compat -l z -lcrypto /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/../../../../i586-pc-linux- gnu/bin/l d: Dwarf Error: Invalid or unhandled FORM value: 14. /usr/local/lib/gcc-lib/i586-pc-linux- gnu/3.1/../../../libc.a(getopt.o):/tmp/glib c-2.2.5/posix/getopt.c:304: multiple definition of `optind' /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/../../../../i586-pc-linux- gnu/bin/l d: Dwarf Error: Invalid or unhandled FORM value: 14. openbsd-compat//libopenbsd-compat.a(getopt.o):/tmp/openssh- 3.3p1/openbsd-compat/ getopt.c:64: first defined here /usr/local/lib/gcc-lib/i586-pc-linux- gnu/3.1/../../../libc.a(getopt.o):/tmp/glib c-2.2.5/posix/getopt.c:304: multiple definition of `opterr' openbsd-compat//libopenbsd-compat.a(getopt.o):/tmp/openssh- 3.3p1/openbsd-compat/ getopt.c:64: first defined here collect2: ld returned 1 exit status make: *** [ssh] Error 1
Don't compile staticly. - Ben On Mon, 24 Jun 2002, Jordan Mack wrote:> I'm getting a build error when trying to compile openssh3.3p1 under > slackware 8.1 (i386). Clues anyone? > > gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o > sshtty.o readconf.o cl > ientloop.o -L. -Lopenbsd-compat/ -L/usr/local/ssl/lib -lssh - > lopenbsd-compat -l > z -lcrypto > /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/../../../../i586-pc-linux- > gnu/bin/l > d: Dwarf Error: Invalid or unhandled FORM value: 14. > /usr/local/lib/gcc-lib/i586-pc-linux- > gnu/3.1/../../../libc.a(getopt.o):/tmp/glib > c-2.2.5/posix/getopt.c:304: multiple definition of `optind' > /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/../../../../i586-pc-linux- > gnu/bin/l > d: Dwarf Error: Invalid or unhandled FORM value: 14. > openbsd-compat//libopenbsd-compat.a(getopt.o):/tmp/openssh- > 3.3p1/openbsd-compat/ > getopt.c:64: first defined here > /usr/local/lib/gcc-lib/i586-pc-linux- > gnu/3.1/../../../libc.a(getopt.o):/tmp/glib > c-2.2.5/posix/getopt.c:304: multiple definition of `opterr' > openbsd-compat//libopenbsd-compat.a(getopt.o):/tmp/openssh- > 3.3p1/openbsd-compat/ > getopt.c:64: first defined here > collect2: ld returned 1 exit status > make: *** [ssh] Error 1 > > > > > _______________________________________________ > openssh-unix-dev at mindrot.org mailing list > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev >
On Mon, Jun 24, 2002 at 03:52:07AM -0700, Jordan Mack wrote:> I'm getting a build error when trying to compile openssh3.3p1 under > slackware 8.1 (i386). Clues anyone? > > /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/../../../../i586-pc-linux- > gnu/bin/l > d: Dwarf Error: Invalid or unhandled FORM value: 14. > /usr/local/lib/gcc-lib/i586-pc-linux- > gnu/3.1/../../../libc.a(getopt.o):/tmp/glib > c-2.2.5/posix/getopt.c:304: multiple definition of `optind' > /usr/local/lib/gcc-lib/i586-pc-linux-gnu/3.1/../../../../i586-pc-linux- > gnu/bin/lMaybe you have a broken gcc installation and/or a broken libc installation under /usr/local ? The paths above are not the ones that Slackware uses.