Pasted from emerge's output: cc -mcpu=i686 -march=i686 -O3 -pipe -I/usr/X11R6/include -DUSE_DIRENT -DUSE_LPR_PRINT_CMD nedit.o file.o menu.o window.o selection.o search.o undo.o shift.o help.o preferences.o tags.o userCmds.o shell.o regularExp.o macro.o text.o textSel.o textDisp.o textBuf.o textDrag.o server.o highlight.o highlightData.o interpret.o parse.o smartIndent.o regexConvert.o rbTree.o windowTitle.o linkdate.o ../util/libNUtil.a -L/usr/X11R6/lib -Wl,-Bstatic -lXm -Wl,-Bdynamic -lXp -lXpm -lXext -lXt -lSM -lICE -lX11 -lm -o nedit file.o: In function `PrintString': file.o(.text+0x1728): the use of `tmpnam' is dangerous, better use `mkstemp' /usr/lib/libXm.a(EditresCom.o): In function `BuildEvent': EditresCom.o(.text+0x5c): undefined reference to `_XEditResGet8' EditresCom.o(.text+0x8c): undefined reference to `_XEditResGet8' EditresCom.o(.text+0xa2): undefined reference to `_XEditResGet32' EditresCom.o(.text+0xca): undefined reference to `_XEditResGetString8' ... There are many more undefined reference to `_XEditRes*' errors. I can post/attach the entire emerge output if anyone wants to see it.
This seems to be a gcc issue. Nedit builds fine on a 2.95 machine, but fails with the above errors on a 3.2 machine.
I get the same errors using gcc 2.95.3-r7
After reading the gcc-2.95.3 vs gcc-3.2 coment, I checked to see exactly which gcc was installed on my machine (should have been 2.95.3-r7). It turns out that I hadn't unmerged 2.95.3-r5 after I merged 2.95.3-r7. Unmerging 2.95.3-r5 resolved this issue for me.
The machine that I was having the problems with is a gcc 3.2, 1.4 build. It has never had another version of gcc on it.
-lXmu appears to be missing from the lineup of libs there... emerge rsync emerge nedit The ebuild currently in portage should have an update to fix this problem. Please test and let me know if things work for you after the update.
You still around or should I close this bug as fixed?
Sorry I didn't get back to you on this, but yes it does seem to have fixed my issue.
:)