William Bulley <w...@umich.edu> wrote in <20090929175944.gk23...@itcom245.staff.itd.umich.edu>:
we> I am building cad/pcb on 7.2-STABLE and I get this: we> we> cc -std=gnu99 -DNDEBUG -O2 -fno-strict-aliasing -pipe we> -I/usr/local/include -I/usr/local/include -I/usr/local/include we> -Wall -Wdeclaration-after-statement -pthread -L/usr/local/lib we> -rdynamic -o pcb action.o autoplace.o autoroute.o buffer.o we> change.o clip.o command.o compat.o copy.o create.o crosshair.o we> data.o djopt.o draw.o drill.o edif.o error.o file.o find.o flags.o we> fontmode.o heap.o insert.o intersect.o line.o lrealpath.o main.o we> mirror.o misc.o move.o mtspace.o mymem.o netlist.o parse_l.o parse_y.o we> polygon.o polygon1.o puller.o print.o rats.o remove.o report.o res_parse.o we> res_lex.o rotate.o rtree.o rubberband.o search.o select.o set.o strflags.o we> thermal.o undo.o vector.o vendor.o hid/common/actions.o hid/common/flags.o we> hid/common/hidinit.o hid/common/hidnogui.o hid/common/extents.o we> liblesstif.a liblpr.a libbom.a libgerber.a libnelma.a libpng.a libps.a we> -lXm -lXpm -lXmu -lXt -lXext -lSM -lICE -lX11 -lfl -lm -lXrender we> -L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lgd -lgd we> main.o(.text+0xc8e): In function `main': we> : undefined reference to `bindtextdomain' we> main.o(.text+0xca2): In function `main': we> : undefined reference to `bind_textdomain_codeset' we> gmake[4]: *** [pcb] Error 1 we> gmake[4]: Leaving directory `/usr/ports/cad/pcb/work/pcb-20081128/src' we> gmake[3]: *** [all-recursive] Error 1 we> gmake[3]: Leaving directory `/usr/ports/cad/pcb/work/pcb-20081128/src' we> gmake[2]: *** [all] Error 2 we> gmake[2]: Leaving directory `/usr/ports/cad/pcb/work/pcb-20081128/src' we> gmake[1]: *** [all-recursive] Error 1 we> gmake[1]: Leaving directory `/usr/ports/cad/pcb/work/pcb-20081128' we> gmake: *** [all] Error 2 we> *** Error code 1 we> we> My build line in /usr/ports/cad/pcb was: we> we> # make WITH_MOTIF_GUI=yes install we> we> It builds fine if I use: we> we> # make install we> we> Regards, Thanks for the report. Could you try the attached patch and let me know if it works or not? -- Hiroki
Index: files/patch-src-pcb-menu.res =================================================================== RCS file: files/patch-src-pcb-menu.res diff -N files/patch-src-pcb-menu.res --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-src-pcb-menu.res 10 Oct 2009 02:01:42 -0000 @@ -0,0 +1,11 @@ +--- src/pcb-menu.res.orig 2009-10-10 10:44:44.000000000 +0900 ++++ src/pcb-menu.res 2009-10-10 11:00:58.000000000 +0900 +@@ -52,7 +52,7 @@ + {View + {"Flip up/down" checked=flip_y SwapSides(V) a={"Tab" "<Key>Tab"}} + {"Flip left/right" checked=flip_x SwapSides(H) a={"Shift-Tab" "Shift<Key>Tab"}} +- {"Spin 180ー" SwapSides(R) a={"Ctrl-Tab" "Ctrl<Key>Tab"}} ++ {"Spin 180" SwapSides(R) a={"Ctrl-Tab" "Ctrl<Key>Tab"}} + {"Swap Sides" SwapSides() a={"Ctrl-Shift-Tab" "Ctrl Shift<Key>Tab"}} + {"Center cursor" Center() a={"C" "<Key>c"}} + {"Show soldermask" checked=showmask Display(ToggleMask)}
pgp6Vw2cGbQOl.pgp
Description: PGP signature