Re: [dev] [sxiv] doesn't want to be compiled

From: <ber.t_AT_posteo.de>
Date: Sat, 07 Oct 2017 18:59:20 +0200

Am 07.10.2017 14:55 schrieb Cág:
> Hi,
>
> I feel a bit stupid right now. The output is:
> [...]
> (.text+0x5a): undefined reference to `main'
> collect2: ld returned 1 exit status
> *** Error 1 in /home/caoc/code/suckless/sxiv (Makefile:30 'sxiv': cc
> -L/usr/X11R6/lib -L/usr/local/lib -o sxiv -lImlib2 -lX11 -lXft -lgif

Line 30 of your Makefile still contains the GNU make specific automatic
variable '$^'. You have to substitute it with '$(OBJ)' to make the LINK
cmd work.

        Bert
Received on Sat Oct 07 2017 - 18:59:20 CEST

This archive was generated by hypermail 2.3.0 : Sat Oct 07 2017 - 19:12:06 CEST