Can i somehow silence those or get rid of them completely?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
you should have a readme.md or something similar, but try --disable-gnome when invoking the configure scripts the help might be in the actual configure file.
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
How to fix these or should they even be fixed wrt future compatibility? Is it something as easy as adding another header?
gcc -O2 -Wall -I. -DSOUND_AHI -DWORDS_BIGENDIAN -o delay.o -c delay.c
delay.c: In function 'amiga_atexit':
delay.c:71:17: warning: 'DeleteIORequest' is deprecated [-Wdeprecated-declarations]
71 | DeleteIORequest((struct IORequest *) timerio);
| ^~~~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
from delay.c:38:
/SDK/include/include_h/interfaces/exec.h:148:35: note: declared here
148 | DEPRECATED void APICALL (*DeleteIORequest)(struct ExecIFace *Self,
struct IORequest * ioRequest);
| ^~~~~~~~~~~~~~~
delay.c:72:17: warning: 'DeleteMsgPort' is deprecated [-Wdeprecated-declarations]
72 | DeleteMsgPort(timerport);
| ^~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
from delay.c:38:
/SDK/include/include_h/interfaces/exec.h:98:35: note: declared here
98 | DEPRECATED void APICALL (*DeleteMsgPort)(struct ExecIFace *Self, struct
MsgPort * port);
| ^~~~~~~~~~~~~
delay.c: In function 'amiga_inittimer':
delay.c:79:9: warning: 'CreateMsgPort' is deprecated [-Wdeprecated-declarations]
79 | timerport = CreateMsgPort();
| ^~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
from delay.c:38:
/SDK/include/include_h/interfaces/exec.h:96:47: note: declared here
96 | DEPRECATED struct MsgPort * APICALL (*CreateMsgPort)(struct ExecIFace
*Self);
| ^~~~~~~~~~~~~
delay.c:82:35: warning: 'CreateIORequest' is deprecated [-Wdeprecated-declarations]
82 | timerio = (struct TimeRequest *) CreateIORequest(timerport,
sizeof(struct TimeRequest));
| ^~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
from delay.c:38:
/SDK/include/include_h/interfaces/exec.h:147:49: note: declared here
147 | DEPRECATED struct IORequest * APICALL (*CreateIORequest)(struct
ExecIFace *Self, const struct MsgPort * ioReplyPort, ULONG size);
| ^~~~~~~~~~~~~~~
delay.c:90:50: warning: passing argument 2 of 'IExec->GetInterface' from incompatible
pointer type [-Wincompatible-pointer-types]
90 | ITimer = (struct TimerIFace *)
GetInterface(TimerBase, "main", 1, NULL);
| ^~~~~~~~~~
| |
| struct Device *
delay.c:90:50: note: expected 'struct Library *' but argument is of type 'struct Device
*'
delay.c:97:33: warning: 'DeleteIORequest' is deprecated [-Wdeprecated-declarations]
97 | DeleteIORequest((struct IORequest *)timerio);
| ^~~~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
from delay.c:38:
/SDK/include/include_h/interfaces/exec.h:148:35: note: declared here
148 | DEPRECATED void APICALL (*DeleteIORequest)(struct ExecIFace *Self,
struct IORequest * ioRequest);
| ^~~~~~~~~~~~~~~
delay.c:98:33: warning: 'DeleteMsgPort' is deprecated [-Wdeprecated-declarations]
98 | DeleteMsgPort(timerport);
| ^~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
from delay.c:38:
/SDK/include/include_h/interfaces/exec.h:98:35: note: declared here
98 | DEPRECATED void APICALL (*DeleteMsgPort)(struct ExecIFace *Self, struct
MsgPort * port);
| ^~~~~~~~~~~~~
delay.c:101:25: warning: 'DeleteMsgPort' is deprecated [-Wdeprecated-declarations]
101 | DeleteMsgPort(timerport);
| ^~~~~~~~~~~~~
In file included from /SDK/include/include_h/proto/exec.h:30,
from delay.c:38:
/SDK/include/include_h/interfaces/exec.h:98:35: note: declared here
98 | DEPRECATED void APICALL (*DeleteMsgPort)(struct ExecIFace *Self, struct
MsgPort * port);
| ^~~~~~~~~~~~~
Thank you
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
argh, ok, so nothing i could do...thank you for checking
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Better to make TimerBase a library pointer, instead of a device pointer; that way no casting is required. It's also cleaner that way, since the purpose of obtaining the TimerBase from the device is to be able to treat it like a library.
/SDK/local/newlib/lib/libFLAC.a(stream_encoder.o): In function `process_subframe_.isra.14':
stream_encoder.c:(.text+0x54d4): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_encoder.o): In function `write_bitbuffer_':
stream_encoder.c:(.text+0x5cd0): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_encoder.o): In function `init_stream_internal_':
stream_encoder.c:(.text+0x6e34): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_encoder.o): In function `process_frame_':
stream_encoder.c:(.text+0x826c): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_encoder.o): In function `FLAC__stream_encoder_finish':
stream_encoder.c:(.text+0x90bc): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_encoder.o):(.got2+0x9c): undefined reference to `__stack_chk_guard'
/SDK/local/newlib/lib/libFLAC.a(stream_encoder_framing.o): In function `FLAC__frame_add_header':
stream_encoder_framing.c:(.text+0x1284): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_encoder_framing.o):(.got2+0xb4): undefined reference to `__stack_chk_guard'
/SDK/local/newlib/lib/libFLAC.a(ogg_encoder_aspect.o): In function `FLAC__ogg_encoder_aspect_write_callback_wrapper':
ogg_encoder_aspect.c:(.text+0x444): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(ogg_encoder_aspect.o):(.got2+0x4): undefined reference to `__stack_chk_guard'
/SDK/local/newlib/lib/libFLAC.a(ogg_helper.o): In function `simple_ogg_page__get_at':
ogg_helper.c:(.text+0x5b0): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(ogg_helper.o):(.got2+0x0): undefined reference to `__stack_chk_guard'
/SDK/local/newlib/lib/libFLAC.a(lpc.o): In function `FLAC__lpc_compute_lp_coefficients':
lpc.c:(.text+0x20c0): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(lpc.o): In function `FLAC__lpc_quantize_coefficients':
lpc.c:(.text+0x2654): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(lpc.o):(.got2+0x8): undefined reference to `__stack_chk_guard'
/SDK/local/newlib/lib/libFLAC.a(stream_decoder.o): In function `file_length_callback_':
stream_decoder.c:(.text+0x214): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_decoder.o): In function `read_residual_partitioned_rice_':
stream_decoder.c:(.text+0x790): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_decoder.o): In function `write_audio_frame_to_client_':
stream_decoder.c:(.text+0xa30): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_decoder.o): In function `find_metadata_':
stream_decoder.c:(.text+0xf0c): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_decoder.o): In function `read_frame_':
stream_decoder.c:(.text+0x32ac): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(stream_decoder.o):stream_decoder.c:(.text+0x5560): more undefined references to `__stack_chk_fail' follow
/SDK/local/newlib/lib/libFLAC.a(stream_decoder.o):(.got2+0x4): undefined reference to `__stack_chk_guard'
/SDK/local/newlib/lib/libFLAC.a(ogg_decoder_aspect.o): In function `FLAC__ogg_decoder_aspect_read_callback_wrapper':
ogg_decoder_aspect.c:(.text+0x504): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(ogg_decoder_aspect.o):(.got2+0x0): undefined reference to `__stack_chk_guard'
/SDK/local/newlib/lib/libFLAC.a(bitreader.o): In function `bitreader_read_from_client_':
bitreader.c:(.text+0x29c): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(bitreader.o): In function `FLAC__bitreader_read_raw_uint32.part.1':
bitreader.c:(.text+0x750): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(bitreader.o): In function `FLAC__bitreader_read_raw_int32':
bitreader.c:(.text+0x1344): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(bitreader.o): In function `FLAC__bitreader_read_raw_uint64':
bitreader.c:(.text+0x14ec): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(bitreader.o): In function `FLAC__bitreader_read_raw_int64':
bitreader.c:(.text+0x16cc): undefined reference to `__stack_chk_fail'
/SDK/local/newlib/lib/libFLAC.a(bitreader.o):bitreader.c:(.text+0x18e4): more undefined references to `__stack_chk_fail' follow
/SDK/local/newlib/lib/libFLAC.a(bitreader.o):(.got2+0x0): undefined reference to `__stack_chk_guard'
and i don't know why?
Did the new release somehow skip something? and where can i get the former release (1.3.2?) to roll back?
Thank you
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Add -lssp to get rid of those undefined references.
To test I just compiled and linked the FLAC C decode file example code using the gcc 8.4.0 from SDK 54.16 and it worked without any errors (libs used for linking were "-lFLAC -logg -lssp").
Yes, i did, i actually was late to the party and got the fixed one (just re-dl-ed to be absolutely sure)
@salass00
What does the switch do?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
If there are some configure gurus out there, please help. I can't figure out why this piece of configure script fails to find zlib
Quote:
checking for zlib... no configure: error: Unable to find zlib.
All of the pkg-config lines that are found in the script work fine using them in a shell... It also doesn't matter if i skip pkg-config and directly point to zlib with envvars
Help, please?
pkg_failed=no
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5
printf %s "checking for zlib... " >&6; }
if test -n "$ZLIB_CFLAGS"; then
pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
($PKG_CONFIG --exists --print-errors "zlib") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test -n "$ZLIB_LIBS"; then
pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
($PKG_CONFIG --exists --print-errors "zlib") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
fi
else
pkg_failed=untried
fi
if test $pkg_failed = yes; then
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
printf "%s\n" "no" >&6; }
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
_pkg_short_errors_supported=yes
else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
else
ZLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$ZLIB_PKG_ERRORS" >&5
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Is there a way to tell Snoopy to immediately write to a file, instead of using the PD menu?
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
Are you running this on the AmigaOne machine? I presume you are. Are you running "./configure" through SH?
I would have expected that if you set the CFLAGS and LIB variables then PKGCONFIG would not be needed.
You can hack that configure script and add something like
set -x
Above the first line that you posted above (do not add it at the top. Just the line _before_ the first line you posted. This will print out each line that is being executed by the interpreter with expansion of variables.
Quite difficult to help without some reproducible steps; i.e. can you tell me which project this is or provide it and then I can attempt to reproduce.
If liberty means anything at all, it means the right to tell people what they do not want to hear. George Orwell.
The funny thing is that another project picks up zlib just fine, so im guessing that specific configure messes up the pathes or has them wrongly hardcoded.
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
I forgot tothank you for the hint...will try whenever I get the chance
Is a wxwidgets port even possible? Seems it needs a lot of dependencies we can't have
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg
+ ZLIB_PKG=
+ test
+ test x != xno
+ :
+ pkg_failed=no
+ printf %s\n configure:21908: checking for zlib
+ >&5
+ printf %s checking for zlib...
+ >&6
checking for zlib... + test -n
+ test -n
+ pkg_failed=untried
+ test -n
+ test -n
+ pkg_failed=untried
+ test untried = yes
+ test untried = untried
+ printf %s\n configure:21968: result: no
+ >&5
+ printf %s\n no
+ >&6
no
+ as_fn_error 0 Unable to find zlib. 21970 5
configure: error: Unable to find zlib.
This is what i get with set -x It seems to not pick up pkg-config...which is there, and used by other configure scripts just fine...
People are dying. Entire ecosystems are collapsing. We are in the beginning of a mass extinction. And all you can talk about is money and fairytales of eternal economic growth. How dare you! – Greta Thunberg