This got me started

Installed Ubuntu 8.04 (32 bit version) 
sudo apt-get subversion
sudo apt-get install build-essential
sudo apt-get install ncurses-dev
sudo apt-get install bison
sudo apt-get install flex
sudo apt-get install gettext
sudo apt-get install texinfo
sudo apt-get install autoconf
sudo apt-get install nasm
sudo apt-get install zlib1g-dev

My new Ubuntu system is currently building AstLinux(slow machine so will take 
awhile),not to sure if any additional packages are required but so far so good. 
 

Cheers Guy
 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ray
Fadaie
Sent: Friday, 22 August 2008 12:34 AM
To: AstLinux Users Mailing List
Subject: Re: [Astlinux-users] Zaptel driver with NXA800P

 

I asking because I tried it on a Ubuntu box and this is what I got:

[EMAIL PROTECTED]:~/Desktop/astlinux-trunk# make oldconfig 
make -C package/config conf
make[1]: Entering directory
`/home/ray/Desktop/astlinux-trunk/package/config'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I. -c conf.c -o
conf.o
conf.c:6:19: error: ctype.h: No such file or directory
conf.c:7:20: error: stdlib.h: No such file or directory
conf.c:8:20: error: string.h: No such file or directory
conf.c:9:20: error: unistd.h: No such file or directory
conf.c:10:18: error: time.h: No such file or directory
conf.c:11:22: error: sys/stat.h: No such file or directory
In file included from lkc.h:9,
                 from conf.c:14:
expr.h:13:19: error: stdio.h: No such file or directory
In file included from lkc.h:9,
                 from conf.c:14:
expr.h:176: error: expected declaration specifiers or '...' before
'FILE'
In file included from conf.c:14:
lkc.h:27: error: expected ')' before '*' token
lkc.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'*' token
lkc.h:65: error: expected specifier-qualifier-list before 'size_t'
conf.c: In function 'strip':
conf.c:44: warning: implicit declaration of function 'isspace'
conf.c:46: warning: implicit declaration of function 'strlen'
conf.c:46: warning: incompatible implicit declaration of built-in
function 'strlen'
conf.c:46: warning: pointer targets in passing argument 1 of 'strlen'
differ in signedness
conf.c:48: warning: implicit declaration of function 'memmove'
conf.c:48: warning: incompatible implicit declaration of built-in
function 'memmove'
conf.c: In function 'check_stdin':
conf.c:59: warning: implicit declaration of function 'printf'
conf.c:59: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:62: warning: implicit declaration of function 'exit'
conf.c:62: warning: incompatible implicit declaration of built-in
function 'exit'
conf.c: In function 'conf_askvalue':
conf.c:72: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:93: warning: implicit declaration of function 'fflush'
conf.c:93: error: 'stdout' undeclared (first use in this function)
conf.c:93: error: (Each undeclared identifier is reported only once
conf.c:93: error: for each function it appears in.)
conf.c:94: warning: implicit declaration of function 'fgets'
conf.c:94: error: 'stdin' undeclared (first use in this function)
conf.c:145: warning: implicit declaration of function 'random'
conf.c: In function 'conf_string':
conf.c:167: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:183: error: 'NULL' undeclared (first use in this function)
conf.c:187: warning: incompatible implicit declaration of built-in
function 'strlen'
conf.c:187: warning: pointer targets in passing argument 1 of 'strlen'
differ in signedness
conf.c:188: warning: pointer targets in assignment differ in signedness
conf.c: In function 'conf_sym':
conf.c:203: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:207: warning: implicit declaration of function 'putchar'
conf.c:236: warning: implicit declaration of function 'strcmp'
conf.c: In function 'conf_choice':
conf.c:295: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:305: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:349: error: 'stdout' undeclared (first use in this function)
conf.c:350: error: 'stdin' undeclared (first use in this function)
conf.c:359: warning: implicit declaration of function 'isdigit'
conf.c:360: warning: implicit declaration of function 'atoi'
conf.c:384: warning: incompatible implicit declaration of built-in
function 'strlen'
conf.c:384: warning: pointer targets in passing argument 1 of 'strlen'
differ in signedness
conf.c: In function 'conf':
conf.c:422: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c: In function 'check_conf':
conf.c:473: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c: In function 'main':
conf.c:489: error: storage size of 'tmpstat' isn't known
conf.c:498: warning: implicit declaration of function 'isatty'
conf.c:507: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:509: warning: incompatible implicit declaration of built-in
function 'exit'
conf.c:523: warning: implicit declaration of function 'srandom'
conf.c:523: warning: implicit declaration of function 'time'
conf.c:523: error: 'NULL' undeclared (first use in this function)
conf.c:527: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:528: warning: incompatible implicit declaration of built-in
function 'exit'
conf.c:533: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:542: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:545: warning: incompatible implicit declaration of built-in
function 'exit'
conf.c:549: warning: implicit declaration of function 'stat'
conf.c:550: warning: incompatible implicit declaration of built-in
function 'printf'
conf.c:556: warning: incompatible implicit declaration of built-in
function 'exit'
conf.c:579: warning: implicit declaration of function 'fprintf'
conf.c:579: warning: incompatible implicit declaration of built-in
function 'fprintf'
conf.c:579: error: 'stderr' undeclared (first use in this function)
conf.c:489: warning: unused variable 'tmpstat'

It's a very small Xubuntu installation so I don't have most of the
packages. I was wondering if there is a list somewhere that includes the
packages that I absolutely need to build Astlinux.




 

 

On Thu, Aug 21, 2008 at 10:28 AM, Ray Fadaie <[EMAIL PROTECTED]>
wrote:

Great. This will probably work. Thanks for the guidelines.
What packages do I want in the OS on which I am building Astlinux? 

On Thu, Aug 21, 2008 at 4:56 AM, Guy Neale <[EMAIL PROTECTED]> wrote:

        Ray
        
        If you're doing your own builds it maybe as easy as downloading
the appropriate  NXA800P patch file and dropping the patch into the
/package/zapel directory eg. if your building the current trunk you
could try downloading nxa8xx-zaptel-1.4.10.1.patch, rename the patch to
zaptel-nxa8xx-1.4.10.1.patch (the zaptel script only applies patch files
that are prefixed with "zaptel", hence the rename), drop the patch file
into your /package/zaptel directory and then build as normal.
        
        I'm no programmer, but have had success with patching zaptel for
short hook flash using this method, so maybe worth a try. hope this
helps
        
        Guy
        
        ________________________________
        
        From: [EMAIL PROTECTED] on behalf of
Ray Fadaie
        Sent: Wed 20-Aug-08 1:33 PM
        To: AstLinux Users Mailing List
        Subject: [Astlinux-users] Zaptel driver with NXA800P

        
        
        Guys,
        
        How should I patch the zaptel driver to work with NXA800P? They
have their own zaptel driver (from the source). This piece of hardware
is very cheap and can easily replace expensive Digium FXO/FXS boards.
        
        I got the hardware but I have no idea how to make it work on
Astlinux.
        
        http://www.nxtvox.com/faqs.php
        
        
        

         

        
------------------------------------------------------------------------
-
        This SF.Net email is sponsored by the Moblin Your Move
Developer's challenge
        Build the coolest Linux based applications with Moblin SDK & win
great prizes
        Grand prize is a trip for two to an Open Source event anywhere
in the world
        http://moblin-contest.org/redirect.php?banner_id=100&url=/
        _______________________________________________
        Astlinux-users mailing list
        [email protected]
        https://lists.sourceforge.net/lists/listinfo/astlinux-users
        
        Donations to support AstLinux are graciously accepted via PayPal
to [EMAIL PROTECTED]

 

 


<<winmail.dat>>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to