From owner-freebsd-mips@FreeBSD.ORG Tue Mar 1 08:32:15 2011 Return-Path: Delivered-To: mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8809106564A for ; Tue, 1 Mar 2011 08:32:15 +0000 (UTC) (envelope-from bhanuprakashbodireddy@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id A1CAC8FC14 for ; Tue, 1 Mar 2011 08:32:15 +0000 (UTC) Received: by pzk32 with SMTP id 32so960064pzk.13 for ; Tue, 01 Mar 2011 00:32:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=VwNcQLDrJdVj5FCJJ9xMhWuz18sqhB8SjVqakcAsFkU=; b=dOU1STCOh/KQn8wcc51qjos40FcMFvXxeE5y8hjsUcOYAeXKnXDQNs15iG0MJaKLcl RH1oQUbUQvFVx7zomwdezS01gd65fiqC8xNh0ixpr1r5mXuUYT13uO/nZfAcpOKU/kBl c2GnTfEMLEaYFh14PE+29KyJPi74BzGf0JzbQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=JG8xJ8aMszbhCF9lSxqp255l37EOg5ifYkNDn0KvxWInmCjUaV7peNajQFEjMysgbB 0zd80hjlqE2wgdkuqk2ubRjz4o/NlULkbe4bzCwR9+B75Anr1EcTW60rguMHE2WPaqj1 BQPCubLej3zec0hdUwNTj9ba5H4PWnwf5kTaU= MIME-Version: 1.0 Received: by 10.142.195.7 with SMTP id s7mr195646wff.146.1298966500990; Tue, 01 Mar 2011 00:01:40 -0800 (PST) Received: by 10.142.240.5 with HTTP; Tue, 1 Mar 2011 00:01:40 -0800 (PST) Date: Tue, 1 Mar 2011 13:31:40 +0530 Message-ID: From: bhanuprakash bodireddy To: aduane@juniper.net Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: mips@freebsd.org Subject: Problems building an OCTEON1 kernel X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2011 08:32:15 -0000 Hi aduane, I normally set below environment variables to build OCTEON kernel for n64 ABI. 'make buildkernel' works fine with this settings. TARGET=mips TARGET_CPUTYPE=mips64 TARGET_ARCH=mips64eb linking kernel.debug hack.So: could not read symbols: File in wrong format *** Error code 1 The probable cause for the above issue could be, TARGET_ARCH variable isn't set or improperly set this time when you are building the kernel. Thanks, Bhanu Prakash.