Tiny Core Base > CorePlus

*SOLVED* GCC Compiler Missing Header

(1/8) > >>

eltone:
Hi,

Cannot compile  SRC, due to missing vga.h header on TCP 4.73.  Where is the GCC dependency that is used to load this missing header file/folder 'vga.h'?

THX
eltone

gerald_clark:
Apps provides functions says it is in linux-headers.

eltone:

--- Quote from: gerald_clark on March 09, 2013, 09:17:35 PM ---Apps provides functions says it is in linux-headers.

--- End quote ---

Hi gerald_clark,
Your suggestion resulted in the same error dialog:

tc@box:$make -f svgalib/makefile
gcc -march=i486 -O2 -fomit-frame-pointer -g -Wall -D LINUX -D POSIX -D CLEMTEST -D OVRL -D NOKEY -D HICOLOR    -c -o linmain.o linmain.c
linmain.c:7:17: fatal error: vga.h: No such file or directory
compilation terminated.
make: *** [linmain.o] Error 1
tc@box:$
*************
THX 4 RPY!
eltone

gerald_clark:
Edit your makefile to correspond to Core standards.

eltone:

--- Quote from: gerald_clark on March 09, 2013, 10:44:32 PM ---Edit your makefile to correspond to Core standards.

--- End quote ---
Hi gerald_clark,
Core Standards might be different than mine.  Please point me to the one etched-in-stone?

eltone
*orignal makefile:

TH# Makefile for Arachne on Linux

CC=gcc
STRIP=strip

CFLAGS  = -march=i486 -O2 -fomit-frame-pointer -g -Wall
CFLAGS += -D LINUX -D POSIX -D OVRL -D NOKEY -D CLEMTEST -D HICOLOR -D GGI
OFILES  = linmain.o linglue.o iekernel.o ie_fce.o ie_key.o str.o
OFILES += ie_bin.o fexists.o config.o version.o errors.o outs.o html.o
OFILES += htmlutil.o htmtable.o htmlread.o htmlstat.o atoms.o scrolbar.o
OFILES += htmldraw.o svgastat.o svgaovrl.o guidraw.o hdrawgif.o hdrawbmp.o
OFILES += urlovrl.o urlstat.o mime.o misc.o inettime.o v_putimg.o html256c.o
OFILES += entity.o search.o htmlcsim.o putikonw.o gui.o guitick.o protocol.o
OFILES += guieven2.o highligh.o init.o globals.o guievent.o cgiquery.o print.o
OFILES += drawtime.o prtscr.o onmouse.o prespalp.o ipalpal.o tagsort.o main.o
OFILES += bitpix8.o x_char.o x_text.o x_font.o x_txtwh.o x_charmax.o x_cursor.o
OFILES += asockets.o http.o htkernel.o base64.o inetstr.o ps.o anyimage.o
OFILES += wheelmou.o parsecss.o

LIBS    = -lggi -lpthread

%.o: ../%.c
   $(CC) $(CFLAGS) -c -o $*.o $<

arachne:   $(OFILES)
   $(CC) -o arachne-ggi $(OFILES) $(LIBS)
#   $(STRIP) arachne

clean:
   @rm -f *.o arachne-ggiX
***********

Navigation

[0] Message Index

[#] Next page

Go to full version