Open2300 - Bug Report 2007x 02x 24x 165724
You are here: Foswiki>Open2300 Web>BugReports>BugReport2007x02x24x165724 (01 May 2008, RodrigoOliveira)Edit Attach

BUG: Installation impossible on ubuntu server

many errors !!

Test case

root@server:/home/john/open2300# make install
mkdir -p /usr/local/bin
install open2300 /usr/local/bin
install: cannot stat `open2300': No such file or directory
make: *** [install] Error 1
root@test:/home/test/open2300# 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

Environment

Open2300 version: 1.10
Shared libraries: mysql
Server OS: Ubuntu Server 6.06 LTS

-- ResaAntoine - 24 Feb 2007

Follow up

It seems that you do not at all have any of the standard libraries installed needed for building C programs.

It is the most basic things that are missing like the most basic C header files.

I am not very familiar with Ubuntu but basically you need to use its package manager to install anything related to development and anything related to "header", "glibc" etc etc.

In any case this is not a bug in open2300.

Just try as root user: apt-get install libc6-dev

-- RodrigoOliveira - 01 May 2008

Fix record

Topic revision: r3 - 01 May 2008, RodrigoOliveira
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.