---
title: "object file not found 错误"
author: "s929498110"
date: "2011-10-27T15:32:15Z"
tags: []
categories: ["编程语言"]
slug: "object-file-not-found"
draft: false
lastmod: "2011-10-27T15:32:15Z"
id: 1218660
url: "https://sulin.iteye.com/blog/1218660"
---

![](/images/smiles/icon_twisted.gif)

 

不得不说汇编编译环境太恶略了！

 

正常的一个程序链接时候提示错误：

写道

Object Modules \[.obj]: exercise2\_1.obj  
Run File \[exercise2\_1.exe]: "exercise2\_1.exe"  
List File \[nul.map]: NUL  
Libraries \[.lib]:  
Definitions File \[nul.def]:  
LINK : fatal error L1093: exercise2\_1.obj : object file not found

 

反复baidu、google始终得不到答案， 最终突然鼓捣出来了问题所在。。。

 

原来是文件名过长，好像汇编程序名长度不得超出8位（又好像是6位）。 真是难为Java程序猿了！

 

动辄两位数的类名命名习惯到汇编上真是坑爹了！！！

 

更坑爹的是， 编译程序的提示信息少得可怜！！！