Glomation
 
Advanced Search
Welcome, Guest. Please login or register.

Login with username, password and session length
February 05, 2012, 07:14:33 AM
News: Glomation introduced new wireless ready low cost GESBC-9260S
Pages: [1]
Topic Tools  
Read July 31, 2010, 04:43:08 AM #0
mmenti

how to get wvdial and pppd?

Hi

To run my GSM modem, I need wvdial and pppd. I already tried to get wvdial by using apt-get with no success ("Couldn't find package wvdial"). I guess that I need to build them myself from scratch.

So I'm using the vmware debian Image (with toolchain already installed)from glomation site. I've already downloaded, patched and compiled the 2.6.27.46 kernel which is running ok. I also got the pppd sourcecode. I'm able to compile pppd using these commands:
Code:
./configure
CROSS_COMPILE=arm-unknown-linux-gnu- ARCH=arm KERNELSRC=/home/user/linux-2.6.27.46 make

But unfortunately, the generated app does not work on target machine:


Code:
# pppd
/usr/sbin/pppd: line 1: syntax error: unexpected "("

Is there any tutorial available how to cross-compile kernel modules? Or is there an option to get pppd/wvdial by using apt-get?

Best regards,

Marco
« Last Edit: July 31, 2010, 04:44:53 AM by mmenti »
 
Read August 02, 2010, 09:27:06 AM #1
admin

Re: how to get wvdial and pppd?

The factory installed file system is based Emdebian.  You need to build your own package if you want to use the same file system.  You can use Debian file system if you want to use pre-build Debian package.

 
Read August 07, 2010, 04:38:02 AM #2
mmenti

Re: how to get wvdial and pppd?

The factory installed file system is based Emdebian.  You need to build your own package if you want to use the same file system.  You can use Debian file system if you want to use pre-build Debian package.

Thanks for the response. I was able to build pppd package by using this command:

CC=arm-unknown-linux-gnu-gcc KERNELSRC=/home/user/linux-2.6.27.46 CROSS_COMPILE=arm-unknown-linux-gnu-gcc ARCH=arm make

Just a hint for others: to "make install", it seems that you need to remove the strip-command from make-files, because pppd package doesn't have cross compile support included.
 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re