Package Details: libmlx 1-1

Git Clone URL: (read-only, click to copy)
Package Base: libmlx
Description: Simple X programming API in C, designed for students, suitable for beginners
Upstream URL:
Licenses: BSD
Provides: minilibx
Submitter: fuyukaidesu
Maintainer: fuyukaidesu
Last Packager: fuyukaidesu
Votes: 0
Popularity: 0.000000
First Submitted: 2016-01-15 15:20
Last Updated: 2016-01-17 18:45

Latest Comments

fuyukaidesu commented on 2018-09-20 22:50

@27cb33fa: I couldn't reproduce your issue. The package builds correctly on my systems. The makefile uses ar to build the library, but it doesn't show in your trace. It might be an issue with your installation.

27cb33fa commented on 2018-09-18 13:21

This package fails to compile:

==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_init.o mlx_init.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_new_window.o mlx_new_window.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_pixel_put.o mlx_pixel_put.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_loop.o mlx_loop.c
mlx_init.c: In function ‘mlx_init’:
mlx_init.c:26:7: warning: implicit declaration of function ‘mlx_int_get_visual’; did you mean ‘mlx_int_deal_shm’? [-Wimplicit-function-declaration]
   if (mlx_int_get_visual(xvar)==-1)
mlx_loop.c: In function ‘mlx_loop’:
mlx_loop.c:22:3: warning: implicit declaration of function ‘mlx_int_set_win_event_mask’; did you mean ‘mlx_int_str_to_wordtab’? [-Wimplicit-function-declaratio]
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_mouse_hook.o mlx_mouse_hook.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_key_hook.o mlx_key_hook.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_expose_hook.o mlx_expose_hook.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_loop_hook.o mlx_loop_hook.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_int_anti_resize_win.o mlx_int_anti_resize_win.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_int_do_nothing.o mlx_int_do_nothing.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_int_wait_first_expose.o mlx_int_wait_first_expose.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_int_get_visual.o mlx_int_get_visual.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_flush_event.o mlx_flush_event.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_string_put.o mlx_string_put.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_new_image.o mlx_new_image.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_get_data_addr.o mlx_get_data_addr.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_put_image_to_window.o mlx_put_image_to_window.c
mlx_new_image.c: In function ‘shm_att_pb’:
mlx_new_image.c:27:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_get_color_value.o mlx_get_color_value.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_clear_window.o mlx_clear_window.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_xpm.o mlx_xpm.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_int_str_to_wordtab.o mlx_int_str_to_wordtab.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_destroy_window.o mlx_destroy_window.c
mlx_xpm.c: In function ‘mlx_int_get_line’:
mlx_xpm.c:32:15: warning: implicit declaration of function ‘mlx_int_str_str’; did you mean ‘mlx_int_deal_shm’? [-Wimplicit-function-declaration]
   if ((pos2 = mlx_int_str_str(ptr+*pos,"\"",size-*pos))==-1)
mlx_xpm.c: In function ‘mlx_int_static_line’:
mlx_xpm.c:62:3: warning: implicit declaration of function ‘strlcpy’; did you mean ‘strncpy’? [-Wimplicit-function-declaration]
   strlcpy(copy, str, len2+1);
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_int_param_event.o mlx_int_param_event.c
mlx_xpm.c: In function ‘mlx_int_parse_xpm’:
mlx_xpm.c:192:15: warning: implicit declaration of function ‘mlx_get_color_value’; did you mean ‘mlx_int_get_col_name’? [-Wimplicit-function-declaration]
    rgb_col>=0?mlx_get_color_value(xvar, rgb_col):rgb_col;
mlx_xpm.c: In function ‘mlx_int_file_get_rid_comment’:
mlx_xpm.c:267:23: warning: implicit declaration of function ‘mlx_int_str_str_cote’; did you mean ‘mlx_int_str_to_wordtab’? [-Wimplicit-function-declaration]
   while ((com_begin = mlx_int_str_str_cote(ptr,"/*",size))!=-1)
mlx_int_param_event.c: In function ‘mlx_int_param_KeyPress’:
mlx_int_param_event.c:19:29: warning: implicit declaration of function ‘XkbKeycodeToKeysym’; did you mean ‘XKeycodeToKeysym’? [-Wimplicit-function-declaration]
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_int_set_win_event_mask.o mlx_int_set_win_event_mask.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_hook.o mlx_hook.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_rgb.o mlx_rgb.c
gcc -O3 -I/usr/X11R6/include -D_FORTIFY_SOURCE=2  -c -o mlx_destroy_image.o mlx_destroy_image.c
cp libmlx.a libmlx_OpenBSD.a
cp: cannot stat 'libmlx.a': No such file or directory
make: *** [Makefile.gen:43: do_cp] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Error making: libmlx