🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.linux.development.apps
1 messages
1 total messages Started by Shayne G. Wright Fri, 29 Mar 1996 05:03
Questions about include files, and make file error
#10
Author: Shayne G. Wright
Date: Fri, 29 Mar 1996 05:03
37 lines
1728 bytes
	Hi

		I have two questions about C programming, the
	first is for general interest, the second concerns my
	inability to compile procps-0.99 (the ps, top, watch,
	etc. processor utilities). I am using GCC-2.7.0 on
	a system running Linux-1.3.72

		The first question is, can it be setup so that
	an #include <ncurses.h> statement, or similar, would
	cause the compiler to look in /usr/include/ncurses
	or any other subdirectory, or do I have to make use of
	symbolic links and/or move the *.h files to /usr/include/

		The second question is, is there anything wrong
	with this line from a Makefile

	ld -shared,-Wl,-soname,$(SONAME) -o $@ $^

		Whenever I reach this part of the compilation
	I receive the following message :


Script started on Thu Mar 28 21:25:03 1996
krusty[proc]=2=>>make
ld -shared -Wl,-soname,libproc.so.0.99 -o libproc.so.0.99 alloc.o 
compare.o devname.o output.o pwcache.o readproc.o signals.o snap.o 
status.o sysinfo.o version.o whattime.o
ld: unrecognized option `-Wl,-soname,libproc.so.0.99'
make: *** [libproc.so.0.99] Error 1
krusty[proc]=3=>>exit
Script done on Thu Mar 28 21:25:26 1996


			As always my thanks
			Take Care 
			Shayne
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads