Make problem
Question
I'm a s Linux newbie (I'm using Ubuntu 7.1) and I'm not able to solve the problem that I have with make,
can someone help me?
Thanks,
Gimmy
[code]
guido@guido-laptop:~/open2300-1.10$ make
gcc -Wall -O3 -DVERSION=\"1.10\" -c -o open2300.o open2300.c
In file included from rw2300.h:15,
from open2300.c:11:
linux2300.h:7:21: error: termios.h: No such file or directory
linux2300.h:8:20: error: unistd.h: No such file or directory
linux2300.h:9:24: error: netinet/in.h: No such file or directory
linux2300.h:10:24: error: arpa/inet.h: No such file or directory
linux2300.h:11:23: error: sys/ioctl.h: No such file or directory
linux2300.h:12:24: error: sys/socket.h: No such file or directory
linux2300.h:13:19: error: netdb.h: No such file or directory
In file included from open2300.c:11:
rw2300.h:18:20: error: string.h: No such file or directory
rw2300.h:19:19: error: fcntl.h: No such file or directory
rw2300.h:20:19: error: stdio.h: No such file or directory
rw2300.h:21:18: error: time.h: No such file or directory
rw2300.h:22:20: error: stdlib.h: No such file or directory
rw2300.h:24:18: error: math.h: No such file or directory
rw2300.h:25:23: error: sys/types.h: No such file or directory
rw2300.h:26:22: error: sys/stat.h: No such file or directory
open2300.c: In function ‘print_usage’:
open2300.c:27: warning: implicit declaration of function ‘printf’
open2300.c:27: warning: incompatible implicit declaration of built-in function ‘printf’
open2300.c:36: warning: implicit declaration of function ‘exit’
open2300.c:36: warning: incompatible implicit declaration of built-in function ‘exit’
open2300.c: In function ‘main’:
open2300.c:81: warning: incompatible implicit declaration of built-in function ‘exit’
open2300.c:84: warning: implicit declaration of function ‘strcmp’
open2300.c:87: warning: implicit declaration of function ‘atoi’
open2300.c:91: warning: implicit declaration of function ‘strlen’
open2300.c:91: warning: incompatible implicit declaration of built-in function ‘strlen’
open2300.c:95: warning: incompatible implicit declaration of built-in function ‘printf’
open2300.c:96: warning: incompatible implicit declaration of built-in function ‘exit’
open2300.c:103: warning: implicit declaration of function ‘strtol’
open2300.c:103: error: ‘NULL’ undeclared (first use in this function)
open2300.c:103: error: (Each undeclared identifier is reported only once
open2300.c:103: error: for each function it appears in.)
open2300.c:111: warning: incompatible implicit declaration of built-in function ‘strlen’
open2300.c:115: warning: incompatible implicit declaration of built-in function ‘printf’
open2300.c:116: warning: incompatible implicit declaration of built-in function ‘exit’
open2300.c:123: warning: incompatible implicit declaration of built-in function ‘printf’
open2300.c:124: warning: incompatible implicit declaration of built-in function ‘exit’
open2300.c:143: warning: incompatible implicit declaration of built-in function ‘printf’
open2300.c:144: warning: incompatible implicit declaration of built-in function ‘exit’
open2300.c:173: warning: incompatible implicit declaration of built-in function ‘printf’
open2300.c:174: warning: incompatible implicit declaration of built-in function ‘exit’
open2300.c:178: warning: incompatible implicit declaration of built-in function ‘printf’
open2300.c:203: warning: incompatible implicit declaration of built-in function ‘printf’
open2300.c:204: warning: incompatible implicit declaration of built-in function ‘exit’
open2300.c:208: warning: incompatible implicit declaration of built-in function ‘printf’
open2300.c:226: warning: incompatible implicit declaration of built-in function ‘exit’
make:
* [open2300.o] Error 1
[/code]
Environment
Open2300 version: |
1.10 |
Libraries: |
postgresql |
Server OS: |
Linux, Ubuntu 7.10 |
--
GimmyMallo - 02 Feb 2008
Answer