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