[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

plan and errno

Trying to build plan, the calendaring app found at

Whether with lesstif or OpenMotif, I get:

gcc -O2 -DPLANHOME=\""/.plan.dir"\"
-DPLANDLOCK=\""~//.plan.dir/lock.pland"\" -I/usr/X11R6/include -DNOLOCK
-DLINUX   -o plan main.o popup.o print.o gotomenu.o network.o calmenu.o
monmenu.o mondraw.o editmenu.o editdraw.o edit.o msgmenu.o cycmenu.o
cyccalc.o keymenu.o excmenu.o cnfmenu.o yearmenu.o yeardraw.o holmenu.o
adjmenu.o weekmenu.o weekdraw.o weekcalc.o servmenu.o usermenu.o
confmenu.o yovmenu.o yovdraw.o yovcalc.o daymenu.o daydraw.o daycalc.o
usersel.o psdraw.o xutil.o help.o dbase.o file_r.o file_w.o convert.o
util.o time.o sublist.o parser.o lex.yy.o holiday.o language.o g_dbase.o
g_dbfile.o g_formfile.o g_formop.o -L/usr/X11R6/lib -L/usr/lib/X11R6/lib
-lSM -lXm -lXt -lX11 -lXpm -lc -lXext -lSM -lICE -lX11
g_dbfile.o(.text+0x1e4): In function `writefile':
: undefined reference to `errno'
g_dbfile.o(.text+0x8e5): In function `read_file':
: undefined reference to `errno'
g_dbfile.o(.text+0xbc1): In function `read_file':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[1]: *** [plan] Error 1
make[1]: Leaving directory `/usr/local/src/plan-1.8.5/src'
make: *** [linux] Error 2

when I try to build it directly.

When I try the prebuild linux binary, produced on a SuSE system with gcc
3.2, I get:

Incorrectly built binary which accesses errno, h_errno or _res directly.
Needs to be fixed.

Can anyone sugguest what is going on?  Has the library changed, is gcc
3.2 confused, or is this a C problem that the compiler finally notices?

oak uniserve com | Uton we hycgan    hwaer we ham agen,
                 | ond thonne gedhencan    he we thider cumen.
                 |   -- The Seafarer, ll. 117-118.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]