Re: [dev] Problem building dmenu tip

2010-12-01 Thread Connor Lane Smith
Hey, I've pushed a patch which should work to tip. Funnily enough if you want an elegant solution you either have to use GNU make *or* BSD make. To make them both happy you have to list every dependency twice. No kidding. Thanks, cls

Re: [dev] Problem building dmenu tip

2010-12-01 Thread crap
Isn't suckless supposed to use a portable subset of Makefile that's understood by most make-programs? Relying on gmake is usually a bad idea, even if it's present everywhere. I try to keep my makefiles portable by - for instance - using .c.o: instead of %.o: %.c which would

Re: [dev] Problem building dmenu tip

2010-12-01 Thread julien steinhauser
On Wed, Dec 01, 2010 at 12:00:51AM +, Connor Lane Smith wrote: > What is the reason for the failure on OpenBSD? Before doing anything, I had the same message as Josh's : make

Re: [dev] Problem building dmenu tip

2010-11-30 Thread Connor Lane Smith
Hey, On 30 November 2010 22:19, julien steinhauser wrote: > This is an old topic, I guess you solved it, > but as I didn't see the answer on the list and met > the same situation also on OpenBSD with latest dmenu tip : > Revision 320 is in cause, reverting it fixes the issue. > patch attached W

Re: [dev] Problem building dmenu tip

2010-11-30 Thread julien steinhauser
On Sun, Jul 18, 2010 at 04:40:57PM -0400, Josh Rickmar wrote: > > I'm having the following problem when building dmenu tip on OpenBSD > current. At first I thought it was a problem with OpenBSD, but a user > in the irc channel said he remembers a similar problem when linking with > ld on Linux.

Re: [dev] Problem building dmenu tip

2010-07-19 Thread Josh Rickmar
On Mon, Jul 19, 2010 at 11:35:03AM +0200, Szabolcs Nagy wrote: > * Anselm R Garbe [2010-07-19 07:45:16 +0100]: > > > On 18 July 2010 21:40, Josh Rickmar wrote: > > > CC -o dinput > > > /usr/lib/crt0.o(.text+0x9d): In function `___start': > > > : undefined reference to `main' > > > collect2: ld r

Re: [dev] Problem building dmenu tip

2010-07-19 Thread Josh Rickmar
On Mon, Jul 19, 2010 at 08:30:40AM +0200, Szabolcs Nagy wrote: > On 7/18/10, Josh Rickmar wrote: > > in the irc channel said he remembers a similar problem when linking with > > ld on Linux. Any ideas? > > nah, that's not what i meant > > i just noted that you get similar error when you link wi

Re: [dev] Problem building dmenu tip

2010-07-19 Thread Szabolcs Nagy
* Anselm R Garbe [2010-07-19 07:45:16 +0100]: > On 18 July 2010 21:40, Josh Rickmar wrote: > > CC -o dinput > > /usr/lib/crt0.o(.text+0x9d): In function `___start': > > : undefined reference to `main' > > collect2: ld returned 1 exit status > > *** Error code 1 > > > > Stop in /home/joshua/src/d

Re: [dev] Problem building dmenu tip

2010-07-18 Thread Anselm R Garbe
On 18 July 2010 21:40, Josh Rickmar wrote: > I'm having the following problem when building dmenu tip on OpenBSD > current.  At first I thought it was a problem with OpenBSD, but a user > in the irc channel said he remembers a similar problem when linking with > ld on Linux.  Any ideas? > > dmenu

Re: [dev] Problem building dmenu tip

2010-07-18 Thread Szabolcs Nagy
On 7/18/10, Josh Rickmar wrote: > in the irc channel said he remembers a similar problem when linking with > ld on Linux. Any ideas? nah, that's not what i meant i just noted that you get similar error when you link with ld in general like ld -o foo -lc foo.o > /usr/lib/crt0.o(.text+0x9d): In

[dev] Problem building dmenu tip

2010-07-18 Thread Josh Rickmar
I'm having the following problem when building dmenu tip on OpenBSD current. At first I thought it was a problem with OpenBSD, but a user in the irc channel said he remembers a similar problem when linking with ld on Linux. Any ideas? dmenu build options: CFLAGS = -std=c99 -pedantic -Wall -Os