X



トップページLinux
131コメント27KB
LFS(Linux From Scratch) 統合スレ 3 [無断転載禁止]©2ch.net
0001login:Penguin
垢版 |
2017/02/18(土) 09:40:03.66ID:L/lBfv1+
現行での最新版は7.10です。

本家
http://www.linuxfromscratch.org/

日本語参考
http://www.green.ne.jp/JF/LFS-BOOK.html (JFの日本語訳です。5.0なので注意)
http://www.atmarkit.co.jp/flinux/index/indexfiles/lfsindex.html (@ITの記事です。3.3なので注意)
http://lfsbookja.osdn.jp/7.10/(Version 7.10日本語訳)

LFS(Linux From Scratch) 統合スレ 1
http://pc8.2ch.net/test/read.cgi/linux/1019828587/
LFS(Linux From Scratch) 統合スレ 2
http://hayabusa6.2ch.net/test/read.cgi/linux/1155412397/

今はLiveCDやら自動化のシェルスクリプトなど便利なものがあるみたいですが、
本質的に理解したい人や初めての人は全て手動でやる事を進めます。
基本的に分からない事やトラブルに関しての質問をする時は気を付けましょう。
なるべく抽象的な表現は避け、具体的な事象を元に理論立てて相手に分かりやすいように
質問される側の立場に立って質問してください。
0121login:Penguin
垢版 |
2024/05/30(木) 14:32:30.30ID:8YoEaMwJ
gcc-14

$ make -f unix/Makefile generic_gcc

> zip.c
>In file included from zip.c:16:
>zip.h:726:10: error: conflicting types for 'memset'; have 'char *(char *, int, unsigned int)'
> 726 | char *memset OF((char *, int, unsigned int));
> | ^~~~~~
0122login:Penguin
垢版 |
2024/05/31(金) 08:59:30.06ID:vOBTkhEn
>>121

gentoo
zip-3.0-clang-15-configure-tests.patch
で通る。

gcc-14 だと
unix/configure
の結果、

-DZMEM なんかが flag に立つのが原因

それ以上追求してない
0123login:Penguin
垢版 |
2024/06/01(土) 08:44:07.91ID:4qcP2CuP
ghostscript
https://bugs.ghostscript.com/show_bug.cgi?id=707649

これで通る
diff --git a/pdf/pdf_sec.c b/pdf/pdf_sec.c
index 565ae80ca..7e8f6719d 100644
--- a/pdf/pdf_sec.c
+++ b/pdf/pdf_sec.c
@@ -183,8 +183,8 @@ static int apply_sasl(pdf_context *ctx, char *Password, int Len, char **NewPassw
* this easy: the errors we want to ignore are the ones with
* codes less than 100. */
if ((int)err < 100) {
- NewPassword = Password;
- NewLen = Len;
+ *NewPassword = Password;
+ *NewLen = Len;
return 0;
}
0125login:Penguin
垢版 |
2024/06/01(土) 10:43:56.51ID:J+YmTfzO
gtk+2
ttps://gitweb.gentoo.org/repo/gentoo.git/plain/x11-libs/gtk+/files/gtk+-2.24.33-Fix-casts.patch
0126login:Penguin
垢版 |
2024/06/02(日) 11:15:48.44ID:LrL5ym9Y
>>121

>Certain warnings are now errors
>Implicit function declarations (-Werror=implicit-function-declaration)

gcc-14の変更で、以前は warning だったのが error 吐いて止まるんだね


conftest.c
int main(){ char k; memset(&k,0,0); return 0; }
これだと落ちる

#include <string.h>
int main(){ char k; memset(&k,0,0); return 0; }
これだと通る
0127login:Penguin
垢版 |
2024/06/02(日) 12:19:54.99ID:NPtD+yAI
またおまw

gtk+2 を凍結すんのやめれ
0128login:Penguin
垢版 |
2024/06/03(月) 19:06:57.42ID:VbORlayz
あかん…
xorg-server + tearfree_backport-1.patch

../hw/xfree86/drivers/modesetting/dri2.c: In function 'ms_dri2_schedule_flip':
../hw/xfree86/drivers/modesetting/dri2.c:498:36: error: passing argument 4 of 'ms_do_pageflip' makes pointer from integer without a cast [-Wint-conversion]
0129login:Penguin
垢版 |
2024/06/04(火) 14:05:45.23ID:ypHgchEE
あかん…
libcddb-1.3.2

cddb_net.c: In function 'timeout_connect':
cddb_net.c:328:63: error: passing argument 5 of 'getsockopt' from incompatible pointer type [-Wincompatible-pointer-types]
0131login:Penguin
垢版 |
2024/06/04(火) 14:32:22.54ID:ypHgchEE
xine-lib もビルド不能や…
レスを投稿する


ニューススポーツなんでも実況