From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpiKJ-0002nn-9D for mharc-grub-devel@gnu.org; Tue, 24 Jan 2012 10:30:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34025) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpiKB-0002ml-Qn for grub-devel@gnu.org; Tue, 24 Jan 2012 10:30:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpiKA-0001BJ-9P for grub-devel@gnu.org; Tue, 24 Jan 2012 10:30:19 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:56412) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpiKA-0001Ae-1q for grub-devel@gnu.org; Tue, 24 Jan 2012 10:30:18 -0500 Received: by wicr5 with SMTP id r5so4013286wic.0 for ; Tue, 24 Jan 2012 07:30:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ecTn/P2EZoYc/DNRDOusRQ3HlKiAkihu71sy4PMIfs4=; b=MPU+UhUnZ6sQH75I3oQE5LxDHyDwYxnwn0st1clZv3o+I7C7f9NUOBFDreAIJF+B+4 88FhKTz54+Fnge3T7g8IKMNAx+PfReqJzhoaHiyoXQB0xJnHPRwY+4eWkOb6xh2HF5wv BDz9J+92e+9onrPL+yRGSBG+FoldxjxzlmqNI= Received: by 10.180.82.5 with SMTP id e5mr4368404wiy.18.1327419015667; Tue, 24 Jan 2012 07:30:15 -0800 (PST) Received: from debian.x201.phnet (19-234.197-178.cust.bluewin.ch. [178.197.234.19]) by mx.google.com with ESMTPS id df2sm19316130wib.4.2012.01.24.07.30.13 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jan 2012 07:30:14 -0800 (PST) Message-ID: <4F1ECE82.9020709@gmail.com> Date: Tue, 24 Jan 2012 16:30:10 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120104 Icedove/8.0 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: undefined reference to 'system' References: <4F1EC2F2.20304@jomammele.de> In-Reply-To: <4F1EC2F2.20304@jomammele.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.169 Cc: Joachim Mammele X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2012 15:30:25 -0000 On 24.01.2012 15:40, Joachim Mammele wrote: > Hi everybody, > I have got a tablet with special frontkeys and I would like to install > and adapt android on it. This works fine with the project android-x86.org > The version you refer to, isn't supported anymore. Only GRUB2 is still developped. GRUB Legacy is abandoned. > > bits9 = system("readFrontKey"); You can't use usual syscalls inside bootloader. GRUB2 has its own API which is somewhat posix-like but has no such things as "system", pipes or forks, and normally there shouldn't be any need. -- Regards Vladimir 'φ-coder/phcoder' Serbinenko