| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: HPTZIP compile issue |
Hi Richard,
On 2016-02-11 15:11:58, you wrote to All:
RM> The error I get is: src/zip.c:1248:28: warning: assignment from
RM> incompatible pointer type [enabled by default]
RM> zi->ci.pcrc_32_tab = get_crc_table();
RM> ^
That's just a warning...
RM> gcc -shared -Wl -s hptzip.o ioapi.o unzip.o zip.o -L/usr/local/lib -o
RM> libhptzip.so
RM> gcc-4.8.real: error: unrecognized command line option -Wl
RM> make: *** [libhptzip.so] Error 1
RM> It seems newer gcc does not support -Wl whatever that is.
From the 4.8.3 man page (which is the same as for 4.6.x);
-Wl,option
Pass option as an option to the linker. If option contains
commas, it is split into multiple options at the commas. You can use this
syntax to
pass an argument to the option. For example,
-Wl,-Map,output.map passes -Map output.map to the linker. When using the
GNU linker, you can also
get the same effect with -Wl,-Map=output.map.
So I think the syntax is just wrong. -Wl needs to be followed by linker
options or left out.
Bye, Wilfred.
--- FMail-W32-1.69.12.145-B20160204
* Origin: FMail development HQ (2:280/464)SEEN-BY: 154/10 203/0 227/51 230/0 240/1661 5832 249/303 261/38 280/464 5003 SEEN-BY: 292/854 423/120 633/267 280 640/384 712/550 848 770/1 @PATH: 280/464 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.