9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm reading the GNU Make book I cannot understand the following syntax from the book.
objects = foo.o bar.o
all : $(objects)
$(objects) : %.o : %.c
$(CC) -c $(CFLAGS) $< -o $@
If I run: make, I get the output:
cc -c foo.c
cc -o foo foo.o
I think I... (3 Replies)
Discussion started by: santiagorf
I am having a devil of a time with a very simple make file. The program needs two shared and one static library. If I link the shared libraries only like below the mysql test app works
... (1 Reply)
Discussion started by: jadsys
The following is my Makefile, I wanted to add a staic library named libtimer.a. I'm using the following Makefile. Please let me know how to add this static library:
It produces "usbserial" executable.
S (1 Reply)
Discussion started by: suryaemlinux
4. IP Networking
hello, i need help on setting my coyote linux, i've working on this for last 5 days, can't get it to work. I've been posting this message to coyote forum, and other linux forum, but haven't get any answer yet. Hope someone here can help me...... please see my attached picture first.
... (0 Replies)
Discussion started by: dlwoaud
5. Shell Programming and Scripting
I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library)
Thanks. (1 Reply)
Discussion started by: cpthk
What's the easiest way to accomplish this? An admin left our company and I have taken over his HP Workstation and moved it to a different location that is on a different IP segment.
I have performed a number of google searches but the steps I have followed haven't worked.
... (1 Reply)
Discussion started by: Steelysteel
i will tell my problem with example:
if i have a folder name called sree1.7.3
i know the starting name say sree and also path say /usr/lib.
so i want the folder name.
and how can i link this folder in makefile
sree (1 Reply)
Discussion started by: phani_sree
i would like to know what is the differnce between static library and dynamic library?
How will u create them and what are there uses? (1 Reply)
Discussion started by: vijaya2006
ld: fatal: option -h and building a dynamic executable are incompatible
ld: fatal: Flags processing errors
When I run
ld -shared -L/usr/dt/lib -lDtSvc -o builtin.so Workspace.o
gcc -fPIC -I/usr/X11R6/include -I/usr/dt/include -c Workspace.c
I'm... (6 Replies)
Discussion started by: laho
dlerror - get diagnostic information
[flag ... ] file ... [library] ...
is one of a family of routines that give the user direct access to the dynamic linking facilities (using the option on the compiler or com-
mand line). returns a null-terminated character string (with no trailing newline) that describes the last error that occurred during
dynamic linking processing. If no dynamic linking errors have occurred since the last invocation of returns NULL. Thus, invoking second
time, immediately following a prior invocation, results in NULL being returned.
This routine is thread-safe.
The messages returned by may reside in a static buffer that is overwritten on each call to Application code should not write to this buf-
fer. Programs wishing to preserve an error message should make their own copies of that message.
dlclose(3C), dlopen(3C), dlsym(3C).
Texts and Tutorials:
(See the option)
(See manuals(5) for ordering information)