Version: 4.2.3 (using Devel) Compiler: Sun Studio 12 OS: Solaris Installed from: Compiled sources building kdebase-workspace on opensolaris and Sun Studio12 fails with: ... pkgbuild: "/export/home/test/packages/BUILD/kdebase-workspace-4.2.3/kdm/backend/sessreg.c", line 119: error: incomplete struct/union/enum lastlog: ll pkgbuild: "/export/home/test/packages/BUILD/kdebase-workspace-4.2.3/kdm/backend/sessreg.c", line 286: error: undefined struct/union member: ll_time pkgbuild: "/export/home/test/packages/BUILD/kdebase-workspace-4.2.3/kdm/backend/sessreg.c", line 287: error: undefined struct/union member: ll_line pkgbuild: "/export/home/test/packages/BUILD/kdebase-workspace-4.2.3/kdm/backend/sessreg.c", line 287: error: improper member use: ll_line pkgbuild: "/export/home/test/packages/BUILD/kdebase-workspace-4.2.3/kdm/backend/sessreg.c", line 287: warning: improper pointer/integer combination: arg #1 pkgbuild: "/export/home/test/packages/BUILD/kdebase-workspace-4.2.3/kdm/backend/sessreg.c", line 288: error: undefined struct/union member: ll_host pkgbuild: "/export/home/test/packages/BUILD/kdebase-workspace-4.2.3/kdm/backend/sessreg.c", line 288: error: improper member use: ll_host
Created attachment 33429 [details] patch this patch comes from the kde-solaris project, author is probably adriaan de groot it may be not universal, though, i cannot tell
i don't understand where the error comes from. config-kdm.h is included indirectly by dm.h => greet.h. the check for lastlog.h is as straight-forward as it gets, so i have no idea why it would fail. please investigate and report back.
this seems to be a bug in the lastlog.h file provided in OpenSolaris. I've filed bug there http://defect.opensolaris.org/bz/show_bug.cgi?id=9245