From owner-freebsd-openoffice@FreeBSD.ORG Thu Jul 24 04:01:33 2003 Return-Path: Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 53B2437B401 for ; Thu, 24 Jul 2003 04:01:33 -0700 (PDT) Received: from panix.ecof.org.br (panix.ecof.org.br [200.18.101.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AB1343FAF for ; Thu, 24 Jul 2003 04:01:31 -0700 (PDT) (envelope-from pan@panix.ecof.org.br) Received: (from root@localhost) by panix.ecof.org.br (8.12.9/8.12.8) id h6OB1Wih036797 for openoffice@freebsd.org; Thu, 24 Jul 2003 08:01:32 -0300 (BRT) (envelope-from pan@panix.ecof.org.br) Received: from panix.ecof.org.br (localhost.ecof.org.br [127.0.0.1]) by panix.ecof.org.br (8.12.9/8.12.8av) with ESMTP id h6OB1Qt1036790 for ; Thu, 24 Jul 2003 08:01:31 -0300 (BRT) (envelope-from pan@panix.ecof.org.br) Received: (from pan@localhost) by panix.ecof.org.br (8.12.9/8.12.8/Submit) id h6OB1OZi036789 for openoffice@freebsd.org; Thu, 24 Jul 2003 08:01:24 -0300 (BRT) (envelope-from pan) From: "Carlos F. A. Paniago" Message-Id: <200307241101.h6OB1OZi036789@panix.ecof.org.br> To: openoffice@freebsd.org Date: Thu, 24 Jul 2003 08:01:24 -0300 (BRT) X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS perl-11 Subject: Openoffice-devel... X-BeenThere: freebsd-openoffice@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting OpenOffice to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2003 11:01:33 -0000 People: I'm trying to compile th openoffice-devel in a FreeBSD 4.8 and received this error: -- Creating directory ../python-inst/man Creating directory ../python-inst/man/man1 /usr/bin/install -c -m 644 ./Misc/python.man ../python-inst/man/man1/python.1 mv ./unxfbsd.pro/misc/build/Python-2.2.2//so_built_so_python ./unxfbsd.pro/misc/build/so_built_so_python touch ./unxfbsd.pro/misc/build/so_installed_so_python touch ./unxfbsd.pro/misc/build/so_predeliver_so_python ld -shared -o ./unxfbsd.pro/lib/libpython.so.2.2.2 --whole-archive ./unxfbsd.pro/misc/build/Python-2.2.2/libpython2.2.a --no-whole-archive -soname libpython.so.2 -lm -lutil -pthread /usr/libexec/elf/ld: unrecognized option '-pthread' /usr/libexec/elf/ld: use the --help option for usage information dmake: Error code 1, while making './unxfbsd.pro/lib/libpython.so.2.2.2' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice-devel/work/oo_645_src/python dmake: Error code 1, while making 'build_all' ---* TG_SLO.MK *--- *** Error code 255 Stop in /usr/ports/editors/openoffice-devel. -- The ld doesnt like the -pthread flag. If I change this to $(CC) (the system is using the gcc32 as the compiler). This will pass, but I will have trouble with -lpython (An undefined variable). Does someone know the soution for this? Paniago -- Nome: Carlos Fernando Assis Paniago Email: pan@panix.ecof.org.br e pan@cnpm.embrapa.br Web: http://www.panix.ecof.org.br/ e http://www.cnpm.embrapa.br/ --