Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Compiling Questions



Edit the makefile and change
LDFLAGS = -s $(SSL_LIBS) $(SYSV_LIBS)
To
LDFLAGS = $(SSL_LIBS) $(SYSV_LIBS)
Or juste do
gcc -Wall -O http_load.o timers.o -o http_load

You can also use apache bench (ab) witch is already instaled

On 7/05/02 23:26, Tom Wiebe (email@hidden) wrote:

> Hi all,
>
> I'm trying to compile http_load on OS X 10.1.4 with the April 2002
> developers tools. Though this would be the place to ask as this is likely
> more of a Darwin issue than an OS X one and there's likely some people
> with knowledge of what my problem might be lurking about.
>
> The software in question is http_load from Acme Labs, which can be found
> at:
>
> http://www.acme.com/software/http_load/
>
> I know it's possible to build it on Darwin, as I previously had a binary
> that worked great, can't find where I got the binary any longer though, so
> I'm getting my fingers dirty in the source (of which I know nothing).
>
> running a simple "make" command from the terminal, I get the following
> output:
>
> [localhost:/usr/local/http_load-04jan2002] root# make
> gcc -Wall -O -c http_load.c
> gcc -Wall -O -c timers.c
> gcc -Wall -O http_load.o timers.o -s -o http_load
> /usr/bin/ld: can't use -s with input files containg indirect symbols
> (output file must contain at least global symbols, for maximum stripping
> use -x)
> make: *** [http_load] Error 1
>
> Being a neophyte, I haven't a clue where to go from here. Any pointers
> would be greatly appreciated.
>
> Tom Wiebe
> _______________________________________________
> darwinos-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/darwinos-users
> Do not post admin requests to the list. They will be ignored.
>

--
Jean-Edouard BABIN
Mail : email@hidden
Web : www.Jeb.com.fr
Icq : 27305084
Irc : Jeb @#Mac-fr , @#So .. UnderNet.org
_______________________________________________
darwinos-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwinos-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Newbie Compiling Questions (From: Tom Wiebe <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.