LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-08-2007, 04:06 AM   #1
varun_shrivastava
Member
 
Registered: Jun 2006
Distribution: Ubuntu 7.04 Feisty
Posts: 79

Rep: Reputation: 15
An unwanted link getting generated automatically: building .deb package


hi

i m trying to pack a module in scratchbox
currently i m not cross compiling it.

When i run dpkg-buildpackage -rfakeroot, the package builds successfully
but when i type
dpkg --contents ../libamrnb0-dev_0.0.1-1_i386.deb

following contents are displayed

Code:
drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./
drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./usr/
drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./usr/local/
drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./usr/local/lib/
-rw-r--r-- root/root    231650 2007-10-05 15:18:12 ./usr/local/lib/libamrnb.a
-rwxr-xr-x root/root       801 2007-10-05 15:18:11 ./usr/local/lib/libamrnb.la
drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./usr/local/include/
drwxr-xr-x root/root         0 2007-10-05 15:18:12 ./usr/local/include/amrnb/
-rw-r--r-- root/root       978 2007-10-05 15:18:11 ./usr/local/include/amrnb/interf_enc.h
-rw-r--r-- root/root       472 2007-10-05 15:18:11 ./usr/local/include/amrnb/typedef.h
-rw-r--r-- root/root    129904 2007-10-05 15:18:11 ./usr/local/include/amrnb/rom_dec.h
-rw-r--r-- root/root     23541 2007-10-05 15:18:11 ./usr/local/include/amrnb/interf_rom.h
-rw-r--r-- root/root      1423 2007-10-05 15:18:11 ./usr/local/include/amrnb/sp_enc.h
-rw-r--r-- root/root    208844 2007-10-05 15:18:11 ./usr/local/include/amrnb/rom_enc.h
-rw-r--r-- root/root      1576 2007-10-05 15:18:11 ./usr/local/include/amrnb/sp_dec.h
-rw-r--r-- root/root       870 2007-10-05 15:18:11 ./usr/local/include/amrnb/interf_dec.h
lrwxrwxrwx root/root         0 2007-10-05 15:18:12 ./usr/local/lib/libamrnb.so -> libamrnb.so.0.0.0
lrwxrwxrwx root/root         0 2007-10-05 15:18:12 ./libamrnb.so.0.0.0 -> /libamrnb.so.0
you can see an unwanted link (last one) getting generated
i checked my rules file but found every thing ok.

i have used "dh_link -a libamrnb.so libamrnb.so.0.0.0" and dh_link -a libamrnb.so.0 libamrnb.so.0.0.0 in order to generate the links for libamrnb-dev and libamrnb resp.

kindly help
varun
 
  


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
Building my own .deb package (help on postinst config) odiseo77 Debian 3 01-28-2007 10:49 AM
Unwanted link Hugh Jass Linux - Software 4 10-25-2006 06:22 PM
Unwanted link mat_uk111 Suse/Novell 1 05-18-2006 09:04 PM
How to use ld to link two .o gcc generated files? thomasmathew Programming 1 04-07-2006 01:39 AM
Please, Remove the automatically generated line in the Signatures john_walsh54 LQ Suggestions & Feedback 16 06-05-2005 12:34 PM


All times are GMT -5. The time now is 12:43 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration