Opened 2 years ago
Closed 2 years ago
#65706 closed defect (fixed)
libwebsockets fails on Rosetta: error: redefinition of typedef ‘lws_map_t’
Reported by: | barracuda156 | Owned by: | judaew (Vadym-Valdis Yudaiev) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | powerpc, rosetta, snowleopard | Cc: | |
Port: | libwebsockets |
Description
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/lib/core/lws_map.c:36: error: redefinition of typedef ‘lws_map_t’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/include/libwebsockets/lws-map.h:45: error: previous declaration of ‘lws_map_t’ was here /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/lib/core/context.c: In function ‘lws_create_context’: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/lib/core/context.c:1484: warning: passing argument 5 of ‘lws_sul_schedule’ with different width due to prototype /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/lib/core/lws_map.c:36: error: redefinition of typedef ‘lws_map_t’ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libwebsockets/libwebsockets/work/libwebsockets-4.3.2/include/libwebsockets/lws-map.h:45: error: previous declaration of ‘lws_map_t’ was here make[2]: *** [lib/CMakeFiles/websockets.dir/core/lws_map.c.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [lib/CMakeFiles/websockets_shared.dir/core/lws_map.c.o] Error 1
Attachments (1)
Change History (3)
Changed 2 years ago by barracuda156
Attachment: | libwebsockets.log added |
---|
comment:1 Changed 2 years ago by barracuda156
comment:2 Changed 2 years ago by barracuda156
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Possibly I have fixed the build, and hopefully for 10.6 Intel too. Let me rerun compilation with one more fix.