LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-19-2008, 03:25 PM   #1
tokie
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
compiling error: can't map file errno=22


Hi,

I am trying to build a Qt4 application (qBittorrent) on OSX through command line, and get the following after a few minutes of it compiling:

ld: in /System/Library/, can't map file, errno=22
collect2: ld returned 1 exit status
make[1]: *** [qbittorrent.app/Contents/MacOS/qbittorrent] Error 1
make[1]: Leaving directory `/Users/tokie/Downloads/qbittorrent-1.1.2/src'
make: *** [sub-src-make_default] Error 2

The program itself needs some frameworks in the /System/Library/Frameworks folder (ApplicationServices, Carbon, AppKit) which are OSX-specific, but the general error itself I think is that it is trying to access a folder which it thinks is a file. Anyone have any idea about how I could get this problem fixed?
 
Old 08-19-2008, 05:49 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,991

Rep: Reputation: 76
Errno 22 is "invalid argument", at least on the x86 architecture, so passing a directory when it expects a file would seem to be a likely cause.

Does qBittorrent have a configure program? If so, the log-files for that might indicate if you have missing libraries or some similar problem. Otherwise, the problem is likely to be due to the ld command-line.

If you re-run make, then you should quickly get a shorter output which tells you, in particular, the ld command which is failing, and this may help you to track down the problem.

Yours,

—Robert J Lee
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
errno 5) input/output error c j alex Linux - Newbie 7 01-14-2013 05:33 AM
ld: errno: TLS definition error maverick_pol Slackware 2 07-30-2007 06:15 AM
Undefined errno reference while compiling loadable module kesher Linux - Software 3 04-10-2006 02:22 AM
SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db? singying304 Linux - Networking 4 02-28-2005 07:49 AM
DVD Playback error: Unable to find map file (Slackware w/ KDE) shaun85 Linux - Newbie 1 10-16-2004 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration