[讨论]偶哭了,不用apt-get装软件一个也不成功。。。

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
xiao2004
帖子: 56
注册时间: 2006-05-15 3:22

[讨论]偶哭了,不用apt-get装软件一个也不成功。。。

#1

帖子 xiao2004 » 2006-05-15 16:46

首先是没有gcc,然后装好gcc后和lib可以了。
然后make时又编译时会出错,连试几个安装文件都这样。
想用apt-get来装,又不知道里面有些啥可以让我装,只会照教程打命令装那几个。。。。
头像
dongmh
帖子: 715
注册时间: 2005-06-21 20:24
来自: 甘肃
联系:

#2

帖子 dongmh » 2006-05-15 17:06

不要紧张,
把出错信息发上来,我们来给你分析,顺便说下你可以试试下面这个命令

代码: 全选

sudo apt-cache search 软件名(不带版本)
这个命令可以搜索出来你需要的软件是否存在与源中,而且有简单的说明
你可以根据这个来判断时候需要自己编译软件,ubuntu最大的便利就是源里的软件及其丰富
ubuntu 6.06
我是初学者 大家多多关照
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
联系:

#3

帖子 karron » 2006-05-15 18:14

apt-get install build-essential
安装编译基本软件
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
xiao2004
帖子: 56
注册时间: 2006-05-15 3:22

#4

帖子 xiao2004 » 2006-05-15 19:01

karron 写了:apt-get install build-essential
安装编译基本软件
xiao@ubuntu:~$ sudo apt-get install build-essential
Password:
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
build-essential 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
xiao2004
帖子: 56
注册时间: 2006-05-15 3:22

#5

帖子 xiao2004 » 2006-05-15 19:07

dongmh 写了:不要紧张,
把出错信息发上来,我们来给你分析,顺便说下你可以试试下面这个命令

代码: 全选

sudo apt-cache search 软件名(不带版本)
这个命令可以搜索出来你需要的软件是否存在与源中,而且有简单的说明
你可以根据这个来判断时候需要自己编译软件,ubuntu最大的便利就是源里的软件及其丰富
首先谢谢热心人,呵呵,那我就开始问了。
第一个错,装rdesktop时make的错误信息,这是一个连接windows 3389的一个软件
xwin.c:1488: 错误:request for member ‘xbutton’ in something not a structure or union
xwin.c:1488: 错误:request for member ‘x’ in something not a structure or union
xwin.c:1488: 警告:比较指针和整数
xwin.c:1496: 错误:request for member ‘type’ in something not a structure or union
xwin.c:1500: 错误:request for member ‘xbutton’ in something not a structure or union
xwin.c:1500: 错误:request for member ‘x’ in something not a structure or union
xwin.c:1500: 警告:语句不起作用
xwin.c:1501: 错误:request for member ‘xbutton’ in something not a structure or union
xwin.c:1501: 错误:request for member ‘y’ in something not a structure or union
xwin.c:1501: 警告:语句不起作用
xwin.c:1509: 错误:request for member ‘xbutton’ in something not a structure or union
xwin.c:1509: 错误:request for member ‘x’ in something not a structure or union
xwin.c:1509: 错误:request for member ‘xbutton’ in something not a structure or union
xwin.c:1509: 错误:request for member ‘y’ in something not a structure or union
xwin.c:1509: 警告:传递参数 4 (属于 ‘rdp_send_input’)时将指针赋给整数,未作 类型转换
xwin.c:1509: 警告:传递参数 5 (属于 ‘rdp_send_input’)时将指针赋给整数,未作 类型转换
xwin.c:1512: 错误:‘MotionNotify’ 未声明 (在此函数内第一次使用)
xwin.c:1515: 警告:隐式声明函数 ‘XMoveWindow’
xwin.c:1516: 错误:request for member ‘xmotion’ in something not a structure or union
xwin.c:1516: 错误:request for member ‘x_root’ in something not a structure or union
xwin.c:1517: 错误:request for member ‘xmotion’ in something not a structure or union
xwin.c:1517: 错误:request for member ‘y_root’ in something not a structure or union
xwin.c:1522: 警告:隐式声明函数 ‘XSetInputFocus’
xwin.c:1522: 错误:‘RevertToPointerRoot’ 未声明 (在此函数内第一次使用)
xwin.c:1523: 错误:‘CurrentTime’ 未声明 (在此函数内第一次使用)
xwin.c:1525: 错误:request for member ‘xmotion’ in something not a structure or union
xwin.c:1525: 错误:request for member ‘x’ in something not a structure or union
xwin.c:1525: 错误:request for member ‘xmotion’ in something not a structure or union
xwin.c:1525: 错误:request for member ‘y’ in something not a structure or union
xwin.c:1525: 警告:传递参数 4 (属于 ‘rdp_send_input’)时将指针赋给整数,未作 类型转换
xwin.c:1525: 警告:传递参数 5 (属于 ‘rdp_send_input’)时将指针赋给整数,未作 类型转换
xwin.c:1528: 错误:‘FocusIn’ 未声明 (在此函数内第一次使用)
xwin.c:1529: 错误:request for member ‘xfocus’ in something not a structure or union
xwin.c:1529: 错误:request for member ‘mode’ in something not a structure or union
xwin.c:1529: 错误:‘NotifyGrab’ 未声明 (在此函数内第一次使用)
xwin.c:1534: 警告:隐式声明函数 ‘XGrabKeyboard’
xwin.c:1535: 错误:‘GrabModeAsync’ 未声明 (在此函数内第一次使用)
xwin.c:1538: 错误:‘FocusOut’ 未声明 (在此函数内第一次使用)
xwin.c:1539: 错误:request for member ‘xfocus’ in something not a structure or union
xwin.c:1539: 错误:request for member ‘mode’ in something not a structure or union
xwin.c:1539: 错误:‘NotifyUngrab’ 未声明 (在此函数内第一次使用)
xwin.c:1542: 错误:request for member ‘xfocus’ in something not a structure or union
xwin.c:1542: 错误:request for member ‘mode’ in something not a structure or union
xwin.c:1542: 错误:‘NotifyWhileGrabbed’ 未声明 (在此函数内第一次使用)
xwin.c:1543: 警告:隐式声明函数 ‘XUngrabKeyboard’
xwin.c:1546: 错误:‘EnterNotify’ 未声明 (在此函数内第一次使用)
xwin.c:1561: 错误:‘LeaveNotify’ 未声明 (在此函数内第一次使用)
xwin.c:1567: 错误:‘Expose’ 未声明 (在此函数内第一次使用)
xwin.c:1569: 错误:request for member ‘xexpose’ in something not a structure or union
xwin.c:1569: 错误:request for member ‘x’ in something not a structure or union
xwin.c:1569: 错误:request for member ‘xexpose’ in something not a structure or union
xwin.c:1569: 错误:request for member ‘y’ in something not a structure or union
xwin.c:1570: 错误:request for member ‘xexpose’ in something not a structure or union
xwin.c:1570: 错误:request for member ‘width’ in something not a structure or union
xwin.c:1571: 错误:request for member ‘xexpose’ in something not a structure or union
xwin.c:1571: 错误:request for member ‘height’ in something not a structure or union
xwin.c:1572: 错误:request for member ‘xexpose’ in something not a structure or union
xwin.c:1572: 错误:request for member ‘x’ in something not a structure or union
xwin.c:1572: 错误:request for member ‘xexpose’ in something not a structure or union
xwin.c:1572: 错误:request for member ‘y’ in something not a structure or union
xwin.c:1575: 错误:‘MappingNotify’ 未声明 (在此函数内第一次使用)
xwin.c:1578: 错误:request for member ‘xmapping’ in something not a structure or union
xwin.c:1578: 错误:request for member ‘request’ in something not a structure or union
xwin.c:1579: 错误:‘MappingKeyboard’ 未声明 (在此函数内第一次使用)
xwin.c:1579: 错误:request for member ‘xmapping’ in something not a structure or union
xwin.c:1579: 错误:request for member ‘request’ in something not a structure or union
xwin.c:1579: 错误:‘MappingModifier’ 未声明 (在此函数内第一次使用)
xwin.c:1580: 警告:隐式声明函数 ‘XRefreshKeyboardMapping’
xwin.c:1580: 错误:request for member ‘xmapping’ in something not a structure or union
xwin.c:1582: 错误:request for member ‘xmapping’ in something not a structure or union
xwin.c:1582: 错误:request for member ‘request’ in something not a structure or union
xwin.c:1585: 警告:赋值时将整数赋给指针,未作类型转换
xwin.c:1590: 错误:‘SelectionNotify’ 未声明 (在此函数内第一次使用)
xwin.c:1591: 错误:request for member ‘xselection’ in something not a structure or union
xwin.c:1593: 错误:‘SelectionRequest’ 未声明 (在此函数内第一次使用)
xwin.c:1594: 错误:request for member ‘xselectionrequest’ in something not a structure or union
xwin.c:1596: 错误:‘SelectionClear’ 未声明 (在此函数内第一次使用)
xwin.c:1599: 错误:‘PropertyNotify’ 未声明 (在此函数内第一次使用)
xwin.c:1600: 错误:request for member ‘xproperty’ in something not a structure or union
xwin.c: 在函数 ‘ui_move_pointer’ 中:
xwin.c:1674: 警告:隐式声明函数 ‘XWarpPointer’
xwin.c: 在函数 ‘ui_create_bitmap’ 中:
xwin.c:1680: 错误:‘XImage’ 未声明 (在此函数内第一次使用)
xwin.c:1680: 错误:‘image’ 未声明 (在此函数内第一次使用)
xwin.c:1680: 错误:双目运算符 * 操作数无效
xwin.c:1680: 警告:语句不起作用
xwin.c:1681: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:1681: 错误:syntax error before ‘bitmap’
xwin.c:1698: 错误:‘bitmap’ 未声明 (在此函数内第一次使用)
xwin.c:1698: 警告:语句不起作用
xwin.c:1699: 警告:隐式声明函数 ‘XCreateImage’
xwin.c:1699: 错误:‘ZPixmap’ 未声明 (在此函数内第一次使用)
xwin.c:1700: 警告:语句不起作用
xwin.c:1702: 警告:隐式声明函数 ‘XPutImage’
xwin.c: 在函数 ‘ui_paint_bitmap’ 中:
xwin.c:1713: 错误:‘XImage’ 未声明 (在此函数内第一次使用)
xwin.c:1713: 错误:‘image’ 未声明 (在此函数内第一次使用)
xwin.c:1713: 错误:双目运算符 * 操作数无效
xwin.c:1713: 警告:语句不起作用
xwin.c:1730: 错误:‘ZPixmap’ 未声明 (在此函数内第一次使用)
xwin.c:1731: 警告:语句不起作用
xwin.c: 在函数 ‘ui_destroy_bitmap’ 中:
xwin.c:1751: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:1751: 错误:syntax error before ‘bmp’
xwin.c: 在函数 ‘ui_create_glyph’ 中:
xwin.c:1757: 错误:‘XImage’ 未声明 (在此函数内第一次使用)
xwin.c:1757: 错误:‘image’ 未声明 (在此函数内第一次使用)
xwin.c:1757: 错误:双目运算符 * 操作数无效
xwin.c:1757: 警告:语句不起作用
xwin.c:1758: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:1758: 错误:syntax error before ‘bitmap’
xwin.c:1763: 错误:‘bitmap’ 未声明 (在此函数内第一次使用)
xwin.c:1763: 警告:语句不起作用
xwin.c:1767: 错误:‘ZPixmap’ 未声明 (在此函数内第一次使用)
xwin.c:1768: 警告:语句不起作用
xwin.c:1769: 错误:request for member ‘byte_order’ in something not a structure or union
xwin.c:1769: 错误:‘MSBFirst’ 未声明 (在此函数内第一次使用)
xwin.c:1769: 警告:语句不起作用
xwin.c:1770: 错误:request for member ‘bitmap_bit_order’ in something not a structure or union
xwin.c:1770: 警告:语句不起作用
xwin.c:1771: 警告:隐式声明函数 ‘XInitImage’
xwin.c: 在函数 ‘ui_destroy_glyph’ 中:
xwin.c:1782: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:1782: 错误:syntax error before ‘glyph’
xwin.c: 在函数 ‘ui_create_cursor’ 中:
xwin.c:1790: 错误:‘XColor’ 未声明 (在此函数内第一次使用)
xwin.c:1790: 错误:syntax error before ‘bg’
xwin.c:1791: 错误:‘Cursor’ 未声明 (在此函数内第一次使用)
xwin.c:1838: 错误:‘fg’ 未声明 (在此函数内第一次使用)
xwin.c:1838: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1838: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1838: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1838: 警告:语句不起作用
xwin.c:1839: 错误:‘bg’ 未声明 (在此函数内第一次使用)
xwin.c:1839: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1839: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1839: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1839: 警告:语句不起作用
xwin.c:1840: 错误:request for member ‘flags’ in something not a structure or union
xwin.c:1840: 错误:request for member ‘flags’ in something not a structure or union
xwin.c:1840: 错误:‘DoRed’ 未声明 (在此函数内第一次使用)
xwin.c:1840: 错误:‘DoBlue’ 未声明 (在此函数内第一次使用)
xwin.c:1840: 错误:双目运算符 | 操作数无效
xwin.c:1840: 错误:‘DoGreen’ 未声明 (在此函数内第一次使用)
xwin.c:1840: 错误:双目运算符 | 操作数无效
xwin.c:1840: 警告:语句不起作用
xwin.c:1845: 错误:‘xcursor’ 未声明 (在此函数内第一次使用)
xwin.c:1846: 警告:隐式声明函数 ‘XCreatePixmapCursor’
xwin.c:1846: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:1846: 错误:syntax error before ‘cursorglyph’
xwin.c: 在函数 ‘ui_set_cursor’ 中:
xwin.c:1859: 错误:‘Cursor’ 未声明 (在此函数内第一次使用)
xwin.c:1859: 错误:syntax error before ‘cursor’
xwin.c: 在函数 ‘ui_destroy_cursor’ 中:
xwin.c:1866: 警告:隐式声明函数 ‘XFreeCursor’
xwin.c:1866: 错误:‘Cursor’ 未声明 (在此函数内第一次使用)
xwin.c:1866: 错误:syntax error before ‘cursor’
xwin.c: 在函数 ‘ui_create_colourmap’ 中:
xwin.c:1890: 错误:‘XColor’ 未声明 (在此函数内第一次使用)
xwin.c:1890: 错误:syntax error before ‘xentry’
xwin.c:1897: 错误:‘xentry’ 未声明 (在此函数内第一次使用)
xwin.c:1897: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1897: 警告:语句不起作用
xwin.c:1897: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1897: 警告:语句不起作用
xwin.c:1897: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1897: 警告:语句不起作用
xwin.c:1897: 错误:request for member ‘flags’ in something not a structure or union
xwin.c:1897: 错误:‘DoRed’ 未声明 (在此函数内第一次使用)
xwin.c:1897: 错误:‘DoGreen’ 未声明 (在此函数内第一次使用)
xwin.c:1897: 错误:双目运算符 | 操作数无效
xwin.c:1897: 错误:‘DoBlue’ 未声明 (在此函数内第一次使用)
xwin.c:1897: 错误:双目运算符 | 操作数无效
xwin.c:1897: 警告:语句不起作用
xwin.c:1899: 警告:隐式声明函数 ‘XAllocColor’
xwin.c:1909: 错误:‘xc_cache’ 未声明 (在此函数内第一次使用)
xwin.c:1909: 错误:request for member ‘pixel’ in something not a structure or union
xwin.c:1909: 警告:语句不起作用
xwin.c:1910: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1910: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1911: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1911: 警告:语句不起作用
xwin.c:1912: 错误:request for member ‘flags’ in something not a structure or union
xwin.c:1912: 警告:语句不起作用
xwin.c:1913: 警告:隐式声明函数 ‘XQueryColor’
xwin.c:1914: 警告:隐式声明函数 ‘DefaultColormap’
xwin.c:1923: 错误:request for member ‘flags’ in something not a structure or union
xwin.c:1925: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1925: 错误:双目运算符 >> 操作数无效
xwin.c:1926: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1926: 错误:双目运算符 >> 操作数无效
xwin.c:1927: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1927: 错误:双目运算符 >> 操作数无效
xwin.c:1928: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1928: 错误:双目运算符 >> 操作数无效
xwin.c:1929: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1929: 错误:双目运算符 >> 操作数无效
xwin.c:1930: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1930: 错误:双目运算符 >> 操作数无效
xwin.c:1931: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1931: 错误:双目运算符 >> 操作数无效
xwin.c:1932: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1932: 错误:双目运算符 >> 操作数无效
xwin.c:1933: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1933: 错误:双目运算符 >> 操作数无效
xwin.c:1934: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1934: 错误:双目运算符 >> 操作数无效
xwin.c:1935: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1935: 错误:双目运算符 >> 操作数无效
xwin.c:1936: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1936: 错误:双目运算符 >> 操作数无效
xwin.c:1941: 错误:request for member ‘pixel’ in something not a structure or union
xwin.c:1941: 警告:语句不起作用
xwin.c:1945: 错误:request for member ‘pixel’ in something not a structure or union
xwin.c:1945: 警告:语句不起作用
xwin.c:1948: 错误:request for member ‘pixel’ in something not a structure or union
xwin.c:1948: 警告:比较指针和整数
xwin.c:1950: 错误:request for member ‘pixel’ in something not a structure or union
xwin.c:1950: 错误:array subscript is not an integer
xwin.c:1950: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1950: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1950: 警告:语句不起作用
xwin.c:1951: 错误:request for member ‘pixel’ in something not a structure or union
xwin.c:1951: 错误:array subscript is not an integer
xwin.c:1951: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1951: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1951: 警告:语句不起作用
xwin.c:1952: 错误:request for member ‘pixel’ in something not a structure or union
xwin.c:1952: 错误:array subscript is not an integer
xwin.c:1952: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1952: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1952: 警告:语句不起作用
xwin.c:1962: 错误:‘xcolours’ 未声明 (在此函数内第一次使用)
xwin.c:1962: 错误:双目运算符 * 操作数无效
xwin.c:1962: 警告:逗号表达式的左操作数不起作用
xwin.c:1962: 警告:语句不起作用
xwin.c:1963: 错误:‘Colormap’ 未声明 (在此函数内第一次使用)
xwin.c:1963: 错误:syntax error before ‘map’
xwin.c:1965: 错误:syntax error before ‘)’ token
xwin.c:1969: 警告:语句不起作用
xwin.c:1970: 错误:request for member ‘pixel’ in something not a structure or union
xwin.c:1970: 警告:语句不起作用
xwin.c:1971: 错误:request for member ‘red’ in something not a structure or union
xwin.c:1971: 警告:语句不起作用
xwin.c:1971: 错误:request for member ‘green’ in something not a structure or union
xwin.c:1971: 警告:语句不起作用
xwin.c:1971: 错误:request for member ‘blue’ in something not a structure or union
xwin.c:1971: 警告:语句不起作用
xwin.c:1971: 错误:request for member ‘flags’ in something not a structure or union
xwin.c:1971: 错误:双目运算符 | 操作数无效
xwin.c:1971: 错误:双目运算符 | 操作数无效
xwin.c:1971: 警告:语句不起作用
xwin.c:1974: 错误:‘map’ 未声明 (在此函数内第一次使用)
xwin.c:1974: 错误:‘AllocAll’ 未声明 (在此函数内第一次使用)
xwin.c:1974: 警告:语句不起作用
xwin.c:1975: 警告:隐式声明函数 ‘XStoreColors’
xwin.c: 在函数 ‘ui_destroy_colourmap’ 中:
xwin.c:1988: 警告:隐式声明函数 ‘XFreeColormap’
xwin.c:1988: 错误:‘Colormap’ 未声明 (在此函数内第一次使用)
xwin.c:1988: 错误:syntax error before ‘map’
xwin.c: 在函数 ‘ui_set_colourmap’ 中:
xwin.c:2002: 警告:隐式声明函数 ‘XSetWindowColormap’
xwin.c:2002: 错误:‘Colormap’ 未声明 (在此函数内第一次使用)
xwin.c:2002: 错误:syntax error before ‘map’
xwin.c: 在函数 ‘ui_set_clip’ 中:
xwin.c:2008: 错误:‘XRectangle’ 未声明 (在此函数内第一次使用)
xwin.c:2008: 错误:syntax error before ‘rect’
xwin.c:2010: 错误:‘rect’ 未声明 (在此函数内第一次使用)
xwin.c:2010: 错误:request for member ‘x’ in something not a structure or union
xwin.c:2010: 警告:语句不起作用
xwin.c:2011: 错误:request for member ‘y’ in something not a structure or union
xwin.c:2011: 警告:语句不起作用
xwin.c:2012: 错误:request for member ‘width’ in something not a structure or union
xwin.c:2012: 警告:语句不起作用
xwin.c:2013: 错误:request for member ‘height’ in something not a structure or union
xwin.c:2013: 警告:语句不起作用
xwin.c:2014: 警告:隐式声明函数 ‘XSetClipRectangles’
xwin.c:2014: 错误:‘YXBanded’ 未声明 (在此函数内第一次使用)
xwin.c: 在函数 ‘ui_reset_clip’ 中:
xwin.c:2020: 错误:‘XRectangle’ 未声明 (在此函数内第一次使用)
xwin.c:2020: 错误:syntax error before ‘rect’
xwin.c:2022: 错误:‘rect’ 未声明 (在此函数内第一次使用)
xwin.c:2022: 错误:request for member ‘x’ in something not a structure or union
xwin.c:2022: 警告:语句不起作用
xwin.c:2023: 错误:request for member ‘y’ in something not a structure or union
xwin.c:2023: 警告:语句不起作用
xwin.c:2024: 错误:request for member ‘width’ in something not a structure or union
xwin.c:2024: 警告:语句不起作用
xwin.c:2025: 错误:request for member ‘height’ in something not a structure or union
xwin.c:2025: 警告:语句不起作用
xwin.c:2026: 错误:‘YXBanded’ 未声明 (在此函数内第一次使用)
xwin.c: 在函数 ‘ui_bell’ 中:
xwin.c:2032: 警告:隐式声明函数 ‘XBell’
xwin.c: 在函数 ‘ui_destblt’ 中:
xwin.c:2039: 警告:隐式声明函数 ‘XSetFunction’
xwin.c: 在函数 ‘ui_patblt’ 中:
xwin.c:2058: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:2058: 错误:syntax error before ‘fill’
xwin.c:2071: 错误:‘fill’ 未声明 (在此函数内第一次使用)
xwin.c:2071: 错误:syntax error before ‘ui_create_glyph’
xwin.c:2074: 警告:隐式声明函数 ‘XSetBackground’
xwin.c:2075: 警告:隐式声明函数 ‘XSetFillStyle’
xwin.c:2075: 错误:‘FillOpaqueStippled’ 未声明 (在此函数内第一次使用)
xwin.c:2076: 警告:隐式声明函数 ‘XSetStipple’
xwin.c:2077: 警告:隐式声明函数 ‘XSetTSOrigin’
xwin.c:2079: 错误:‘FillSolid’ 未声明 (在此函数内第一次使用)
xwin.c:2087: 错误:syntax error before ‘ui_create_glyph’
xwin.c: 在函数 ‘ui_memblt’ 中:
xwin.c:2143: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:2143: 错误:syntax error before ‘src’
xwin.c:2145: 错误:syntax error before ‘src’
xwin.c: 在函数 ‘ui_line’ 中:
xwin.c:2189: 警告:隐式声明函数 ‘XDrawLine’
xwin.c: 在函数 ‘ui_polygon’ 中:
xwin.c:2211: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:2211: 错误:syntax error before ‘fill’
xwin.c:2218: 警告:隐式声明函数 ‘XSetFillRule’
xwin.c:2218: 错误:‘EvenOddRule’ 未声明 (在此函数内第一次使用)
xwin.c:2221: 错误:‘WindingRule’ 未声明 (在此函数内第一次使用)
xwin.c:2236: 警告:隐式声明函数 ‘XFillPolygon’
xwin.c:2236: 错误:‘XPoint’ 未声明 (在此函数内第一次使用)
xwin.c:2236: 错误:syntax error before ‘)’ token
xwin.c:2236: 错误:syntax error before ‘)’ token
xwin.c:2240: 错误:‘fill’ 未声明 (在此函数内第一次使用)
xwin.c:2240: 错误:syntax error before ‘ui_create_glyph’
xwin.c:2244: 错误:‘FillOpaqueStippled’ 未声明 (在此函数内第一次使用)
xwin.c:2247: 错误:syntax error before ‘)’ token
xwin.c:2247: 错误:syntax error before ‘)’ token
xwin.c:2248: 错误:‘FillSolid’ 未声明 (在此函数内第一次使用)
xwin.c:2256: 错误:syntax error before ‘ui_create_glyph’
xwin.c:2262: 错误:syntax error before ‘)’ token
xwin.c:2262: 错误:syntax error before ‘)’ token
xwin.c: 在函数 ‘ui_polyline’ 中:
xwin.c:2283: 警告:隐式声明函数 ‘XDrawLines’
xwin.c:2283: 错误:‘XPoint’ 未声明 (在此函数内第一次使用)
xwin.c:2283: 错误:syntax error before ‘)’ token
xwin.c:2285: 错误:syntax error before ‘)’ token
xwin.c: 在函数 ‘ui_ellipse’ 中:
xwin.c:2297: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:2297: 错误:syntax error before ‘fill’
xwin.c:2310: 警告:隐式声明函数 ‘XDrawArc’
xwin.c:2310: 警告:隐式声明函数 ‘XFillArc’
xwin.c:2314: 错误:‘fill’ 未声明 (在此函数内第一次使用)
xwin.c:2314: 错误:syntax error before ‘ui_create_glyph’
xwin.c:2318: 错误:‘FillOpaqueStippled’ 未声明 (在此函数内第一次使用)
xwin.c:2322: 错误:‘FillSolid’ 未声明 (在此函数内第一次使用)
xwin.c:2330: 错误:syntax error before ‘ui_create_glyph’
xwin.c: 在函数 ‘ui_draw_glyph’ 中:
xwin.c:2360: 错误:‘FillStippled’ 未声明 (在此函数内第一次使用)
xwin.c:2360: 错误:‘FillOpaqueStippled’ 未声明 (在此函数内第一次使用)
xwin.c:2361: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:2361: 错误:syntax error before ‘glyph’
xwin.c:2366: 错误:‘FillSolid’ 未声明 (在此函数内第一次使用)
xwin.c: 在函数 ‘ui_draw_text’ 中:
xwin.c:2434: 错误:‘FillStippled’ 未声明 (在此函数内第一次使用)
xwin.c:2468: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:2468: 错误:syntax error before ‘glyph’
xwin.c:2481: 错误:syntax error before ‘glyph’
xwin.c:2487: 错误:‘FillSolid’ 未声明 (在此函数内第一次使用)
xwin.c: 在函数 ‘ui_desktop_save’ 中:
xwin.c:2503: 错误:‘Pixmap’ 未声明 (在此函数内第一次使用)
xwin.c:2503: 错误:syntax error before ‘pix’
xwin.c:2504: 错误:‘XImage’ 未声明 (在此函数内第一次使用)
xwin.c:2504: 错误:‘image’ 未声明 (在此函数内第一次使用)
xwin.c:2504: 错误:双目运算符 * 操作数无效
xwin.c:2504: 警告:语句不起作用
xwin.c:2508: 警告:隐式声明函数 ‘XGetImage’
xwin.c:2508: 错误:‘AllPlanes’ 未声明 (在此函数内第一次使用)
xwin.c:2508: 错误:‘ZPixmap’ 未声明 (在此函数内第一次使用)
xwin.c:2508: 警告:语句不起作用
xwin.c:2512: 错误:‘pix’ 未声明 (在此函数内第一次使用)
xwin.c:2512: 警告:语句不起作用
xwin.c:2514: 警告:语句不起作用
xwin.c:2519: 错误:request for member ‘bytes_per_line’ in something not a structure or union
xwin.c:2519: 错误:request for member ‘data’ in something not a structure or union
xwin.c:2519: 警告:传递参数 4 (属于 ‘cache_put_desktop’)时将指针赋给整数,未作类型转换
xwin.c:2519: 警告:passing argument 6 of ‘cache_put_desktop’ from incompatible pointer type
xwin.c:2521: 警告:隐式声明函数 ‘XDestroyImage’
xwin.c: 在函数 ‘ui_desktop_restore’ 中:
xwin.c:2527: 错误:‘XImage’ 未声明 (在此函数内第一次使用)
xwin.c:2527: 错误:‘image’ 未声明 (在此函数内第一次使用)
xwin.c:2527: 错误:双目运算符 * 操作数无效
xwin.c:2527: 警告:语句不起作用
xwin.c:2535: 错误:‘ZPixmap’ 未声明 (在此函数内第一次使用)
xwin.c:2536: 警告:隐式声明函数 ‘BitmapPad’
xwin.c:2536: 警告:语句不起作用
make: *** [xwin.o] 错误 1


第二个我抄其中一段出错码,也是make时的。这个软件是wxdfast-0.2.1 一个下载的软件。
ng()'
build-gcc//libwxmd5.a(wxMD5.o): In function `wxMD5::wxMD5(wxString const&)':wxMD5.cpp:(.text+0x40d): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x415): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x42c): undefined reference to `wxArrayString::Init(bool)'
wxMD5.cpp:(.text+0x431): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x439): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x444): undefined reference to `wxFileName::Clear()'
wxMD5.cpp:(.text+0x45b): undefined reference to `wxStringBase::operator=(wxStringBase const&)'
wxMD5.cpp:(.text+0x4aa): undefined reference to `wxArrayString::~wxArrayString()'
wxMD5.cpp:(.text+0x576): undefined reference to `wxArrayString::~wxArrayString()'
build-gcc//libwxmd5.a(wxMD5.o): In function `wxMD5::wxMD5(wxFileName const&)':
wxMD5.cpp:(.text+0x5ad): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x5b5): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x5cc): undefined reference to `wxArrayString::Init(bool)'
wxMD5.cpp:(.text+0x5d1): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x5d9): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x5e4): undefined reference to `wxFileName::Clear()'
wxMD5.cpp:(.text+0x5f8): undefined reference to `wxFileName::Assign(wxFileName const&)'
wxMD5.cpp:(.text+0x64a): undefined reference to `wxArrayString::~wxArrayString()'
wxMD5.cpp:(.text+0x716): undefined reference to `wxArrayString::~wxArrayString()'
build-gcc//libwxmd5.a(wxMD5.o): In function `wxMD5::wxMD5(wxFileName const&)':
wxMD5.cpp:(.text+0x74d): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x755): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x76c): undefined reference to `wxArrayString::Init(bool)'
wxMD5.cpp:(.text+0x771): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x779): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x784): undefined reference to `wxFileName::Clear()'
wxMD5.cpp:(.text+0x798): undefined reference to `wxFileName::Assign(wxFileName const&)'
wxMD5.cpp:(.text+0x7ea): undefined reference to `wxArrayString::~wxArrayString()'
wxMD5.cpp:(.text+0x8b6): undefined reference to `wxArrayString::~wxArrayString()'
build-gcc//libwxmd5.a(wxMD5.o): In function `wxMD5::~wxMD5()':
wxMD5.cpp:(.text+0x92d): undefined reference to `wxArrayString::~wxArrayString()'
build-gcc//libwxmd5.a(wxMD5.o): In function `wxMD5::~wxMD5()':
wxMD5.cpp:(.text+0xa6d): undefined reference to `wxArrayString::~wxArrayString()'
build-gcc//libwxmd5.a(wxMD5.o): In function `wxMD5::~wxMD5()':
wxMD5.cpp:(.text+0xbad): undefined reference to `wxArrayString::~wxArrayString()'
build-gcc//libwxmd5.a(wxMD5.o): In function `wxMD5::SetText(wxString const&)':
wxMD5.cpp:(.text+0xcb7): undefined reference to `wxStringBase::operator=(wxStringBase const&)'
build-gcc//libwxmd5.a(wxMD5.o): In function `wxMD5::SetFile(wxFileName const&)':
wxMD5.cpp:(.text+0xce7): undefined reference to `wxFileName::Assign(wxFileName const&)'
build-gcc//libwxmd5.a(wxMD5.o): In function `wxMD5::GetDigest()':
wxMD5.cpp:(.text+0xd33): undefined reference to `wxStringBase::npos'
wxMD5.cpp:(.text+0xd3d): undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'
wxMD5.cpp:(.text+0xd4f): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0xdc8): undefined reference to `wxFileName::FileExists() const'
wxMD5.cpp:(.text+0xdd4): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0xdde): undefined reference to `wxStringBase::npos'
wxMD5.cpp:(.text+0xdeb): undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'
wxMD5.cpp:(.text+0xe12): undefined reference to `wxFileName::GetFullPath(wxPathFormat) const'
wxMD5.cpp:(.text+0xe26): undefined reference to `wxFile::wxFile(char const*, wxFile::OpenMode)'
wxMD5.cpp:(.text+0xe5c): undefined reference to `wxFile::Read(void*, unsigned int)'
wxMD5.cpp:(.text+0xe8c): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0xeb3): undefined reference to `wxString::Format(char const*, ...)'
wxMD5.cpp:(.text+0xecb): undefined reference to `wxStringBase::ConcatSelf(unsigned int, char const*, unsigned int)'
wxMD5.cpp:(.text+0xf23): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0xf4a): undefined reference to `wxFile::Close()'
wxMD5.cpp:(.text+0xfc5): undefined reference to `wxStringBase::npos'
wxMD5.cpp:(.text+0xfcf): undefined reference to `wxStringBase::InitWith(char const*, unsigned int, unsigned int)'
wxMD5.cpp:(.text+0x1081): undefined reference to `wxEmptyString'
wxMD5.cpp:(.text+0x10a4): undefined reference to `wxString::Format(char const*, ...)'
wxMD5.cpp:(.text+0x10bc): undefined reference to `wxStringBase::ConcatSelf(unsigned int, char const*, unsigned int)'
wxMD5.cpp:(.text+0x1175): undefined reference to `wxFile::Close()'
collect2: ld 返回 1
make: *** [wxdfast] 错误 1
头像
nobrain
帖子: 808
注册时间: 2005-08-25 13:58
来自: ustc
联系:

#6

帖子 nobrain » 2006-05-15 19:10

装软件顺序
./configure
make
make check
sudo make install
make clean 可选,清除编译生成的obj等(好像是)

一般configure里的错误信息都是说缺什么东西,反正缺什么补什么。一般make不会出错,要是出错了,按照错误提示,自己改源代码,不过这种错误我只遇到过一次。
爱喝真猪奶茶的夜鸣猪
xiao2004
帖子: 56
注册时间: 2006-05-15 3:22

#7

帖子 xiao2004 » 2006-05-15 19:34

谢了,楼上。
我./configure通过了的,然后再进行make的。。。
不可能两个软件都要自己改源码吧,那会急死去。
回复