Looks like something went wrong when I tried to redirect the output of the command to a file. I've attached the correct file now.

Sorry about that.

Nilesh

Nilesh Parmar wrote:
Joerg Fischer wrote:
I would like to port nedit on OpenSolaris. I downloaded the source for nedit 5.5 and tried to compile it using gcc. I get a whole bunch of errors. I would like to seek help to resolve these errors. Can someone please let me know if this is the correct mailing list to ask such questions ?

Yes, it is ;-)

Cheers,
Jörg

--
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop
Thanks! When I run the make command with the solarisx86 target, I see a whole bunch of errors. I've attached the file with the error messages with this mail. Can someone help me ? Am I doing something wrong ?

Thanks,
Nilesh

(cd util; \
            make -f Makefile.solarisx86 verify_config && \
            make -f Makefile.solarisx86 libNUtil.a)
make[1]: Entering directory `/export/home/nileshp/Downloads/nedit-5.5/util'
make[1]: Nothing to be done for `verify_config'.
make[1]: Leaving directory `/export/home/nileshp/Downloads/nedit-5.5/util'
make[1]: Entering directory `/export/home/nileshp/Downloads/nedit-5.5/util'
gcc -O -I/usr/openwin/include -I/usr/dt/include -DUSE_DIRENT   -c -o DialogF.o 
DialogF.c
In file included from DialogF.c:34:
DialogF.h:31:27: X11/Intrinsic.h: No such file or directory
In file included from DialogF.c:34:
DialogF.h:53: error: syntax error before "Widget"
In file included from DialogF.c:35:
misc.h:32:19: Xm/Xm.h: No such file or directory
In file included from DialogF.c:35:
misc.h:50: error: syntax error before "shell"
misc.h:52: error: syntax error before "w"
misc.h:53: error: syntax error before "w"
misc.h:55: error: syntax error before "shell"
misc.h:56: error: syntax error before "dialogChild"
misc.h:58: error: syntax error before "shell"
misc.h:59: error: syntax error before '*' token
misc.h:60: error: syntax error before "dialog"
misc.h:61: error: syntax error before "dialog"
misc.h:62: error: syntax error before "topWidget"
misc.h:63: error: syntax error before "topWidget"
misc.h:64: error: syntax error before "fromString"
misc.h:65: error: syntax error before '*' token
misc.h:65: error: syntax error before "font"
misc.h:65: warning: data definition has no type or storage class
misc.h:66: error: syntax error before '*' token
misc.h:66: warning: data definition has no type or storage class
misc.h:67: error: syntax error before '*' token
misc.h:68: error: syntax error before "widget"
misc.h:69: error: syntax error before "AddMenuItem"
misc.h:69: error: syntax error before "parent"
misc.h:70: warning: data definition has no type or storage class
misc.h:71: error: syntax error before "AddMenuToggle"
misc.h:71: error: syntax error before "parent"
misc.h:72: warning: data definition has no type or storage class
misc.h:73: error: syntax error before "AddMenuSeparator"
misc.h:73: error: syntax error before "parent"
misc.h:73: warning: data definition has no type or storage class
misc.h:74: error: syntax error before "AddSubMenu"
misc.h:74: error: syntax error before "parent"
misc.h:74: warning: data definition has no type or storage class
misc.h:75: error: syntax error before "label"
misc.h:76: error: syntax error before "label"
misc.h:77: error: syntax error before "text"
misc.h:78: error: syntax error before "text"
misc.h:79: error: syntax error before "text"
misc.h:80: error: syntax error before "text"
misc.h:81: error: syntax error before "text"
misc.h:82: error: syntax error before "text"
misc.h:83: error: syntax error before "textW"
misc.h:84: error: syntax error before "textW"
misc.h:85: error: syntax error before "topCursorWidget"
misc.h:86: error: syntax error before "anyWidget"
misc.h:87: error: syntax error before "topCursorWidget"
misc.h:88: error: syntax error before "w"
misc.h:89: error: syntax error before "textW"
misc.h:93: error: syntax error before "FindBestVisual"
misc.h:93: error: syntax error before '*' token
misc.h:94: warning: data definition has no type or storage class
misc.h:95: error: syntax error before "CreateDialogShell"
misc.h:95: error: syntax error before "parent"
misc.h:96: warning: data definition has no type or storage class
misc.h:97: error: syntax error before "CreatePopupMenu"
misc.h:97: error: syntax error before "parent"
misc.h:98: warning: data definition has no type or storage class
misc.h:99: error: syntax error before "CreatePulldownMenu"
misc.h:99: error: syntax error before "parent"
misc.h:100: warning: data definition has no type or storage class
misc.h:101: error: syntax error before "CreatePromptDialog"
misc.h:101: error: syntax error before "parent"
misc.h:102: warning: data definition has no type or storage class
misc.h:103: error: syntax error before "CreateSelectionDialog"
misc.h:103: error: syntax error before "parent"
misc.h:104: warning: data definition has no type or storage class
misc.h:105: error: syntax error before "CreateFormDialog"
misc.h:105: error: syntax error before "parent"
misc.h:106: warning: data definition has no type or storage class
misc.h:107: error: syntax error before "CreateFileSelectionDialog"
misc.h:107: error: syntax error before "parent"
misc.h:108: warning: data definition has no type or storage class
misc.h:109: error: syntax error before "CreateQuestionDialog"
misc.h:109: error: syntax error before "parent"
misc.h:110: warning: data definition has no type or storage class
misc.h:111: error: syntax error before "CreateMessageDialog"
misc.h:111: error: syntax error before "parent"
misc.h:112: warning: data definition has no type or storage class
misc.h:113: error: syntax error before "CreateErrorDialog"
misc.h:113: error: syntax error before "parent"
misc.h:114: warning: data definition has no type or storage class
misc.h:115: error: syntax error before "CreateShellWithBestVis"
misc.h:115: error: syntax error before "appName"
misc.h:116: warning: data definition has no type or storage class
misc.h:117: error: syntax error before "CreatePopupShellWithBestVis"
misc.h:117: error: syntax error before "shellName"
misc.h:118: warning: data definition has no type or storage class
misc.h:119: error: syntax error before "CreateWidget"
misc.h:119: error: syntax error before "parent"
misc.h:120: warning: data definition has no type or storage class
misc.h:121: error: syntax error before "GetNumLockModMask"
misc.h:121: error: syntax error before '*' token
misc.h:121: warning: data definition has no type or storage class
misc.h:122: error: syntax error before "context"
misc.h:123: error: syntax error before "w"
misc.h:124: error: syntax error before "widget"
misc.h:125: error: syntax error before "shell"
misc.h:126: error: syntax error before '*' token
misc.h:127: error: syntax error before '*' token
DialogF.c:44:25: Xm/MessageB.h: No such file or directory
DialogF.c:45:24: Xm/DialogS.h: No such file or directory
DialogF.c:46:22: Xm/PushB.h: No such file or directory
DialogF.c:47:23: Xm/PushBG.h: No such file or directory
DialogF.c:48:26: Xm/SelectioB.h: No such file or directory
DialogF.c:49:28: X11/StringDefs.h: No such file or directory
DialogF.c:51:24: X11/keysym.h: No such file or directory
DialogF.c:66: error: syntax error before "Boolean"
DialogF.c:66: warning: no semicolon at end of struct or union
DialogF.c:68: error: syntax error before "destroyed"
DialogF.c:68: warning: data definition has no type or storage class
DialogF.c:74: error: syntax error before "w"
DialogF.c:76: error: syntax error before "w"
DialogF.c:78: error: syntax error before "w"
DialogF.c:80: error: syntax error before "w"
DialogF.c:82: error: syntax error before "w"
DialogF.c:84: error: syntax error before "w"
DialogF.c:85: error: syntax error before "dialog"
DialogF.c:87: error: syntax error before "w"
DialogF.c:89: error: syntax error before "w"
DialogF.c:91: error: syntax error before "w"
DialogF.c:147: error: syntax error before "Widget"
DialogF.c: In function `DialogF':
DialogF.c:152: error: `Widget' undeclared (first use in this function)
DialogF.c:152: error: (Each undeclared identifier is reported only once
DialogF.c:152: error: for each function it appears in.)
DialogF.c:152: error: syntax error before "dialog"
DialogF.c:154: error: `XmString' undeclared (first use in this function)
DialogF.c:154: error: syntax error before "but_lbl_xms"
DialogF.c:159: error: `Arg' undeclared (first use in this function)
DialogF.c:159: error: syntax error before "args"
DialogF.c:162: error: storage size of 'df' isn't known
DialogF.c:165: error: `XmDIALOG_ERROR' undeclared (first use in this function)
DialogF.c:165: error: initializer element is not constant
DialogF.c:165: error: (near initialization for `dialog_types[0]')
DialogF.c:166: error: `XmDIALOG_INFORMATION' undeclared (first use in this 
function)
DialogF.c:166: error: initializer element is not constant
DialogF.c:166: error: (near initialization for `dialog_types[1]')
DialogF.c:167: error: `XmDIALOG_MESSAGE' undeclared (first use in this function)
DialogF.c:167: error: initializer element is not constant
DialogF.c:167: error: (near initialization for `dialog_types[2]')
DialogF.c:168: error: `XmDIALOG_QUESTION' undeclared (first use in this 
function)
DialogF.c:168: error: initializer element is not constant
DialogF.c:168: error: (near initialization for `dialog_types[3]')
DialogF.c:169: error: `XmDIALOG_WARNING' undeclared (first use in this function)
DialogF.c:169: error: initializer element is not constant
DialogF.c:169: error: (near initialization for `dialog_types[4]')
DialogF.c:171: error: `XmDIALOG_PROMPT' undeclared (first use in this function)
DialogF.c:171: error: initializer element is not constant
DialogF.c:171: error: (near initialization for `dialog_types[5]')
DialogF.c:183: error: `XmDIALOG_OK_BUTTON' undeclared (first use in this 
function)
DialogF.c:183: error: initializer element is not constant
DialogF.c:183: error: (near initialization for `selectionButton_id[0]')
DialogF.c:184: error: `XmDIALOG_APPLY_BUTTON' undeclared (first use in this 
function)
DialogF.c:184: error: initializer element is not constant
DialogF.c:184: error: (near initialization for `selectionButton_id[1]')
DialogF.c:185: error: `XmDIALOG_CANCEL_BUTTON' undeclared (first use in this 
function)
DialogF.c:185: error: initializer element is not constant
DialogF.c:185: error: (near initialization for `selectionButton_id[2]')
DialogF.c:187: error: `XmDIALOG_HELP_BUTTON' undeclared (first use in this 
function)
DialogF.c:187: error: initializer element is not constant
DialogF.c:187: error: (near initialization for `selectionButton_id[3]')
DialogF.c:188: error: `Cardinal' undeclared (first use in this function)
DialogF.c:188: error: syntax error before "N_SELECTION_BUTTONS"
DialogF.c:192: error: initializer element is not constant
DialogF.c:192: error: (near initialization for `messageButton_id[0]')
DialogF.c:193: error: initializer element is not constant
DialogF.c:193: error: (near initialization for `messageButton_id[1]')
DialogF.c:195: error: initializer element is not constant
DialogF.c:195: error: (near initialization for `messageButton_id[2]')
DialogF.c:196: error: syntax error before "N_MESSAGE_BUTTONS"
DialogF.c:199: error: `XmNokLabelString' undeclared (first use in this function)
DialogF.c:199: error: initializer element is not constant
DialogF.c:199: error: (near initialization for `button_name[0]')
DialogF.c:200: error: `XmNapplyLabelString' undeclared (first use in this 
function)
DialogF.c:200: error: initializer element is not constant
DialogF.c:200: error: (near initialization for `button_name[1]')
DialogF.c:201: error: `XmNcancelLabelString' undeclared (first use in this 
function)
DialogF.c:201: error: initializer element is not constant
DialogF.c:201: error: (near initialization for `button_name[2]')
DialogF.c:203: error: `XmNhelpLabelString' undeclared (first use in this 
function)
DialogF.c:203: error: initializer element is not constant
DialogF.c:203: error: (near initialization for `button_name[3]')
DialogF.c:206: error: `dialog_type' undeclared (first use in this function)
DialogF.c:212: error: `n' undeclared (first use in this function)
DialogF.c:218: error: `False' undeclared (first use in this function)
DialogF.c:221: error: `msgstr' undeclared (first use in this function)
DialogF.c:231: error: `but_lbl_xms' undeclared (first use in this function)
DialogF.c:232: error: `XmSTRING_DEFAULT_CHARSET' undeclared (first use in this 
function)
DialogF.c:235: error: `args' undeclared (first use in this function)
DialogF.c:255: error: `title' undeclared (first use in this function)
DialogF.c:258: error: `msgstr_xms' undeclared (first use in this function)
DialogF.c:259: error: `titstr_xms' undeclared (first use in this function)
DialogF.c:262: error: `XmNselectionLabelString' undeclared (first use in this 
function)
DialogF.c:264: error: `XmNdialogTitle' undeclared (first use in this function)
DialogF.c:266: error: `XmNdialogStyle' undeclared (first use in this function)
DialogF.c:266: error: `XmDIALOG_FULL_APPLICATION_MODAL' undeclared (first use 
in this function)
DialogF.c:269: error: `dialog' undeclared (first use in this function)
DialogF.c:269: error: `parent' undeclared (first use in this function)
DialogF.c:271: error: `XmNokCallback' undeclared (first use in this function)
DialogF.c:271: error: `XtCallbackProc' undeclared (first use in this function)
DialogF.c:271: error: syntax error before "ok_callback"
DialogF.c:273: error: `XmNcancelCallback' undeclared (first use in this 
function)
DialogF.c:274: error: syntax error before "cancel_callback"
DialogF.c:275: error: `XmNhelpCallback' undeclared (first use in this function)
DialogF.c:275: error: syntax error before "help_callback"
DialogF.c:277: error: `XmNapplyCallback' undeclared (first use in this function)
DialogF.c:277: error: syntax error before "apply_callback"
DialogF.c:279: error: `XmDIALOG_TEXT' undeclared (first use in this function)
DialogF.c:285: error: `XmNdefaultButton' undeclared (first use in this function)
DialogF.c:287: error: `XmNfocusCallback' undeclared (first use in this function)
DialogF.c:287: error: syntax error before "focusCB"
DialogF.c:291: error: `XmNmaxLength' undeclared (first use in this function)
DialogF.c:314: error: `N_SELECTION_BUTTONS' undeclared (first use in this 
function)
DialogF.c:316: error: syntax error before "button"
DialogF.c:318: error: `button' undeclared (first use in this function)
DialogF.c:320: error: `XmNmarginWidth' undeclared (first use in this function)
DialogF.c:341: error: `XmNdestroyCallback' undeclared (first use in this 
function)
DialogF.c:342: error: syntax error before "destroy_callback"
DialogF.c:357: error: `XmTRAVERSE_CURRENT' undeclared (first use in this 
function)
DialogF.c:361: error: `XtIMAll' undeclared (first use in this function)
DialogF.c:365: error: `XmNtextString' undeclared (first use in this function)
DialogF.c:365: error: `input_string_xms' undeclared (first use in this function)
DialogF.c:374: error: syntax error before "destroy_callback"
DialogF.c:382: error: `XmNmessageString' undeclared (first use in this function)
DialogF.c:384: error: `XmNdialogType' undeclared (first use in this function)
DialogF.c:391: error: `dialog_shell' undeclared (first use in this function)
DialogF.c:395: error: syntax error before "ok_callback"
DialogF.c:398: error: syntax error before "cancel_callback"
DialogF.c:399: error: syntax error before "help_callback"
DialogF.c:418: error: `N_MESSAGE_BUTTONS' undeclared (first use in this 
function)
DialogF.c:420: error: syntax error before "button"
DialogF.c:430: error: `TRUE' undeclared (first use in this function)
DialogF.c:450: error: syntax error before "destroy_callback"
DialogF.c:460: error: syntax error before "destroy_callback"
DialogF.c:221: error: `va_start' used in function with fixed args
DialogF.c: At top level:
DialogF.c:495: error: syntax error before "w"
DialogF.c: In function `ok_callback':
DialogF.c:498: error: `client_data' undeclared (first use in this function)
DialogF.c:498: error: `True' undeclared (first use in this function)
DialogF.c: At top level:
DialogF.c:502: error: syntax error before "w"
DialogF.c: In function `cancel_callback':
DialogF.c:505: error: `client_data' undeclared (first use in this function)
DialogF.c:505: error: `True' undeclared (first use in this function)
DialogF.c: At top level:
DialogF.c:509: error: syntax error before "w"
DialogF.c: In function `help_callback':
DialogF.c:512: error: `client_data' undeclared (first use in this function)
DialogF.c:512: error: `True' undeclared (first use in this function)
DialogF.c: At top level:
DialogF.c:516: error: syntax error before "w"
DialogF.c: In function `apply_callback':
DialogF.c:519: error: `client_data' undeclared (first use in this function)
DialogF.c:519: error: `True' undeclared (first use in this function)
DialogF.c: At top level:
DialogF.c:523: error: syntax error before "w"
DialogF.c: In function `destroy_callback':
DialogF.c:526: error: `client_data' undeclared (first use in this function)
DialogF.c:526: error: `True' undeclared (first use in this function)
DialogF.c: At top level:
DialogF.c:533: error: syntax error before "w"
DialogF.c: In function `focusCB':
DialogF.c:535: error: `dialog' undeclared (first use in this function)
DialogF.c:535: error: `XmNdefaultButton' undeclared (first use in this function)
DialogF.c:536: error: `XmDIALOG_OK_BUTTON' undeclared (first use in this 
function)
DialogF.c: At top level:
DialogF.c:549: error: syntax error before "dialog"
DialogF.c: In function `addEscapeHandler':
DialogF.c:552: error: `dialog' undeclared (first use in this function)
DialogF.c:552: error: `KeyPressMask' undeclared (first use in this function)
DialogF.c:552: error: `False' undeclared (first use in this function)
DialogF.c:552: error: `whichBtn' undeclared (first use in this function)
DialogF.c:553: error: `XtPointer' undeclared (first use in this function)
DialogF.c:553: error: syntax error before "df"
DialogF.c:554: error: `XK_Escape' undeclared (first use in this function)
DialogF.c:555: error: `True' undeclared (first use in this function)
DialogF.c:555: error: `GrabModeAsync' undeclared (first use in this function)
DialogF.c: At top level:
DialogF.c:562: error: syntax error before "w"
DialogF.c: In function `escapeHelpCB':
DialogF.c:565: error: `event' undeclared (first use in this function)
DialogF.c:565: error: `w' undeclared (first use in this function)
DialogF.c:565: error: `XK_Escape' undeclared (first use in this function)
DialogF.c:567: error: `callData' undeclared (first use in this function)
DialogF.c:569: error: `cont' undeclared (first use in this function)
DialogF.c:569: error: `False' undeclared (first use in this function)
DialogF.c: At top level:
DialogF.c:576: error: syntax error before "w"
DialogF.c: In function `escapeApplyCB':
DialogF.c:579: error: `event' undeclared (first use in this function)
DialogF.c:579: error: `w' undeclared (first use in this function)
DialogF.c:579: error: `XK_Escape' undeclared (first use in this function)
DialogF.c:581: error: `callData' undeclared (first use in this function)
DialogF.c:583: error: `cont' undeclared (first use in this function)
DialogF.c:583: error: `False' undeclared (first use in this function)
DialogF.c: At top level:
DialogF.c:589: error: syntax error before "w"
DialogF.c: In function `recurseCreateMnemonics':
DialogF.c:591: error: `WidgetList' undeclared (first use in this function)
DialogF.c:591: error: syntax error before "children"
DialogF.c:592: error: `Cardinal' undeclared (first use in this function)
DialogF.c:594: error: `w' undeclared (first use in this function)
DialogF.c:595: error: `XmNchildren' undeclared (first use in this function)
DialogF.c:595: error: `children' undeclared (first use in this function)
DialogF.c:596: error: `XmNnumChildren' undeclared (first use in this function)
DialogF.c:596: error: `numChildren' undeclared (first use in this function)
DialogF.c:599: error: `i' undeclared (first use in this function)
DialogF.c:601: error: `Widget' undeclared (first use in this function)
DialogF.c:601: error: syntax error before "child"
DialogF.c:603: error: `child' undeclared (first use in this function)
DialogF.c:605: error: `mnemonicUsed' undeclared (first use in this function)
DialogF.c:607: error: `xmPushButtonWidgetClass' undeclared (first use in this 
function)
DialogF.c:608: error: `xmPushButtonGadgetClass' undeclared (first use in this 
function)
DialogF.c:610: error: `XmString' undeclared (first use in this function)
DialogF.c:610: error: syntax error before "xmslabel"
DialogF.c:614: error: `XmNlabelString' undeclared (first use in this function)
DialogF.c:614: error: `xmslabel' undeclared (first use in this function)
DialogF.c:615: error: `XmSTRING_DEFAULT_CHARSET' undeclared (first use in this 
function)
DialogF.c:625: error: `TRUE' undeclared (first use in this function)
DialogF.c:626: error: `XmNmnemonic' undeclared (first use in this function)
DialogF.c: At top level:
DialogF.c:644: error: syntax error before "w"
DialogF.c: In function `createMnemonics':
DialogF.c:646: error: `Boolean' undeclared (first use in this function)
DialogF.c:646: error: syntax error before "mnemonicUsed"
DialogF.c:648: error: `mnemonicUsed' undeclared (first use in this function)
DialogF.c:648: error: `FALSE' undeclared (first use in this function)
DialogF.c:649: error: `w' undeclared (first use in this function)
make[1]: *** [DialogF.o] Error 1
make[1]: Leaving directory `/export/home/nileshp/Downloads/nedit-5.5/util'
make: *** [solarisx86] Error 2

-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to