pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xdemineur build fails




To: pkgsrc-users%netbsd.org@localhost

Subject: Re: xdemineur build fails

From: Paul Goyette <paul%whooppee.com@localhost>

Date: Tue, 11 Nov 2025 21:59:34 -0800 (PST)


I fixed this one


On Mon, 10 Nov 2025, Paul Goyette wrote:


Build host is NetBSD amd64 11.99.3 from 2 days ago

On Mon, 10 Nov 2025, Paul Goyette wrote:


...
--- main.o ---
main.c: In function 'main':
main.c:49:12: error: implicit 
declaration of function 'strcmp'  [-Wimplicit-function-declaration]
  49 |       if ( strcmp ( argv[i] , "-v" ) == 0 )
     |            ^~~~~~
main.c:27:1: note: inclu
de '<string.h>' or provide a declaration of  'strcmp'
  26 | #include "xdemineur.h"
 +++ |+#include <string.h>
  27 |
*** [main.o] Error code 1
...

+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+



+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+



+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)           | 1B11 1849 721C 56C8 F63A | paul%whooppee.com@localhost    |
| Software Developer  | 6E2E 05FD 15CE 9F2D 5102 | pgoyette%netbsd.org@localhost  |
| & Network Engineer  |                          | pgoyette99%gmail.com@localhost |
+---------------------+--------------------------+----------------------+


References:

xdemineur build fails
From: Paul Goyette

Re: xdemineur build fails
From: Paul Goyette




Prev by Date: Re: print/enscript build failure

Next by Date: lua-socket vs sockaddr_un

Previous by Thread: Re: xdemineur build fails

Next by Thread: build failure sysutils/apcupsd

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index