Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer builds on SmartOS #23

Closed
papertigers opened this Issue Mar 13, 2014 · 3 comments

Comments

Projects
None yet
2 participants
@papertigers
Copy link

papertigers commented Mar 13, 2014

The last time I compiled weechat on smartos it was build 0.3.8 (http://lightsandshapes.com/weechat-on-smartos.html)
A lot has changed since then. It no longer seems to build.

[root@host ~/src/weechat-0.4.3/build]# make
File config-git.h is up-to-date (git version: "")
[  0%] Built target version_git
[  0%] Building C object src/core/CMakeFiles/weechat_core.dir/wee-command.o
In file included from /root/src/weechat-0.4.3/src/core/wee-command.c:49:0:
/root/src/weechat-0.4.3/src/core/wee-hook.h:188:20: error: field 'last_exec' has incomplete type
/root/src/weechat-0.4.3/src/core/wee-hook.h:189:20: error: field 'next_exec' has incomplete type
/root/src/weechat-0.4.3/src/core/wee-hook.h:465:25: error: unknown type name 'fd_set'
/root/src/weechat-0.4.3/src/core/wee-hook.h:465:43: error: unknown type name 'fd_set'
/root/src/weechat-0.4.3/src/core/wee-hook.h:466:25: error: unknown type name 'fd_set'
/root/src/weechat-0.4.3/src/core/wee-hook.h:467:27: error: unknown type name 'fd_set'
/root/src/weechat-0.4.3/src/core/wee-hook.h:467:45: error: unknown type name 'fd_set'
/root/src/weechat-0.4.3/src/core/wee-hook.h:468:27: error: unknown type name 'fd_set'
In file included from /root/src/weechat-0.4.3/src/core/wee-command.c:68:0:
/root/src/weechat-0.4.3/src/core/../gui/gui-hotlist.h:41:20: error: field 'creation_time' has incomplete type
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_bar_list':
/root/src/weechat-0.4.3/src/core/wee-command.c:107:13: error: implicit declaration of function 'snprintf' [-Werror=implicit-function-declaration]
/root/src/weechat-0.4.3/src/core/wee-command.c:107:13: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_bar':
/root/src/weechat-0.4.3/src/core/wee-command.c:231:13: error: implicit declaration of function 'strdup' [-Werror=implicit-function-declaration]
/root/src/weechat-0.4.3/src/core/wee-command.c:231:24: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:344:20: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_buffer':
/root/src/weechat-0.4.3/src/core/wee-command.c:821:35: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_color':
/root/src/weechat-0.4.3/src/core/wee-command.c:1236:9: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:1283:9: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_command':
/root/src/weechat-0.4.3/src/core/wee-command.c:1344:17: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_help_list_plugin_commands':
/root/src/weechat-0.4.3/src/core/wee-command.c:2119:17: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:2123:17: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:2141:33: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_help':
/root/src/weechat-0.4.3/src/core/wee-command.c:2234:13: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_layout_display_tree':
/root/src/weechat-0.4.3/src/core/wee-command.c:3330:13: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:3341:13: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_layout':
/root/src/weechat-0.4.3/src/core/wee-command.c:3518:24: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_mute':
/root/src/weechat-0.4.3/src/core/wee-command.c:3756:21: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_print':
/root/src/weechat-0.4.3/src/core/wee-command.c:4256:25: error: implicit declaration of function 'strptime' [-Werror=implicit-function-declaration]
/root/src/weechat-0.4.3/src/core/wee-command.c:4266:25: error: implicit declaration of function 'localtime_r' [-Werror=implicit-function-declaration]
/root/src/weechat-0.4.3/src/core/wee-command.c:4326:16: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_repeat':
/root/src/weechat-0.4.3/src/core/wee-command.c:4729:19: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:4735:13: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_secure':
/root/src/weechat-0.4.3/src/core/wee-command.c:4903:33: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:4948:33: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_set_display_option':
/root/src/weechat-0.4.3/src/core/wee-command.c:5053:21: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:5085:25: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_set_display_option_list':
/root/src/weechat-0.4.3/src/core/wee-command.c:5253:21: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_unset':
/root/src/weechat-0.4.3/src/core/wee-command.c:5520:25: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_upgrade':
/root/src/weechat-0.4.3/src/core/wee-command.c:5635:22: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:5688:9: error: implicit declaration of function 'setenv' [-Werror=implicit-function-declaration]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_uptime':
/root/src/weechat-0.4.3/src/core/wee-command.c:5734:9: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:5747:9: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_version_display':
/root/src/weechat-0.4.3/src/core/wee-command.c:5801:13: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c:5821:13: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
/root/src/weechat-0.4.3/src/core/wee-command.c: In function 'command_wait':
/root/src/weechat-0.4.3/src/core/wee-command.c:5975:26: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
cc1: some warnings being treated as errors
make[2]: *** [src/core/CMakeFiles/weechat_core.dir/wee-command.o] Error 1
make[1]: *** [src/core/CMakeFiles/weechat_core.dir/all] Error 2
make: *** [all] Error 2
@flashcode

This comment has been minimized.

Copy link
Member

flashcode commented Mar 13, 2014

Hi,
I don't have this OS to test and fix problems myself (I tried to run it in KVM, but I got a kernel panic).
Would it be possible to have an account on your SmartOS? If yes, please contact me on freenode, channel #weechat.

@flashcode flashcode added the bug label Mar 13, 2014

@flashcode

This comment has been minimized.

Copy link
Member

flashcode commented Mar 16, 2014

I fixed some compilation problems in commit d920f87
But other errors are remaining, and I'm stuck. Help is welcome!

@papertigers

This comment has been minimized.

Copy link
Author

papertigers commented Mar 16, 2014

Actively helping! -- Think we finally have it.

@flashcode flashcode closed this in a4a4e2f Mar 16, 2014

@flashcode flashcode added this to the 1.0 milestone Nov 16, 2014

@flashcode flashcode self-assigned this Nov 16, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.