TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: All
from: Nicholas Boel
date: 2012-02-24 11:17:04
subject: CVS modules

Re: CVS modules
  By: Nicholas Boel to All on Fri Feb 24 2012 12:59 am

 > ar s libareafix.a
 > gcc -s /home/axisd/husky/lib -shared -Wl,-soname,libareafix.so.1.9 \
 >   -o libareafix.so.1.9.0 afglobal.o areafix.o callback.o query.o version.o
 > \   -lhusky -lsmapi -lfidoconfig
 > /home/axisd/husky/lib: file not recognized: Is a directory
 > collect2: ld returned 1 exit status
 > make: *** [libareafix.so.1.9.0] Error 1

I made a little progress here, but I'm not a coder or a Makefile engineer or
anything, so if I did something terribly wrong, please let me know!

In the Makefile for areafix, I couldn't figure out where it was coming up with
the -s command. So I started tinkering a little bit. I changed the line:

LFLAGS+=$(LIBDIR)  # which I guessed was helping with that -s command

to:

LFLAGS=$(LIBDIR)

Taking out the "+" seemed to have gotten rid of the -s option. Then I
changed this line as well:

$(CC) $(LFLAGS) -shared -Wl,-soname,$(TARGETDLL).$(VERH) \

to:

$(CC) -L $(LFLAGS) -shared -Wl,-soname,$(TARGETDLL).$(VERH) \

Adding the -L option made it look at /home/axisd/husky/lib as a directory,
rather than a file. This gave me a successful compile and linked to
/home/axisd/husky/lib as well.

--
Nick aka axisd - telnet://bbs.pharcyde.org
                 http://pharcyde.org
--- SBBSecho 2.13-Linux
* Origin: thePharcyde_ telnet://bbs.pharcyde.org (Wisconsin) (1:154/10)
SEEN-BY: 3/0 633/267 640/954 712/0 313 550 848 953
@PATH: 154/10 250/100 123/500 261/38 712/848 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.