Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2024 14:27:26 +0000 (UTC)
From:      Filippo Moretti <filippomore@yahoo.com>
To:        Freebsd-stable List <stable@freebsd.org>
Subject:   Error compiling ghostscript10
Message-ID:  <421829821.4182418.1710340046205@mail.yahoo.com>
References:  <421829821.4182418.1710340046205.ref@mail.yahoo.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #23 stable/14-n266950-f7d51eb77e84: Sun Mar 10 00:33:51 CET 2024     filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64





r/local/include -DUSE_LIBPAPER -I/usr/local/include -fno-strict-aliasing -DHAVE_POPEN_PROTO=1   -DSHARE_JPX=1 -I/usr/local/include/openjpeg-2.5 -DUSE_OPENJPEG_JP2  -DPDF_INCLUDED -I./pdf -I./soobj -I./pcl/pl -I./base -Isrc/lib -I./jpegxr -Isrc -Isrc/src/lib/openjp2 -Isrc -c ./pdf/pdf_sec.c -o ./soobj/pdf_sec.o
./pdf/pdf_sec.c:186:25: warning: incompatible pointer types assigning to 'char **' from 'char *'; take the address with & [-Wincompatible-pointer-types]
  186 |             NewPassword = Password;
      |                         ^ ~~~~~~~~
      |                           &
./pdf/pdf_sec.c:187:20: error: incompatible integer to pointer conversion assigning to 'int *' from 'int'; take the address with & [-Wint-conversion]
  187 |             NewLen = Len;
      |                    ^ ~~~
      |                      &
1 warning and 1 error generated.
gmake[2]: *** [pdf/pdf.mak:169: soobj/pdf_sec.o] Error 1
gmake[2]: Leaving directory '/usr/ports/print/ghostscript10/work/ghostscript-10.03.0'
gmake[1]: *** [base/unix-dll.mak:321: so-only-subtarget] Error 2
gmake[1]: Leaving directory '/usr/ports/print/ghostscript10/work/ghostscript-10.03.0'
gmake: *** [base/unix-dll.mak:281: so] Error 2
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/print/ghostscript10
*** Error code 1

Stop.
make: stopped in /usr/ports/print/ghostscript10



[-- Attachment #2 --]
<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false"><div dir="ltr" data-setdir="false"><div>FreeBSD ROXY 14.0-STABLE FreeBSD 14.0-STABLE #23 stable/14-n266950-f7d51eb77e84: Sun Mar 10 00:33:51 CET 2024&nbsp;&nbsp;&nbsp;&nbsp; filippo@ROXY:/usr/obj/usr/src/amd64.amd64/sys/ROXY amd64<br><br></div><br></div><div><br></div><div><br></div><div><br></div><div>r/local/include -DUSE_LIBPAPER -I/usr/local/include -fno-strict-aliasing -DHAVE_POPEN_PROTO=1&nbsp;&nbsp; -DSHARE_JPX=1 -I/usr/local/include/openjpeg-2.5 -DUSE_OPENJPEG_JP2&nbsp; -DPDF_INCLUDED -I./pdf -I./soobj -I./pcl/pl -I./base -Isrc/lib -I./jpegxr -Isrc -Isrc/src/lib/openjp2 -Isrc -c ./pdf/pdf_sec.c -o ./soobj/pdf_sec.o<br>./pdf/pdf_sec.c:186:25: warning: incompatible pointer types assigning to 'char **' from 'char *'; take the address with &amp; [-Wincompatible-pointer-types]<br>&nbsp; 186 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewPassword = Password;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^ ~~~~~~~~<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;<br>./pdf/pdf_sec.c:187:20: error: incompatible integer to pointer conversion assigning to 'int *' from 'int'; take the address with &amp; [-Wint-conversion]<br>&nbsp; 187 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NewLen = Len;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^ ~~~<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;<br>1 warning and 1 error generated.<br>gmake[2]: *** [pdf/pdf.mak:169: soobj/pdf_sec.o] Error 1<br>gmake[2]: Leaving directory '/usr/ports/print/ghostscript10/work/ghostscript-10.03.0'<br>gmake[1]: *** [base/unix-dll.mak:321: so-only-subtarget] Error 2<br>gmake[1]: Leaving directory '/usr/ports/print/ghostscript10/work/ghostscript-10.03.0'<br>gmake: *** [base/unix-dll.mak:281: so] Error 2<br>*** Error code 1<br><br>Stop.<br>make[1]: stopped in /usr/ports/print/ghostscript10<br>*** Error code 1<br><br>Stop.<br>make: stopped in /usr/ports/print/ghostscript10<br><br></div><br></div></div></body></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421829821.4182418.1710340046205>