problem when linking glib with mingw: getuid is not found
- From: Vincent Torri <torri math u-strasbg fr>
- To: gtk-app-devel-list gnome org
- Subject: problem when linking glib with mingw: getuid is not found
- Date: Wed, 21 Apr 2004 08:05:36 +0200 (MEST)
hello,
i'am trying to compile glib 2.4.0 on windows with msys/mingw. When linking
gspawn-win32-helper.exe, i have the following errors:
gcc -mcpu=athlon-xp -O3 -mms-bitfields -Wall -o gspawn-win32-helper.exe
-mwindows gspawn-win32-helper.o -L/target/lib ./.libs/libglib-2.0.a
-liconv -lwsock32 -lintl
./.libs/libglib-2.0.a(gutils.o)(.text+0x1822):gutils.c: undefined
reference to `setpwent'
./.libs/libglib-2.0.a(gutils.o)(.text+0x1827):gutils.c: undefined
reference to `getuid'
./.libs/libglib-2.0.a(gutils.o)(.text+0x182f):gutils.c: undefined
reference to `getpwuid'
./.libs/libglib-2.0.a(gutils.o)(.text+0x1836):gutils.c: undefined
reference to `endpwent'
msys/mingw is not posix, so i know that these functions are not defined in
msys/mingw. Does someone know how to solve this ?
thanks
Vincent TORRI
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]