LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 10-02-2005, 09:06 PM   #1
anubis26
Member
 
Registered: Jan 2005
Location: Somewhere in the Central Timezone
Distribution: Suse 10.0
Posts: 128

Rep: Reputation: 15
no make command,,, most likely compiler missing


Hello,
I've tried many different distros, and about2 days ago i installed Ubuntu (breezy badger). There is one problem, however. It seems as though the compiler is not installed (suprise!). When i try to build an app form source:
root@c--s:/home/mike/Desktop/SearchAndRescue-0.8.2# make all
bash: make: command not found
root@c--s:/home/mike/Desktop/SearchAndRescue-0.8.2# make install
bash: make: command not found
root@c--s:/home/mike/Desktop/SearchAndRescue-0.8.2# man make
No manual entry for make
root@c--s:/home/mike/Desktop/SearchAndRescue-0.8.2# ls
AUTHORS distclean include LICENSE pconf sar
configure INSTALL Makefile README
root@c--s:/home/mike/Desktop/SearchAndRescue-0.8.2#

I think this is the compiler...
I have tried to install gcc, but u have to compile that

Thanks in advance
 
Old 10-03-2005, 01:25 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Re: no make command,,, most likely compiler missing

Quote:
Originally posted by anubis26

I have tried to install gcc, but u have to compile that :confused:
I find that hard to believe ...
apt-get install gcc
and maybe something like
apt-get install make
?

If that's not quite it try
apt-cache search gcc
to get the actual names.


Cheers,
Tink
 
Old 10-03-2005, 01:14 PM   #3
walker
Member
 
Registered: Nov 2003
Posts: 75

Rep: Reputation: 15
Make has nothing to do with gcc
You can have gcc correctly installed but no make for the simple reason it has its own package.
Try dpkg -l | grep gcc to check if the compiler is installed
and dpkg -l | grep make to check the presence of make
If this is the case, gcc already installed but no make package installed use as written in the previous post this command to install it
apt-get install make
 
Old 10-03-2005, 06:07 PM   #4
anubis26
Member
 
Registered: Jan 2005
Location: Somewhere in the Central Timezone
Distribution: Suse 10.0
Posts: 128

Original Poster
Rep: Reputation: 15
Thanks for the quick replys

heres what i tried and what i got...

note: at the end, i tried man make (not shown) and it worked... it seems as though theres a new prob

mike@calculus:~$ dpkg -l | grep gcc
ii gcc-4.0-base 4.0.1-4ubuntu6 The GNU Compiler Collection (base package)
ii libgcc1 4.0.1-4ubuntu6 GCC support library
mike@calculus:~$ dpkg -l | grep make
ii imake 6.8.99.15-1 C preprocessor-based Makefile build system
ii makedepend 0.99.0-1 Dependency generator for C-based projects
ii makedev 2.3.1-78ubuntu2 creates device files in /dev
ii xmkmf 0.99.0-3 imake/X build system
mike@calculus:~$ ls
Desktop Firefox_wallpaper.png jre1.5.0_04 libjavaplugin_oji.so
mike@calculus:~$ cd Desktop
mike@calculus:~/Desktop$ ls
jre1.5.0_04 MPlayer-1.0pre7try2 SearchAndRescue-0.8.2.tgz
jre-1_5_0_04-linux-i586.bin SearchAndRescue-0.8.2
mike@calculus:~/Desktop$ cd SearchAndRescue-0.8.2
mike@calculus:~/Desktop/SearchAndRescue-0.8.2$ ls
AUTHORS distclean include LICENSE pconf sar
configure INSTALL Makefile README
mike@calculus:~/Desktop/SearchAndRescue-0.8.2$ make all
bash: make: command not found
mike@calculus:~/Desktop/SearchAndRescue-0.8.2$ man make
No manual entry for make
mike@calculus:~/Desktop/SearchAndRescue-0.8.2$ apt-get install make
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
mike@calculus:~/Desktop/SearchAndRescue-0.8.2$ su
Password:
root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# apt-get install make
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
make
0 upgraded, 1 newly installed, 0 to remove and 437 not upgraded.
Need to get 0B/429kB of archives.
After unpacking 1102kB of additional disk space will be used.

Preconfiguring packages ...
Selecting previously deselected package make.
(Reading database ... 67204 files and directories currently installed.)
Unpacking make (from .../archives/make_3.80-9_i386.deb) ...
Setting up make (3.80-9) ...

root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# make all
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'. Stop.
make: *** [all] Error 2
root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# make install
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'. Stop.
make: *** [install] Error 2
root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# make Makefile
make: Nothing to be done for `Makefile'.
root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2#
 
Old 10-03-2005, 06:38 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
I don't know SearchAndRescue, but did you have to run
(should you have run) ./configure ? What does the packages
README or INSTALL say?


Cheers,
Tink
 
Old 10-04-2005, 06:49 AM   #6
walker
Member
 
Registered: Nov 2003
Posts: 75

Rep: Reputation: 15
I've chacked the page of search and rescue.
First in the download section there are ready to install the two file you need already packaged for debian without the needed to compile something.
To install this game you need two packeges not only those you've downloaded.
http://wolfpack.twu.net/users/wolfpa...data-0.8.2.tgz
and
http://wolfpack.twu.net/users/wolfpa...scue-0.8.2.tgz

Unpack the first (...-data-...) then enter into that directory and run ./configure && make && make install (on the same line exactly how I've written)
leave the directory cd ..
Than unpack Search and rescue enter the newly created directory and another time ./configure && make && make install

If you have all the required packages installed

Requirements:

1. An implementation of OpenGL:
* DRI for hardware rendering
* Mesa3D for software rendering
2. libjsw (optional for joystick support, Linux and FreeBSD only)
3. YIFF (optional for sound & music support, Linux and FreeBSD only)

it should compile and run without trouble.
 
Old 10-04-2005, 03:23 PM   #7
anubis26
Member
 
Registered: Jan 2005
Location: Somewhere in the Central Timezone
Distribution: Suse 10.0
Posts: 128

Original Poster
Rep: Reputation: 15
Thank you for the quick replies...
Well, i wont be able to try these today, but will try first thing tomorrow
Once again, thank you
 
Old 10-05-2005, 04:43 PM   #8
anubis26
Member
 
Registered: Jan 2005
Location: Somewhere in the Central Timezone
Distribution: Suse 10.0
Posts: 128

Original Poster
Rep: Reputation: 15
UPDATE:::

mike@calculus:~$ cd Desktop
mike@calculus:~/Desktop$ ls
jre1.5.0_04 MPlayer-1.0pre7try2 SearchAndRescue-0.8.2.tgz
jre-1_5_0_04-linux-i586.bin SearchAndRescue-0.8.2
mike@calculus:~/Desktop$ cd SearchAndRescue-0.8.2
mike@calculus:~/Desktop/SearchAndRescue-0.8.2$ ls
AUTHORS distclean include LICENSE pconf sar
configure INSTALL Makefile README
mike@calculus:~/Desktop/SearchAndRescue-0.8.2$ ./configure
Collecting information about this platform...
Generating Platform Configurator and testing system's compiler...
rm -f *.o a.out core pconf
cc fio.c main.c proc.c utils.c -o pconf -Wall
make: cc: Command not found
make: *** [pconf] Error 127
Could not generate Platform Configurator and/or compiler not functioning,
you may not be able to compile/build any programs on this system. Please
review any errors encountered above and consult with vendors.

mike@calculus:~/Desktop/SearchAndRescue-0.8.2$ make
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'. Stop.
make: *** [all] Error 2
mike@calculus:~/Desktop/SearchAndRescue-0.8.2$ su
Password:
root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# ./configure
Collecting information about this platform...
Generating Platform Configurator and testing system's compiler...
rm -f *.o a.out core pconf
cc fio.c main.c proc.c utils.c -o pconf -Wall
make: cc: Command not found
make: *** [pconf] Error 127
Could not generate Platform Configurator and/or compiler not functioning,
you may not be able to compile/build any programs on this system. Please
review any errors encountered above and consult with vendors.

root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# ./configure --listall
Collecting information about this platform...
Generating Platform Configurator and testing system's compiler...
rm -f *.o a.out core pconf
cc fio.c main.c proc.c utils.c -o pconf -Wall
make: cc: Command not found
make: *** [pconf] Error 127
Could not generate Platform Configurator and/or compiler not functioning,
you may not be able to compile/build any programs on this system. Please
review any errors encountered above and consult with vendors.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Contents of install file:


S E A R C H A N D R E S C U E

I N S T A L L A T I O N I N S T R U C T I O N S


------------------------
STEP 1: Configure Source
------------------------

Configure the source for your system, type:

# ./configure --listall

This will run the compiler test and print all available
platforms. Choose the most appropriate platform and
add any additional arguments as needed (see ./configure --help
for more information on enabling/disabling and overriding
source configuration values).

To select your platform simply type the platform name and
any additional arguments to the ./configure line, example:

# ./configure Linux --prefix=/usr -v --enable="arch-i586"

------------------------
STEP 2: Building Program
------------------------

If there were no problems configuring the source for your
system, then just type:

# make all

This will start the compiling process.

If you encountered errors, then you should report them to the
authors. Read the AUTHORS file for a list of addresses.


--------------------
STEP 3: INSTALLATION
--------------------

To install, su to root as needed and type:

# make install

Note: If you specified an alternate prefix in the ./configure
line then the installation location may be different than shown
below.

Data files are installed in:

/usr/share/icons/SearchAndRescue.xpm
/usr/share/icons/SearchAndRescue2.xpm
/usr/share/icons/SearchAndRescue3.xpm

/usr/man/man6/SearchAndRescue.6.bz2

$HOME/.SearchAndRescue/

Program is installed in:

/usr/games/SearchAndRescue


Next, you need to install the latest SearchAndRescue data files
in to the directory.

/usr/share/games/SearchAndRescue/

You can obtain the latest data files at the same place where you
obtained this source. Once you have obtained the data files
package, su to root as needed and type:

# mkdir -p /usr/share/games/SearchAndRescue/
# cd /usr/share/games/SearchAndRescue/
# tar -zxvf /home/me/SearchAndRescue-data-#.#.#.tgz


---------------
STEP 4: RUNNING
---------------

To run this program type:

# SearchAndRescue &

For additional command line options, type:

# SearchAndRescue --help

Or for more detailed help, read the manual page:

# man SearchAndRescue


(Linux only) If you want joystick support then make sure that
you have compiled joystick support and that your joystick
driver modules are loaded, to find out type:

# lsmod | grep joy

To load modules type `modprobe <driver>', example:

# modprobe joy-analog

Many joysticks have more axises and buttons than what the
joystick driver detects on default. Read the documentation
that came with the joystick driver (usually from the Linux
kernel source /usr/src/linux/Documentation/joystick.txt).

Example if you have Saitek Cyborg 3D joystick:

# modprobe joy-analog js_an=0x201,1023,0


(Linux only) if you want sound support then make sure that
your Y server is configured and running. To check if your Y
server is running type:

# yrecinfo

If you see "Cannot connect to Y server" then that means the
Y server is not running or not listening to the default port.
You can double check by typing:

# ps aux|grep yiff

To see if the server is actually running.

To start the Y server, type:

# starty

Or calling the server directly without the script:

# /usr/sbin/yiff /usr/etc/yiffrc


If you need additional help, don't hesitate to ask. You can
contact the authors via e-mail, please read the file AUTHORS
for a list of addresses.

-----------------
SEARCH AND RESCUE
 
Old 10-05-2005, 05:11 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
I thought we had established that you don't have gcc
installed ... you have:
gcc-3.3-base

You alson need:
gcc-3.3
libgcc1

Install those and try again. Also note (for future reference):
If ./configure fails, running make makes no sense.


Cheers,
Tink
 
Old 10-05-2005, 05:32 PM   #10
anubis26
Member
 
Registered: Jan 2005
Location: Somewhere in the Central Timezone
Distribution: Suse 10.0
Posts: 128

Original Poster
Rep: Reputation: 15
Sorry,
I apologize for being a noob,
sorry

anyways this is what i got

mike@calculus:~$ apt-get install gcc-3.3
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
mike@calculus:~$ su
Password:
root@calculus:/home/mike# apt-get install gcc-3.3
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
cpp-3.3 gcc-3.3-base
Suggested packages:
gcc-3.3-doc
Recommended packages:
libc6-dev
The following NEW packages will be installed:
cpp-3.3 gcc-3.3 gcc-3.3-base
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2083kB of archives.
After unpacking 7811kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com breezy/main gcc-3.3-base 1:3.3.6-8ubuntu1 [150kB]
Get:2 http://us.archive.ubuntu.com breezy/main cpp-3.3 1:3.3.6-8ubuntu1 [1385kB]Get:3 http://us.archive.ubuntu.com breezy/main gcc-3.3 1:3.3.6-8ubuntu1 [548kB]
Fetched 2083kB in 4s (424kB/s)

Preconfiguring packages ...
Selecting previously deselected package gcc-3.3-base.
(Reading database ... 70746 files and directories currently installed.)
Unpacking gcc-3.3-base (from .../gcc-3.3-base_1%3a3.3.6-8ubuntu1_i386.deb) ...
Selecting previously deselected package cpp-3.3.
Unpacking cpp-3.3 (from .../cpp-3.3_1%3a3.3.6-8ubuntu1_i386.deb) ...
Selecting previously deselected package gcc-3.3.
Unpacking gcc-3.3 (from .../gcc-3.3_1%3a3.3.6-8ubuntu1_i386.deb) ...
Setting up gcc-3.3-base (3.3.6-8ubuntu1) ...
Setting up cpp-3.3 (3.3.6-8ubuntu1) ...
Setting up gcc-3.3 (3.3.6-8ubuntu1) ...
root@calculus:/home/mike# apt-get install libgcc1
Reading package lists... Done
Building dependency tree... Done
libgcc1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@calculus:/home/mike# cd Desktop
root@calculus:/home/mike/Desktop# ls
jre1.5.0_04 MPlayer-1.0pre7try2 SearchAndRescue-0.8.2
jre-1_5_0_04-linux-i586.bin sar
root@calculus:/home/mike/Desktop# SearchAndRescue-0.8.2
bash: SearchAndRescue-0.8.2: command not found
root@calculus:/home/mike/Desktop# cd SearchAndRescue-0.8.2
root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# make
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'. Stop.
make: *** [all] Error 2
root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# ./configure
Collecting information about this platform...
Generating Platform Configurator and testing system's compiler...
rm -f *.o a.out core pconf
cc fio.c main.c proc.c utils.c -o pconf -Wall
make: cc: Command not found
make: *** [pconf] Error 127
Could not generate Platform Configurator and/or compiler not functioning,
you may not be able to compile/build any programs on this system. Please
review any errors encountered above and consult with vendors.

root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2#
mike@calculus:~$ apt-get install gcc-3.3
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
mike@calculus:~$ su
Password:
root@calculus:/home/mike# apt-get install gcc-3.3
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
cpp-3.3 gcc-3.3-base
Suggested packages:
gcc-3.3-doc
Recommended packages:
libc6-dev
The following NEW packages will be installed:
cpp-3.3 gcc-3.3 gcc-3.3-base
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 2083kB of archives.
After unpacking 7811kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com breezy/main gcc-3.3-base 1:3.3.6-8ubuntu1 [150kB]
Get:2 http://us.archive.ubuntu.com breezy/main cpp-3.3 1:3.3.6-8ubuntu1 [1385kB]Get:3 http://us.archive.ubuntu.com breezy/main gcc-3.3 1:3.3.6-8ubuntu1 [548kB]
Fetched 2083kB in 4s (424kB/s)

Preconfiguring packages ...
Selecting previously deselected package gcc-3.3-base.
(Reading database ... 70746 files and directories currently installed.)
Unpacking gcc-3.3-base (from .../gcc-3.3-base_1%3a3.3.6-8ubuntu1_i386.deb) ...
Selecting previously deselected package cpp-3.3.
Unpacking cpp-3.3 (from .../cpp-3.3_1%3a3.3.6-8ubuntu1_i386.deb) ...
Selecting previously deselected package gcc-3.3.
Unpacking gcc-3.3 (from .../gcc-3.3_1%3a3.3.6-8ubuntu1_i386.deb) ...
Setting up gcc-3.3-base (3.3.6-8ubuntu1) ...
Setting up cpp-3.3 (3.3.6-8ubuntu1) ...
Setting up gcc-3.3 (3.3.6-8ubuntu1) ...
root@calculus:/home/mike# apt-get install libgcc1
Reading package lists... Done
Building dependency tree... Done
libgcc1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@calculus:/home/mike# cd Desktop
root@calculus:/home/mike/Desktop# ls
jre1.5.0_04 MPlayer-1.0pre7try2 SearchAndRescue-0.8.2
jre-1_5_0_04-linux-i586.bin sar
root@calculus:/home/mike/Desktop# SearchAndRescue-0.8.2
bash: SearchAndRescue-0.8.2: command not found
root@calculus:/home/mike/Desktop# cd SearchAndRescue-0.8.2
root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# make
make[1]: Makefile: No such file or directory
make[1]: *** No rule to make target `Makefile'. Stop.
make: *** [all] Error 2
root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# ./configure
Collecting information about this platform...
Generating Platform Configurator and testing system's compiler...
rm -f *.o a.out core pconf
cc fio.c main.c proc.c utils.c -o pconf -Wall
make: cc: Command not found
make: *** [pconf] Error 127
Could not generate Platform Configurator and/or compiler not functioning,
you may not be able to compile/build any programs on this system. Please
review any errors encountered above and consult with vendors.

root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2#
 
Old 10-06-2005, 01:04 PM   #11
anubis26
Member
 
Registered: Jan 2005
Location: Somewhere in the Central Timezone
Distribution: Suse 10.0
Posts: 128

Original Poster
Rep: Reputation: 15
(bump)
 
Old 10-06-2005, 01:41 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Ok, in a terminal, if you type
gcc -v
what do you get?

Also, what is your path?
echo $PATH
(please do that as both yourself and as root).

And one hint: next time you su to root, don't do
su
do
su -
instead.



Cheers,
Tink
 
Old 10-09-2005, 11:55 AM   #13
anubis26
Member
 
Registered: Jan 2005
Location: Somewhere in the Central Timezone
Distribution: Suse 10.0
Posts: 128

Original Poster
Rep: Reputation: 15
Hmmm, what is the difference between su and su - ???
Thanks
anubis

Here's what i got:

mike@calculus:~$ gcc -v
bash: gcc: command not found
mike@calculus:~$ echo $path

mike@calculus:~$ echo $PATH
/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games
mike@calculus:~$ su -
Password:
root@calculus:~# gcc -v
-su: gcc: command not found
root@calculus:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11
root@calculus:~#
 
Old 10-10-2005, 04:57 AM   #14
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
I'm moving this to the Ubuntu form in hopes you will get some better help there.

Good Luck.
 
Old 10-10-2005, 12:13 PM   #15
anubis26
Member
 
Registered: Jan 2005
Location: Somewhere in the Central Timezone
Distribution: Suse 10.0
Posts: 128

Original Poster
Rep: Reputation: 15
after trying apt-get install gcc,
gcc installs no prob

however, when i try to install search and rescue thru ./configure...

root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2# ./configure
Collecting information about this platform...
Generating Platform Configurator and testing system's compiler...
rm -f *.o a.out core pconf
cc fio.c main.c proc.c utils.c -o pconf -Wall
In file included from fio.c:1:
pconf.h:14:19: error: stdio.h: No such file or directory
pconf.h:15:20: error: stdlib.h: No such file or directory
pconf.h:16:19: error: ctype.h: No such file or directory
pconf.h:17:23: error: sys/types.h: No such file or directory
pconf.h:18:22: error: sys/stat.h: No such file or directory
In file included from fio.c:1:
pconf.h:255: error: syntax error before ‘FILE’
pconf.h:288: error: syntax error before ‘*’ token
pconf.h:288: warning: type defaults to ‘int’ in declaration of ‘FOPEN’
pconf.h:288: warning: data definition has no type or storage class
pconf.h:289: error: syntax error before ‘*’ token
pconf.h:290: error: syntax error before ‘*’ token
pconf.h:291: error: syntax error before ‘FILE’
pconf.h:292: error: syntax error before ‘*’ token
pconf.h:293: error: syntax error before ‘*’ token
pconf.h:294: error: syntax error before ‘*’ token
pconf.h:296: error: syntax error before ‘*’ token
fio.c: In function ‘PConfLoadPlatformsSanitizeLine’:
fio.c:29: error: ‘NULL’ undeclared (first use in this function)
fio.c:29: error: (Each undeclared identifier is reported only once
fio.c:29: error: for each function it appears in.)
fio.c: In function ‘PConfFreePlatform’:
fio.c:76: error: ‘NULL’ undeclared (first use in this function)
fio.c: In function ‘PConfFreePlatforms’:
fio.c:177: error: ‘NULL’ undeclared (first use in this function)
fio.c: In function ‘PConfLoadPlatformsFromFile’:
fio.c:209: error: ‘FILE’ undeclared (first use in this function)
fio.c:209: error: ‘fp’ undeclared (first use in this function)
fio.c:226: error: ‘NULL’ undeclared (first use in this function)
fio.c:235: warning: implicit declaration of function ‘fprintf’
fio.c:235: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:235: error: ‘stderr’ undeclared (first use in this function)
fio.c:289: warning: implicit declaration of function ‘realloc’
fio.c:301: warning: implicit declaration of function ‘calloc’
fio.c:301: warning: incompatible implicit declaration of built-in function ‘calloc’
fio.c:325: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:349: warning: incompatible implicit declaration of built-in function ‘calloc’
fio.c:376: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:400: warning: incompatible implicit declaration of built-in function ‘calloc’
fio.c:440: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:465: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:490: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:508: warning: implicit declaration of function ‘toupper’
fio.c:528: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:624: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:648: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:1013: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:1084: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c: In function ‘PConfLoadThisPlatformFromFile’:
fio.c:1116: error: ‘FILE’ undeclared (first use in this function)
fio.c:1116: error: ‘fp’ undeclared (first use in this function)
fio.c:1120: error: ‘NULL’ undeclared (first use in this function)
fio.c: In function ‘PConfGenerateOutputMakefile’:
fio.c:1176: error: ‘FILE’ undeclared (first use in this function)
fio.c:1176: error: ‘fp_in’ undeclared (first use in this function)
fio.c:1176: error: ‘fp_out’ undeclared (first use in this function)
fio.c:1176: warning: left-hand operand of comma expression has no effect
fio.c:1176: warning: statement with no effect
fio.c:1183: error: ‘NULL’ undeclared (first use in this function)
fio.c:1199: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:1200: error: ‘stderr’ undeclared (first use in this function)
fio.c:1208: warning: implicit declaration of function ‘printf’
fio.c:1208: warning: incompatible implicit declaration of built-in function ‘printf’
fio.c:1222: error: ‘EOF’ undeclared (first use in this function)
fio.c:1240: warning: incompatible implicit declaration of built-in function ‘fprintf’
fio.c:1249: warning: incompatible implicit declaration of built-in function ‘fprintf’
In file included from main.c:1:
pconf.h:14:19: error: stdio.h: No such file or directory
pconf.h:15:20: error: stdlib.h: No such file or directory
pconf.h:16:19: error: ctype.h: No such file or directory
pconf.h:17:23: error: sys/types.h: No such file or directory
pconf.h:18:22: error: sys/stat.h: No such file or directory
In file included from main.c:1:
pconf.h:255: error: syntax error before ‘FILE’
pconf.h:288: error: syntax error before ‘*’ token
pconf.h:288: warning: type defaults to ‘int’ in declaration of ‘FOPEN’
pconf.h:288: warning: data definition has no type or storage class
pconf.h:289: error: syntax error before ‘*’ token
pconf.h:290: error: syntax error before ‘*’ token
pconf.h:291: error: syntax error before ‘FILE’
pconf.h:292: error: syntax error before ‘*’ token
pconf.h:293: error: syntax error before ‘*’ token
pconf.h:294: error: syntax error before ‘*’ token
pconf.h:296: error: syntax error before ‘*’ token
main.c:4: error: syntax error before ‘FILE’
main.c:38: error: syntax error before ‘FILE’
main.c: In function ‘PConfSetColor’:
main.c:40: error: ‘stream’ undeclared (first use in this function)
main.c:40: error: (Each undeclared identifier is reported only once
main.c:40: error: for each function it appears in.)
main.c:40: error: ‘NULL’ undeclared (first use in this function)
main.c:43: error: ‘core_ptr’ undeclared (first use in this function)
main.c:49: error: ‘color_code’ undeclared (first use in this function)
main.c:50: warning: implicit declaration of function ‘fprintf’
main.c:50: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c: In function ‘PConfMatchPlatformByName’:
main.c:76: error: ‘NULL’ undeclared (first use in this function)
main.c:100: warning: control reaches end of non-void function
main.c: In function ‘PConfMatchFeatureByName’:
main.c:114: error: ‘NULL’ undeclared (first use in this function)
main.c:138: warning: control reaches end of non-void function
main.c: In function ‘PConfFreeCore’:
main.c:156: error: ‘NULL’ undeclared (first use in this function)
main.c: In function ‘PConfPrintHR’:
main.c:208: error: ‘stdout’ undeclared (first use in this function)
main.c: In function ‘PConfPrintHelp’:
main.c:224: error: ‘NULL’ undeclared (first use in this function)
main.c:227: warning: implicit declaration of function ‘printf’
main.c:227: warning: incompatible implicit declaration of built-in function ‘printf’
main.c: In function ‘PConfPrintPlatform’:
main.c:304: error: ‘NULL’ undeclared (first use in this function)
main.c:314: error: ‘stdout’ undeclared (first use in this function)
main.c:315: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:324: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:334: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:345: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:355: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:365: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:375: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:385: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:395: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:405: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:426: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:444: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:467: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:500: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:509: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:517: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:529: warning: incompatible implicit declaration of built-in function ‘printf’
main.c: In function ‘PConfPrintPlatforms’:
main.c:583: error: ‘NULL’ undeclared (first use in this function)
main.c:585: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:593: warning: incompatible implicit declaration of built-in function ‘printf’
main.c: In function ‘PConfPrereqCheck’:
main.c:655: error: ‘FILE’ undeclared (first use in this function)
main.c:655: error: ‘fp’ undeclared (first use in this function)
main.c:658: error: ‘NULL’ undeclared (first use in this function)
main.c: In function ‘main’:
main.c:715: error: ‘NULL’ undeclared (first use in this function)
main.c:759: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:853: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:854: error: ‘stderr’ undeclared (first use in this function)
main.c:878: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:968: warning: implicit declaration of function ‘calloc’
main.c:968: warning: incompatible implicit declaration of built-in function ‘calloc’
main.c:988: warning: implicit declaration of function ‘atoi’
main.c:1020: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:1043: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:1101: warning: incompatible implicit declaration of built-in function ‘printf’
main.c:1132: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:1144: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:1161: warning: incompatible implicit declaration of built-in function ‘fprintf’
main.c:1193: error: ‘stdout’ undeclared (first use in this function)
In file included from proc.c:1:
pconf.h:14:19: error: stdio.h: No such file or directory
pconf.h:15:20: error: stdlib.h: No such file or directory
pconf.h:16:19: error: ctype.h: No such file or directory
pconf.h:17:23: error: sys/types.h: No such file or directory
pconf.h:18:22: error: sys/stat.h: No such file or directory
In file included from proc.c:1:
pconf.h:255: error: syntax error before ‘FILE’
pconf.h:288: error: syntax error before ‘*’ token
pconf.h:288: warning: type defaults to ‘int’ in declaration of ‘FOPEN’
pconf.h:288: warning: data definition has no type or storage class
pconf.h:289: error: syntax error before ‘*’ token
pconf.h:290: error: syntax error before ‘*’ token
pconf.h:291: error: syntax error before ‘FILE’
pconf.h:292: error: syntax error before ‘*’ token
pconf.h:293: error: syntax error before ‘*’ token
pconf.h:294: error: syntax error before ‘*’ token
pconf.h:296: error: syntax error before ‘*’ token
proc.c:23: warning: ‘struct stat’ declared inside parameter list
proc.c:23: warning: its scope is only this definition or declaration, which is probably not what you want
proc.c: In function ‘PConfEnableFeature’:
proc.c:49: error: ‘NULL’ undeclared (first use in this function)
proc.c:49: error: (Each undeclared identifier is reported only once
proc.c:49: error: for each function it appears in.)
proc.c: In function ‘PConfDisableFeature’:
proc.c:78: error: ‘NULL’ undeclared (first use in this function)
proc.c: In function ‘PConfApplyArgsToPlatform’:
proc.c:110: error: ‘NULL’ undeclared (first use in this function)
proc.c:206: warning: implicit declaration of function ‘printf’
proc.c:206: warning: incompatible implicit declaration of built-in function ‘printf’
proc.c:264: warning: implicit declaration of function ‘fprintf’
proc.c:264: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:264: error: ‘stderr’ undeclared (first use in this function)
proc.c:276: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:293: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:325: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:339: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:351: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:368: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:393: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:418: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:449: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:474: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:505: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c: In function ‘PConfScanFileString’:
proc.c:527: error: ‘FILE’ undeclared (first use in this function)
proc.c:527: error: ‘fp’ undeclared (first use in this function)
proc.c:529: error: ‘NULL’ undeclared (first use in this function)
proc.c:543: error: ‘EOF’ undeclared (first use in this function)
proc.c: At top level:
proc.c:590: warning: ‘struct stat’ declared inside parameter list
proc.c:591: error: conflicting types for ‘PConfDependMatchFile’
proc.c:23: error: previous declaration of ‘PConfDependMatchFile’ was here
proc.c: In function ‘PConfDependMatchFile’:
proc.c:594: error: ‘NULL’ undeclared (first use in this function)
proc.c:624: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:625: error: ‘stderr’ undeclared (first use in this function)
proc.c:655: warning: implicit declaration of function ‘malloc’
proc.c:655: warning: incompatible implicit declaration of built-in function ‘malloc’
proc.c:661: warning: implicit declaration of function ‘sprintf’
proc.c:661: warning: incompatible implicit declaration of built-in function ‘sprintf’
proc.c:670: warning: implicit declaration of function ‘stat’
proc.c:680: warning: control reaches end of non-void function
proc.c: In function ‘PConfDependCheck’:
proc.c:698: error: storage size of ‘stat_buf’ isn’t known
proc.c:701: error: ‘NULL’ undeclared (first use in this function)
proc.c:705: warning: incompatible implicit declaration of built-in function ‘printf’
proc.c:805: warning: implicit declaration of function ‘fflush’
proc.c:805: error: ‘stdout’ undeclared (first use in this function)
proc.c:971: error: ‘stderr’ undeclared (first use in this function)
proc.c:974: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:1039: warning: incompatible implicit declaration of built-in function ‘fprintf’
proc.c:698: warning: unused variable ‘stat_buf’
proc.c: In function ‘PConfCheckDepends’:
proc.c:1091: error: ‘NULL’ undeclared (first use in this function)
proc.c:1144: warning: incompatible implicit declaration of built-in function ‘printf’
proc.c:1148: error: ‘stdout’ undeclared (first use in this function)
proc.c:1165: warning: incompatible implicit declaration of built-in function ‘printf’
proc.c:1228: error: ‘stderr’ undeclared (first use in this function)
proc.c:1231: warning: incompatible implicit declaration of built-in function ‘fprintf’
In file included from utils.c:1:
pconf.h:14:19: error: stdio.h: No such file or directory
pconf.h:15:20: error: stdlib.h: No such file or directory
pconf.h:16:19: error: ctype.h: No such file or directory
pconf.h:17:23: error: sys/types.h: No such file or directory
pconf.h:18:22: error: sys/stat.h: No such file or directory
In file included from utils.c:1:
pconf.h:255: error: syntax error before ‘FILE’
pconf.h:288: error: syntax error before ‘*’ token
pconf.h:288: warning: type defaults to ‘int’ in declaration of ‘FOPEN’
pconf.h:288: warning: data definition has no type or storage class
pconf.h:289: error: syntax error before ‘*’ token
pconf.h:290: error: syntax error before ‘*’ token
pconf.h:291: error: syntax error before ‘FILE’
pconf.h:292: error: syntax error before ‘*’ token
pconf.h:293: error: syntax error before ‘*’ token
pconf.h:294: error: syntax error before ‘*’ token
pconf.h:296: error: syntax error before ‘*’ token
utils.c:17: error: syntax error before ‘*’ token
utils.c:17: warning: type defaults to ‘int’ in declaration of ‘FOPEN’
utils.c:17: warning: data definition has no type or storage class
utils.c:18: error: syntax error before ‘*’ token
utils.c:19: error: syntax error before ‘*’ token
utils.c:20: error: syntax error before ‘FILE’
utils.c:21: error: syntax error before ‘*’ token
utils.c:22: error: syntax error before ‘*’ token
utils.c:23: error: syntax error before ‘*’ token
utils.c:25: error: syntax error before ‘*’ token
utils.c: In function ‘FREE’:
utils.c:35: error: ‘NULL’ undeclared (first use in this function)
utils.c:35: error: (Each undeclared identifier is reported only once
utils.c:35: error: for each function it appears in.)
utils.c:38: warning: implicit declaration of function ‘free’
utils.c: In function ‘STRLEN’:
utils.c:50: error: ‘NULL’ undeclared (first use in this function)
utils.c: In function ‘STRISYES’:
utils.c:67: error: ‘NULL’ undeclared (first use in this function)
utils.c:74: warning: implicit declaration of function ‘toupper’
utils.c: In function ‘STRDUP’:
utils.c:95: error: ‘NULL’ undeclared (first use in this function)
utils.c:101: warning: implicit declaration of function ‘malloc’
utils.c:101: warning: incompatible implicit declaration of built-in function ‘malloc’
utils.c: In function ‘STRCHR’:
utils.c:119: error: ‘NULL’ undeclared (first use in this function)
utils.c:130: warning: control reaches end of non-void function
utils.c: In function ‘STRSTRIP’:
utils.c:139: error: ‘NULL’ undeclared (first use in this function)
utils.c: In function ‘STRCASECMP’:
utils.c:184: error: ‘NULL’ undeclared (first use in this function)
utils.c: In function ‘STRPFX’:
utils.c:211: error: ‘NULL’ undeclared (first use in this function)
utils.c: In function ‘STRCASEPFX’:
utils.c:239: error: ‘NULL’ undeclared (first use in this function)
utils.c: In function ‘STRLISTAPPEND’:
utils.c:273: error: ‘NULL’ undeclared (first use in this function)
utils.c:286: warning: implicit declaration of function ‘realloc’
utils.c: In function ‘STRFREEARRAY’:
utils.c:308: error: ‘NULL’ undeclared (first use in this function)
utils.c: In function ‘GETENV’:
utils.c:325: error: ‘NULL’ undeclared (first use in this function)
utils.c:328: warning: implicit declaration of function ‘getenv’
utils.c:328: warning: return makes pointer from integer without a cast
utils.c: At top level:
utils.c:336: error: syntax error before ‘*’ token
utils.c:337: warning: return type defaults to ‘int’
utils.c: In function ‘FOPEN’:
utils.c:338: error: ‘NULL’ undeclared (first use in this function)
utils.c:341: warning: implicit declaration of function ‘fopen’
utils.c:341: warning: return makes pointer from integer without a cast
utils.c:342: warning: control reaches end of non-void function
utils.c: At top level:
utils.c:347: error: syntax error before ‘*’ token
utils.c: In function ‘FCLOSE’:
utils.c:349: error: ‘fp’ undeclared (first use in this function)
utils.c:349: error: ‘NULL’ undeclared (first use in this function)
utils.c:352: warning: implicit declaration of function ‘fclose’
utils.c: At top level:
utils.c:360: error: syntax error before ‘*’ token
utils.c: In function ‘FGETC’:
utils.c:362: error: ‘fp’ undeclared (first use in this function)
utils.c:362: error: ‘NULL’ undeclared (first use in this function)
utils.c:363: error: ‘EOF’ undeclared (first use in this function)
utils.c:365: warning: implicit declaration of function ‘fgetc’
utils.c:366: warning: control reaches end of non-void function
utils.c: At top level:
utils.c:371: error: syntax error before ‘FILE’
utils.c: In function ‘FPUTC’:
utils.c:373: error: ‘fp’ undeclared (first use in this function)
utils.c:373: error: ‘NULL’ undeclared (first use in this function)
utils.c:374: error: ‘EOF’ undeclared (first use in this function)
utils.c:376: warning: implicit declaration of function ‘fputc’
utils.c:376: error: ‘c’ undeclared (first use in this function)
utils.c:377: warning: control reaches end of non-void function
utils.c: At top level:
utils.c:383: error: syntax error before ‘*’ token
utils.c: In function ‘FSEEKNEXTLINE’:
utils.c:387: error: ‘fp’ undeclared (first use in this function)
utils.c:387: error: ‘NULL’ undeclared (first use in this function)
utils.c:401: error: ‘EOF’ undeclared (first use in this function)
utils.c: At top level:
utils.c:409: error: syntax error before ‘*’ token
utils.c: In function ‘FSEEKPASTSPACES’:
utils.c:413: error: ‘fp’ undeclared (first use in this function)
utils.c:413: error: ‘NULL’ undeclared (first use in this function)
utils.c:419: error: ‘EOF’ undeclared (first use in this function)
utils.c:425: warning: implicit declaration of function ‘fseek’
utils.c:425: error: ‘SEEK_CUR’ undeclared (first use in this function)
utils.c: At top level:
utils.c:442: error: syntax error before ‘*’ token
utils.c: In function ‘FGETLINE’:
utils.c:445: error: ‘NULL’ undeclared (first use in this function)
utils.c:448: error: ‘fp’ undeclared (first use in this function)
utils.c:455: error: ‘EOF’ undeclared (first use in this function)
utils.c: At top level:
utils.c:534: error: syntax error before ‘*’ token
utils.c: In function ‘FSEEKNEXTPARAMETER’:
utils.c:542: error: ‘fp’ undeclared (first use in this function)
utils.c:542: error: ‘NULL’ undeclared (first use in this function)
utils.c:544: error: ‘buf’ undeclared (first use in this function)
utils.c:556: error: ‘EOF’ undeclared (first use in this function)
utils.c:561: error: ‘comment’ undeclared (first use in this function)
utils.c:572: error: ‘SEEK_CUR’ undeclared (first use in this function)
utils.c:593: error: ‘delim’ undeclared (first use in this function)
make: *** [pconf] Error 1
Could not generate Platform Configurator and/or compiler not functioning,
you may not be able to compile/build any programs on this system. Please
review any errors encountered above and consult with vendors.

root@calculus:/home/mike/Desktop/SearchAndRescue-0.8.2#
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
missing make command transccend Linux - Software 6 02-27-2005 05:24 AM
C Compiler (make command) Caboose447 Suse/Novell 5 12-14-2004 05:19 PM
Missing a C compiler, do I need one? lin00b Linux - Newbie 2 09-23-2004 03:34 AM
Bash: make command missing Guiderone Linspire/Freespire 3 04-21-2004 12:04 PM
'make' command missing!(slackware 9) shasdf Slackware 4 03-24-2004 10:33 PM


All times are GMT -5. The time now is 12:41 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration